|
|
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: # @(#)Makefile 5.19 (Berkeley) 6/27/88
18: #
19: DEFS= -DLIBC_SCCS
20: CFLAGS= -O ${DEFS}
21: SRCS= getnetbyaddr.c getnetent.c getnetbyname.c getproto.c getprotoent.c \
22: getprotoname.c getservent.c getservbyport.c getservbyname.c \
23: herror.c rcmd.c rexec.c ruserpass.c res_comp.c res_debug.c \
24: res_init.c res_mkquery.c res_query.c res_send.c
25: OBJS= getnetbyaddr.o getnetent.o getnetbyname.o getproto.o getprotoent.o \
26: getprotoname.o getservent.o getservbyport.o getservbyname.o \
27: herror.o rcmd.o rexec.o ruserpass.o res_comp.o res_debug.o \
28: res_init.o res_mkquery.o res_query.o res_send.o
29: TAGSFILE=tags
30:
31: .c.o:
32: @${CC} -p -c ${CFLAGS} $*.c
33: @-ld -X -o profiled/$*.o -r $*.o
34: ${CC} ${CFLAGS} -c $*.c
35: @-ld -x -r $*.o
36: @mv a.out $*.o
37:
38: all: ${OBJS}
39:
40: link: ${OBJS}
41: (cd ../library; rm -f ${OBJS})
42: (cd ../profiled; rm -f ${OBJS})
43: ln ${OBJS} ../library
44: (cd profiled; ln ${OBJS} ../../profiled)
45:
46: tags:
47: cwd=`pwd`; \
48: for i in ${SRCS}; do \
49: ctags -a -f ${TAGSFILE} $$cwd/$$i; \
50: done
51:
52: clean:
53: rm -f *.o profiled/* a.out core ${TAGSFILE}
54:
55: depend:
56: mkdep ${CFLAGS} ${SRCS}
57:
58: # DO NOT DELETE THIS LINE -- mkdep uses it.
59: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
60:
61: getnetbyaddr.o: getnetbyaddr.c /usr/include/netdb.h
62: getnetent.o: getnetent.c /usr/include/stdio.h /usr/include/sys/types.h
63: getnetent.o: /usr/include/sys/socket.h /usr/include/netdb.h
64: getnetent.o: /usr/include/ctype.h
65: getnetbyname.o: getnetbyname.c /usr/include/netdb.h
66: getproto.o: getproto.c /usr/include/netdb.h
67: getprotoent.o: getprotoent.c /usr/include/stdio.h /usr/include/sys/types.h
68: getprotoent.o: /usr/include/sys/socket.h /usr/include/netdb.h
69: getprotoent.o: /usr/include/ctype.h
70: getprotoname.o: getprotoname.c /usr/include/netdb.h
71: getservent.o: getservent.c /usr/include/stdio.h /usr/include/sys/param.h
72: getservent.o: /usr/include/sys/types.h /usr/include/signal.h
73: getservent.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
74: getservent.o: /usr/include/machine/endian.h /usr/include/sys/types.h
75: getservent.o: /usr/include/sys/socket.h /usr/include/netdb.h
76: getservent.o: /usr/include/ctype.h
77: getservbyport.o: getservbyport.c /usr/include/netdb.h
78: getservbyname.o: getservbyname.c /usr/include/netdb.h
79: herror.o: herror.c /usr/include/sys/types.h /usr/include/sys/uio.h
80: rcmd.o: rcmd.c /usr/include/stdio.h /usr/include/ctype.h /usr/include/pwd.h
81: rcmd.o: /usr/include/sys/param.h /usr/include/sys/types.h /usr/include/signal.h
82: rcmd.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
83: rcmd.o: /usr/include/machine/endian.h /usr/include/sys/file.h
84: rcmd.o: /usr/include/sys/signal.h /usr/include/sys/socket.h
85: rcmd.o: /usr/include/sys/stat.h /usr/include/netinet/in.h /usr/include/netdb.h
86: rcmd.o: /usr/include/errno.h
87: rexec.o: rexec.c /usr/include/sys/types.h /usr/include/sys/socket.h
88: rexec.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/netdb.h
89: rexec.o: /usr/include/errno.h
90: ruserpass.o: ruserpass.c /usr/include/stdio.h /usr/include/utmp.h
91: ruserpass.o: /usr/include/ctype.h /usr/include/sys/types.h
92: ruserpass.o: /usr/include/sys/stat.h /usr/include/errno.h
93: res_comp.o: res_comp.c /usr/include/sys/types.h /usr/include/stdio.h
94: res_comp.o: /usr/include/arpa/nameser.h
95: res_debug.o: res_debug.c /usr/include/sys/types.h /usr/include/netinet/in.h
96: res_debug.o: /usr/include/stdio.h /usr/include/arpa/nameser.h
97: res_init.o: res_init.c /usr/include/sys/types.h /usr/include/sys/socket.h
98: res_init.o: /usr/include/netinet/in.h /usr/include/stdio.h
99: res_init.o: /usr/include/arpa/nameser.h /usr/include/resolv.h
100: res_mkquery.o: res_mkquery.c /usr/include/stdio.h /usr/include/sys/types.h
101: res_mkquery.o: /usr/include/netinet/in.h /usr/include/arpa/nameser.h
102: res_mkquery.o: /usr/include/resolv.h
103: res_query.o: res_query.c /usr/include/sys/param.h /usr/include/sys/types.h
104: res_query.o: /usr/include/signal.h /usr/include/machine/trap.h
105: res_query.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
106: res_query.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
107: res_query.o: /usr/include/ctype.h /usr/include/netdb.h /usr/include/stdio.h
108: res_query.o: /usr/include/errno.h /usr/include/strings.h
109: res_query.o: /usr/include/arpa/inet.h /usr/include/arpa/nameser.h
110: res_query.o: /usr/include/resolv.h
111: res_send.o: res_send.c /usr/include/sys/param.h /usr/include/sys/types.h
112: res_send.o: /usr/include/signal.h /usr/include/machine/trap.h
113: res_send.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
114: res_send.o: /usr/include/sys/time.h /usr/include/time.h
115: res_send.o: /usr/include/sys/socket.h /usr/include/sys/uio.h
116: res_send.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/errno.h
117: res_send.o: /usr/include/arpa/nameser.h /usr/include/resolv.h
118:
119: # 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.