Fix mbuf handling for unsupported operations
[unix-history] / usr / src / sbin / routed / Makefile
CommitLineData
7eb13f75 1# @(#)Makefile 4.6 (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
8ASMSCRIPT= /sys/machine/asm.sed
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
24 ${C2} $*.s | sed -f ${ASMSCRIPT} | ${AS} -o $*.o
25 rm -f $*.s
26
9e3338b9
SL
27clean:
28 rm -f routed *.o core a.out t.c linterrs typescript errs