|
|
1.1 root 1: #
2: # Makefile for NNTP server
3: #
4:
5: SRVROBJ = main.o serve.o access.o access_inet.o access_dnet.o active.o \
6: ahbs.o globals.o group.o help.o ihave.o list.o misc.o netaux.o \
7: newgroups.o newnews.o nextlast.o ngmatch.o post.o parsit.o scandir.o \
8: slave.o spawn.o subnet.o time.o xhdr.o ../common/version.o
9:
10: SRVRSRC = main.c serve.c access.c access_inet.c access_dnet.c active.c \
11: ahbs.c globals.c group.c help.c ihave.c list.c misc.c netaux.c \
12: newgroups.c newnews.c nextlast.c ngmatch.c post.c parsit.c scandir.c \
13: slave.c spawn.c subnet.c time.c xhdr.c ../common/version.c
14:
15: SRVRINC = common.h ../common/conf.h ../common/response_codes.h
16:
17: SRCS = ${SRVRSRC}
18:
19: # -ldbm here if you've #define'ed DBM in ../common/conf.h
20: LIBS =
21:
22: CFLAGS = -O
23:
24: # Where nntpd is going to live
25:
26: DESTDIR = /etc
27:
28: all: nntpd
29:
30: nntpd: ${SRVROBJ}
31: ${CC} ${CFLAGS} -o nntpd ${SRVROBJ} ${LIBS}
32:
33: install: nntpd
34: cp nntpd ${DESTDIR}/nntpd
35: chmod 711 ${DESTDIR}/nntpd
36:
37: lint:
38: lint ${SRVRSRC}
39:
40: clean:
41: rm -f *.o nntpd make.out
42:
43: distrib: clean
44: rm -rf SCCS save tags
45:
46: tags: ${SRVRSRC} ${SRVRINC}
47: ctags ${SRVRSRC} ${SRVRINC}
48:
49: # Dependencies
50:
51: ../common/version.o:
52: ${CC} ${CFLAGS} -c ../common/version.c
53: mv version.o ../common/version.o
54:
55: access.o: ../common/conf.h
56: access.o: ../common/response_codes.h
57: access.o: ../common/rfc977.h
58: access.o: access.c
59: access.o: common.h
60: access_dnet.o: ../common/conf.h
61: access_dnet.o: access_dnet.c
62: access_inet.o: ../common/conf.h
63: access_inet.o: access_inet.c
64: active.o: ../common/conf.h
65: active.o: ../common/response_codes.h
66: active.o: ../common/rfc977.h
67: active.o: active.c
68: active.o: common.h
69: ahbs.o: ../common/conf.h
70: ahbs.o: ../common/response_codes.h
71: ahbs.o: ../common/rfc977.h
72: ahbs.o: ahbs.c
73: ahbs.o: common.h
74: globals.o: ../common/conf.h
75: globals.o: ../common/response_codes.h
76: globals.o: ../common/rfc977.h
77: globals.o: common.h
78: globals.o: globals.c
79: group.o: ../common/conf.h
80: group.o: ../common/response_codes.h
81: group.o: ../common/rfc977.h
82: group.o: common.h
83: group.o: group.c
84: help.o: ../common/conf.h
85: help.o: ../common/response_codes.h
86: help.o: ../common/rfc977.h
87: help.o: common.h
88: help.o: help.c
89: ihave.o: ../common/conf.h
90: ihave.o: ../common/response_codes.h
91: ihave.o: ../common/rfc977.h
92: ihave.o: common.h
93: ihave.o: ihave.c
94: list.o: ../common/conf.h
95: list.o: ../common/response_codes.h
96: list.o: ../common/rfc977.h
97: list.o: common.h
98: list.o: list.c
99: main.o: ../common/conf.h
100: main.o: ../common/response_codes.h
101: main.o: ../common/rfc977.h
102: main.o: common.h
103: main.o: main.c
104: misc.o: ../common/conf.h
105: misc.o: ../common/response_codes.h
106: misc.o: ../common/rfc977.h
107: misc.o: common.h
108: misc.o: misc.c
109: netaux.o: ../common/conf.h
110: netaux.o: ../common/response_codes.h
111: netaux.o: ../common/rfc977.h
112: netaux.o: common.h
113: netaux.o: netaux.c
114: newgroups.o: ../common/conf.h
115: newgroups.o: ../common/response_codes.h
116: newgroups.o: ../common/rfc977.h
117: newgroups.o: common.h
118: newgroups.o: newgroups.c
119: newgroups.o: time.h
120: newnews.o: ../common/conf.h
121: newnews.o: ../common/response_codes.h
122: newnews.o: ../common/rfc977.h
123: newnews.o: common.h
124: newnews.o: newnews.c
125: newnews.o: time.h
126: nextlast.o: ../common/conf.h
127: nextlast.o: ../common/response_codes.h
128: nextlast.o: ../common/rfc977.h
129: nextlast.o: common.h
130: nextlast.o: nextlast.c
131: ngmatch.o: ../common/conf.h
132: ngmatch.o: ../common/response_codes.h
133: ngmatch.o: ../common/rfc977.h
134: ngmatch.o: common.h
135: ngmatch.o: ngmatch.c
136: parsit.o: parsit.c
137: post.o: ../common/conf.h
138: post.o: ../common/response_codes.h
139: post.o: ../common/rfc977.h
140: post.o: common.h
141: post.o: post.c
142: profile.o: profile.c
143: scandir.o: ../common/conf.h
144: scandir.o: ../common/response_codes.h
145: scandir.o: ../common/rfc977.h
146: scandir.o: common.h
147: scandir.o: scandir.c
148: serve.o: ../common/conf.h
149: serve.o: ../common/response_codes.h
150: serve.o: ../common/rfc977.h
151: serve.o: common.h
152: serve.o: serve.c
153: slave.o: ../common/conf.h
154: slave.o: ../common/response_codes.h
155: slave.o: ../common/rfc977.h
156: slave.o: common.h
157: slave.o: slave.c
158: spawn.o: ../common/conf.h
159: spawn.o: ../common/response_codes.h
160: spawn.o: ../common/rfc977.h
161: spawn.o: common.h
162: spawn.o: spawn.c
163: subnet.o: ../common/conf.h
164: subnet.o: subnet.c
165: time.o: time.c
166: xhdr.o: ../common/conf.h
167: xhdr.o: ../common/response_codes.h
168: xhdr.o: ../common/rfc977.h
169: xhdr.o: common.h
170: xhdr.o: xhdr.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.