xref: /original-bsd/sbin/routed/query/Makefile (revision 648cab2a)
1#
2# Copyright (c) 1987 Regents of the University of California.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms are permitted
6# provided that the above copyright notice and this paragraph are
7# duplicated in all such forms and that any documentation,
8# advertising materials, and other materials related to such
9# distribution and use acknowledge that the software was developed
10# by the University of California, Berkeley.  The name of the
11# University may not be used to endorse or promote products derived
12# from this software without specific prior written permission.
13# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16#
17#	@(#)Makefile	5.4 (Berkeley) 06/18/88
18#
19CFLAGS=	-O
20SRCS=	query.c trace.c
21
22all: query trace
23
24# test programs and utilities
25query:
26	${CC} ${CFLAGS} -o $@ query.c
27
28trace:
29	${CC} ${CFLAGS} -o $@ trace.c
30
31install: FRC
32
33clean: FRC
34	rm -f core query trace tags
35
36depend: FRC
37	mkdep -p ${SRCS}
38
39tags: FRC
40	ctags ${SRCS}
41
42FRC:
43
44# DO NOT DELETE THIS LINE -- mkdep uses it.
45# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
46
47query: query.c /usr/include/sys/param.h /usr/include/sys/types.h
48query: /usr/include/signal.h /usr/include/machine/trap.h
49query: /usr/include/machine/machparam.h /usr/include/machine/endian.h
50query: /usr/include/sys/protosw.h /usr/include/sys/socket.h
51query: /usr/include/sys/time.h /usr/include/time.h /usr/include/netinet/in.h
52query: /usr/include/errno.h /usr/include/stdio.h /usr/include/netdb.h
53query: /usr/include/protocols/routed.h
54trace: trace.c /usr/include/sys/param.h /usr/include/sys/types.h
55trace: /usr/include/signal.h /usr/include/machine/trap.h
56trace: /usr/include/machine/machparam.h /usr/include/machine/endian.h
57trace: /usr/include/sys/protosw.h /usr/include/sys/socket.h
58trace: /usr/include/netinet/in.h /usr/include/errno.h /usr/include/stdio.h
59trace: /usr/include/netdb.h /usr/include/protocols/routed.h
60
61# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
62