use RS/RE combo
[unix-history] / usr / src / sbin / routed / Makefile
CommitLineData
5ff67f98
DF
1#
2# Copyright (c) 1983 Regents of the University of California.
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
66da2b0f 6# @(#)Makefile 5.3 (Berkeley) %G%
ce5e9df4 7#
9e3338b9
SL
8ALL= routed
9OBJS= af.o if.o input.o main.o output.o startup.o tables.o timer.o \
2198ed48 10 trace.o inet.o
7eb13f75
MK
11CFLAGS=
12C2= /lib/c2
848fd4d5 13INLINE= /sys/machine/inline/inline
9e3338b9
SL
14DESTDIR=
15LDFLAGS=
16
9e3338b9
SL
17all: ${ALL}
18
19routed: ${OBJS}
ce5e9df4 20 ${CC} -o routed ${LDFLAGS} ${OBJS}
9e3338b9 21
9e3338b9
SL
22install: routed
23 install -s routed ${DESTDIR}/etc
24
7eb13f75
MK
25# The following can be deleted where not appropriate to use the kernel's
26# inline code expansions.
27.c.o:
28 ${CC} -S ${CFLAGS} $*.c
848fd4d5 29 ${C2} $*.s | ${INLINE} | ${AS} -o $*.o
7eb13f75
MK
30 rm -f $*.s
31
9e3338b9
SL
32clean:
33 rm -f routed *.o core a.out t.c linterrs typescript errs
30eefcd8 34
66da2b0f
KB
35depend:
36
30eefcd8
MK
37${OBJS}: defs.h af.h defs.h interface.h table.h trace.h \
38 /usr/include/protocols/routed.h