date and time created 82/10/06 10:28:44 by sam
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Thu, 7 Oct 1982 02:28:44 +0000 (18:28 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Thu, 7 Oct 1982 02:28:44 +0000 (18:28 -0800)
SCCS-vsn: sbin/routed/query/Makefile 4.1

usr/src/sbin/routed/query/Makefile [new file with mode: 0644]

diff --git a/usr/src/sbin/routed/query/Makefile b/usr/src/sbin/routed/query/Makefile
new file mode 100644 (file)
index 0000000..f3aa142
--- /dev/null
@@ -0,0 +1,39 @@
+# Makefile %G%
+ALL=   rip.h routed.c query.c trace.c
+CFLAGS=        -O
+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: rip.h router.h
+af.o: router.h
+
+query: query.o raddr.o
+       ${CC} -o query ${LDFLAGS} query.o raddr.o
+
+query.o: rip.h
+raddr.o: ../raddr.c
+       ${CC} -S ${CFLAGS} ../raddr.c
+       sed -f ../asm.sed raddr.s | ${AS} -o raddr.o
+       rm -f raddr.s
+
+trace: trace.o
+       ${CC} -o trace ${LDFLAGS} trace.o
+
+install: ${ALL}
+       install -s routed /etc
+       install -s route /etc
+
+lint:
+       lint -hbxn routed.c af.c
+
+clean:
+       rm -f routed *.o core a.out t.c query linterrs trace typescript errs