don't send net route to subnet gw's unless on subnet 0;
[unix-history] / usr / src / sbin / routed / query / Makefile
index 4d7a29b..37b9abd 100644 (file)
@@ -1,32 +1,26 @@
-# Makefile %G%
-ALL=   rip.h routed.c query.c trace.c
+#
+# Copyright (c) 1983 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      @(#)Makefile    5.1 (Berkeley) %G%
+#
+ALL=   ../protocol.h query.c trace.c
 CFLAGS=        -O
 CFLAGS=        -O
+DESTDIR=
 LDFLAGS=
 
 LDFLAGS=
 
-.c.o:
-       ${CC} -S ${CFLAGS} $*.c
-       sed -f ../asm.sed $*.s | ${AS} -o $*.o
-       rm -f $*.s
-
-all:   routed query trace
-
-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
+all:   query trace
 
 
+# test programs and utilities
 query: query.o
        ${CC} -o query ${LDFLAGS} query.o
 
 trace: trace.o
        ${CC} -o trace ${LDFLAGS} trace.o
 
 query: query.o
        ${CC} -o query ${LDFLAGS} query.o
 
 trace: trace.o
        ${CC} -o trace ${LDFLAGS} trace.o
 
-install: routed trace query
-       install -s routed /etc
-
-lint:
-       lint -hbxn routed.c af.c
+install:
+       @echo Nothing to install
 
 clean:
 
 clean:
-       rm -f routed *.o core a.out t.c query linterrs trace typescript errs
+       rm -f *.o core a.out t.c query linterrs trace typescript errs