|
|
1.1 root 1: #
2: # Copyright (c) 1988 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: # @(#)Make.resolv 5.2 (Berkeley) 7/9/88
18: #
19: VPATH= named
20: SRCS= herror.c res_comp.c res_debug.c res_init.c res_mkquery.c res_send.c \
21: gethostnamadr.c sethostent.c res_query.c
22: OBJS= herror.o res_comp.o res_debug.o res_init.o res_mkquery.o res_send.o \
23: gethostnamadr.o sethostent.o res_query.o
24: CFLAGS= -O -DDEBUG
25:
26: .c.o:
27: ${CC} ${CFLAGS} -c $*.c
28: -ld -x -r $*.o
29: mv a.out $*.o
30:
31: all: clean libresolv.a FRC
32:
33: libresolv.a: ${OBJS} FRC
34: ar cru libresolv.a ${OBJS}
35: rm -f *.o errs core named/gethostnamadr.o named/sethostent.o
36:
37: install: FRC
38: install -o bin -g bin -m 644 libresolv.a ${DESTDIR}/usr/lib
39: ranlib ${DESTDIR}/usr/lib/libresolv.a
40:
41: clean: FRC
42: rm -f *.o errs core libresolv.a named/gethostnamadr.o \
43: named/sethostent.o
44:
45: depend: ${SRCS} FRC
46: mkdep -f Make.resolv ${CFLAGS} ${SRCS}
47:
48: FRC:
49:
50: # DO NOT DELETE THIS LINE -- mkdep uses it.
51: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
52:
53: herror.o: herror.c /usr/include/sys/types.h /usr/include/sys/uio.h
54: res_comp.o: res_comp.c /usr/include/sys/types.h /usr/include/stdio.h
55: res_comp.o: /usr/include/arpa/nameser.h
56: res_debug.o: res_debug.c /usr/include/sys/types.h /usr/include/netinet/in.h
57: res_debug.o: /usr/include/stdio.h /usr/include/arpa/nameser.h
58: res_init.o: res_init.c /usr/include/sys/types.h /usr/include/sys/socket.h
59: res_init.o: /usr/include/netinet/in.h /usr/include/stdio.h
60: res_init.o: /usr/include/arpa/nameser.h /usr/include/resolv.h
61: res_mkquery.o: res_mkquery.c /usr/include/stdio.h /usr/include/sys/types.h
62: res_mkquery.o: /usr/include/netinet/in.h /usr/include/arpa/nameser.h
63: res_mkquery.o: /usr/include/resolv.h
64: res_send.o: res_send.c /usr/include/sys/param.h /usr/include/sys/types.h
65: res_send.o: /usr/include/signal.h /usr/include/machine/trap.h
66: res_send.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
67: res_send.o: /usr/include/sys/time.h /usr/include/time.h
68: res_send.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
69: res_send.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/errno.h
70: res_send.o: /usr/include/arpa/nameser.h /usr/include/resolv.h
71: gethostnamadr.o: named/gethostnamadr.c /usr/include/sys/param.h
72: gethostnamadr.o: /usr/include/sys/types.h /usr/include/signal.h
73: gethostnamadr.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
74: gethostnamadr.o: /usr/include/machine/endian.h /usr/include/sys/socket.h
75: gethostnamadr.o: /usr/include/netinet/in.h /usr/include/ctype.h
76: gethostnamadr.o: /usr/include/netdb.h /usr/include/stdio.h /usr/include/errno.h
77: gethostnamadr.o: /usr/include/arpa/inet.h /usr/include/arpa/nameser.h
78: gethostnamadr.o: /usr/include/resolv.h
79: sethostent.o: named/sethostent.c /usr/include/sys/types.h
80: sethostent.o: /usr/include/arpa/nameser.h /usr/include/netinet/in.h
81: sethostent.o: /usr/include/resolv.h
82:
83: # 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.