1# @(#)Makefile 4.7 (Berkeley) 12/20/84 2# 3ALL= routed 4OBJS= af.o if.o input.o main.o output.o startup.o tables.o timer.o \ 5 trace.o inet.o 6CFLAGS= 7C2= /lib/c2 8INLINE= /sys/machine/inline/inline 9DESTDIR= 10LDFLAGS= 11 12all: ${ALL} 13 14routed: ${OBJS} 15 ${CC} -o routed ${LDFLAGS} ${OBJS} 16 17install: routed 18 install -s routed ${DESTDIR}/etc 19 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 | ${INLINE} | ${AS} -o $*.o 25 rm -f $*.s 26 27clean: 28 rm -f routed *.o core a.out t.c linterrs typescript errs 29