BSD 4_3_Reno release
[unix-history] / usr / src / sbin / routed / query / Makefile
index b3e0769..03746d3 100644 (file)
@@ -1,34 +1,7 @@
-# Makefile %G%
-ALL=   rip.h routed.c query.c trace.c
-CFLAGS=        -O
-DESTDIR=
-LDFLAGS=
+#      @(#)Makefile    5.6 (Berkeley) 5/11/90
 
 
-.c.o:
-       ${CC} -S ${CFLAGS} $*.c
-       sed -f ../asm.sed $*.s | ${AS} -o $*.o
-       rm -f $*.s
+PROG=  query
+NOMAN= noman
 
 
-all:   routed
-
-routed: routed.o af.o
-       ${CC} -o routed ${LDFLAGS} routed.o af.o -ljobs
-
-routed.o query.o: rip.h
-routed.o af.o: router.h
-
-# test programs and utilities
-query: query.o
-       ${CC} -o query ${LDFLAGS} query.o
-
-trace: trace.o
-       ${CC} -o trace ${LDFLAGS} trace.o
-
-install: routed
-       install -s routed ${DESTDIR}/etc
-
-lint:
-       lint -hbxn routed.c af.c
-
-clean:
-       rm -f routed *.o core a.out t.c query linterrs trace typescript errs
+.include "../../Makefile.inc"
+.include <bsd.prog.mk>