Add copyright
[unix-history] / usr / src / sbin / routed / Makefile
CommitLineData
848fd4d5 1# @(#)Makefile 4.7 (Berkeley) %G%
ce5e9df4 2#
9e3338b9
SL
3ALL= routed
4OBJS= af.o if.o input.o main.o output.o startup.o tables.o timer.o \
2198ed48 5 trace.o inet.o
7eb13f75
MK
6CFLAGS=
7C2= /lib/c2
848fd4d5 8INLINE= /sys/machine/inline/inline
9e3338b9
SL
9DESTDIR=
10LDFLAGS=
11
9e3338b9
SL
12all: ${ALL}
13
14routed: ${OBJS}
ce5e9df4 15 ${CC} -o routed ${LDFLAGS} ${OBJS}
9e3338b9 16
9e3338b9
SL
17install: routed
18 install -s routed ${DESTDIR}/etc
19
7eb13f75
MK
20# The following can be deleted where not appropriate to use the kernel's
21# inline code expansions.
22.c.o:
23 ${CC} -S ${CFLAGS} $*.c
848fd4d5 24 ${C2} $*.s | ${INLINE} | ${AS} -o $*.o
7eb13f75
MK
25 rm -f $*.s
26
9e3338b9
SL
27clean:
28 rm -f routed *.o core a.out t.c linterrs typescript errs