|
|
1.1 root 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 this notice is preserved and that due credit is given
7: # to the University of California at Berkeley. The name of the University
8: # may not be used to endorse or promote products derived from this
9: # software without specific prior written permission. This software
10: # is provided ``as is'' without express or implied warranty.
11: #
12: # @(#)Makefile 5.16 (Berkeley) 2/20/88
13: #
14: CFLAGS= -O
15: RES=
16: LIBC= /lib/libc.a
17: LIBS= -ll ${RES}
18: CSRCS= main.c getinfo.c debug.c send.c skip.c list.c subr.c
19: SRCS= ${CSRCS} commands.c
20: OBJS= main.o getinfo.o debug.o send.o skip.o list.o subr.o commands.o
21:
22: .SUFFIXES: .1 .0
23:
24: .1.0:
25: ${DESTDIR}/usr/man/manroff $*.1 > $*.0
26:
27: nslookup: ${OBJS} ${LIBC}
28: ${CC} -o $@ ${OBJS} ${LIBS}
29:
30: clean: FRC
31: rm -f ${OBJS} core nslookup commands.c nslookup.0 lex.yy.c lex.yy.o
32:
33: depend: ${SRCS} FRC
34: mkdep ${CFLAGS} ${SRCS}
35:
36: install: nslookup.0 FRC
37: install -s -o bin -g bin -m 755 nslookup ${DESTDIR}/usr/local/nslookup
38: install -c -o bin -g bin -m 444 nslookup.help ${DESTDIR}/usr/local/nslookup.help
39: install -c -o bin -g bin -m 444 nslookup.0 ${DESTDIR}/usr/local/man/cat1/nslookup.0
40:
41: lint: ${SRCS} FRC
42: lint ${CFLAGS} ${SRCS}
43:
44: tags: ${CSRCS} FRC
45: ctags ${CSRCS}
46:
47: FRC:
48:
49: # DO NOT DELETE THIS LINE -- mkdep uses it.
50: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
51:
52: main.o: main.c /usr/include/stdio.h /usr/include/strings.h
53: main.o: /usr/include/sys/param.h /usr/include/sys/types.h /usr/include/signal.h
54: main.o: /usr/include/machine/trap.h /usr/include/netdb.h
55: main.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
56: main.o: /usr/include/arpa/nameser.h /usr/include/resolv.h /usr/include/signal.h
57: main.o: /usr/include/setjmp.h res.h
58: getinfo.o: getinfo.c /usr/include/sys/types.h /usr/include/sys/socket.h
59: getinfo.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/ctype.h
60: getinfo.o: /usr/include/arpa/nameser.h /usr/include/resolv.h res.h
61: debug.o: debug.c /usr/include/sys/types.h /usr/include/netinet/in.h
62: debug.o: /usr/include/stdio.h /usr/include/arpa/nameser.h /usr/include/resolv.h
63: debug.o: res.h
64: send.o: send.c /usr/include/sys/types.h /usr/include/sys/time.h
65: send.o: /usr/include/time.h /usr/include/sys/socket.h /usr/include/netinet/in.h
66: send.o: /usr/include/stdio.h /usr/include/arpa/nameser.h /usr/include/resolv.h
67: send.o: res.h
68: skip.o: skip.c /usr/include/sys/types.h /usr/include/netinet/in.h
69: skip.o: /usr/include/stdio.h /usr/include/arpa/nameser.h
70: list.o: list.c /usr/include/sys/types.h /usr/include/sys/socket.h
71: list.o: /usr/include/netinet/in.h /usr/include/netdb.h /usr/include/stdio.h
72: list.o: /usr/include/strings.h /usr/include/ctype.h /usr/include/arpa/nameser.h
73: list.o: /usr/include/resolv.h res.h
74: subr.o: subr.c /usr/include/stdio.h /usr/include/strings.h
75: subr.o: /usr/include/sys/types.h /usr/include/netdb.h /usr/include/sys/socket.h
76: subr.o: /usr/include/netinet/in.h /usr/include/arpa/nameser.h
77: subr.o: /usr/include/signal.h /usr/include/machine/trap.h /usr/include/setjmp.h
78: subr.o: res.h
79: commands.o: commands.c /usr/include/stdio.h res.h
80:
81: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.