Commit | Line | Data |
---|---|---|
11492ebf C |
1 | ############################################################################### |
2 | # | |
3 | # $Header: /f/osi/others/quipu/uips/pod/RCS/Makefile,v 7.4 91/02/22 09:31:18 mrose Interim $ | |
4 | # | |
5 | ############################################################################### | |
6 | ||
7 | #X app-defaults directory. | |
8 | APPDEFDIR = /usr/lib/X11/app-defaults | |
9 | ||
10 | #yacc flags | |
11 | YFLAGS = -d | |
12 | ||
13 | ||
14 | ############################################################################### | |
15 | # | |
16 | # Files and libraries. | |
17 | # | |
18 | ############################################################################### | |
19 | ||
20 | ISOLIBS = $(TOPDIR)libdsap.a $(TOPDIR)libisode.a \ | |
21 | $(TOPDIR)others/quipu/photo/libphoto.a | |
22 | ||
23 | XLIBS = -lXaw -lXmu -lXt -lX11 -lXext | |
24 | ||
25 | LIBES = $(ISOLIBS) $(XLIBS) | |
26 | LLIBS = $(TOPDIR)llib-ldsap $(TOPDIR)llib-lisode | |
27 | ||
28 | CFILES = y.tab.c calls.c main.c pod.c filt.c sequence.c \ | |
29 | photo.c list.c read.c search.c modify.c dir_entry.c util.c | |
30 | OFILES = y.tab.o calls.o main.o pod.o filt.o sequence.o \ | |
31 | photo.o list.o read.o search.o modify.o dir_entry.o util.o | |
32 | TESTOFILES = y.tab.o testcalls.o main.o pod.o filt.o sequence.o \ | |
33 | photo.o list.o read.o search.o modify.o dir_entry.o util.o | |
34 | ||
35 | YFILES = conf_read.y | |
36 | ||
37 | ############################################################################### | |
38 | # Here it is... | |
39 | ############################################################################### | |
40 | ||
41 | all: xpod | |
42 | inst-all: inst-pod manuals help appdefs config | |
43 | install: inst-all clean | |
44 | lint: l-pod | |
45 | ||
46 | ||
47 | ############################################################################## | |
48 | # pod | |
49 | ############################################################################## | |
50 | ||
51 | ||
52 | inst-pod: $(BINDIR)pod | |
53 | -mkdir $(ETCDIR)xd | |
54 | ||
55 | $(BINDIR)pod: xpod | |
56 | -cp $@ zxpod | |
57 | -rm -f $@ | |
58 | cp xpod $@ | |
59 | -@ls -gls $@ | |
60 | -@echo "" | |
61 | ||
62 | xpod: $(OFILES) $(ISOLIBS) | |
63 | $(LDCC) $(LDFLAGS) -o $@ $(OFILES) \ | |
64 | $(LIBDSAP) $(TOPDIR)others/quipu/photo/libphoto.a $(LIBISODE) \ | |
65 | $(XLIBS) $(LSOCKET) | |
66 | ||
67 | l-pod: $(CFILES) | |
68 | $(LINT) $(LFLAGS) $(LLIBS) $(CFILES) \ | |
69 | | grep -v "warning: possible pointer alignment problem" | |
70 | ||
71 | #testpod: $(TESTOFILES) | |
72 | # $(LDCC) $(LDFLAGS) -o $@ $(TESTOFILES) $(LIBES) | |
73 | ||
74 | #testcalls.o: | |
75 | # $(CC) $(CFLAGS) -DTESTPOD -c calls.c -o testcalls.o | |
76 | ||
77 | y.tab.c: conf_read.y | |
78 | yacc $(YFLAGS) conf_read.y | |
79 | ||
80 | ############################################################################### | |
81 | # config files | |
82 | ############################################################################### | |
83 | ||
84 | config:; -mkdir $(ETCDIR)xd/duaconfig | |
85 | -cp -r Xd/duaconfig/* $(ETCDIR)xd/duaconfig | |
86 | -@echo "" | |
87 | ||
88 | ############################################################################### | |
89 | # app-defaults | |
90 | ############################################################################### | |
91 | ||
92 | appdefs:; -cp Pod.ad $(APPDEFDIR)/Pod | |
93 | ||
94 | ############################################################################### | |
95 | # manual pages | |
96 | ############################################################################### | |
97 | ||
98 | MANUALS = pod.1c | |
99 | ||
100 | manuals:; | |
101 | @$(UTILDIR)inst-man.sh $(MANOPTS) pod.1c | |
102 | @$(UTILDIR)inst-man.sh $(MANOPTS) pod.5 | |
103 | -@echo "" | |
104 | ||
105 | ############################################################################### | |
106 | # help | |
107 | ############################################################################### | |
108 | ||
109 | help:; -mkdir $(ETCDIR)xd/podHelpdir | |
110 | cp Xd/podHelpdir/* $(ETCDIR)xd/podHelpdir | |
111 | -@ls -gls $(ETCDIR)xd/podHelpdir | |
112 | -@echo "" | |
113 | ||
114 | ||
115 | ############################################################################### | |
116 | # clean | |
117 | ############################################################################### | |
118 | ||
119 | clean:; rm -f *.ph *.o *.a a.out _* x* z* *.orig \ | |
120 | core $(CLEANSTRINGS) y.tab.c y.tab.h | |
121 | ||
122 | grind:; iprint Makefile | |
123 | tgrind -lc $(CFILES) | |
124 | @echo $(MANUALS) | \ | |
125 | tr " " "\012" | \ | |
126 | sed -e "s%.*%itroff -man &%" | \ | |
127 | sh -ve | |
128 | ||
129 | true:; | |
130 | ||
131 | # DO NOT DELETE BELOW THIS LINE | |
132 | # Dependencies follow | |
133 | calls.o: ../../../../h/config.h | |
134 | calls.o: ../../../../h/general.h | |
135 | calls.o: ../../../../h/isoaddrs.h | |
136 | calls.o: ../../../../h/logger.h | |
137 | calls.o: ../../../../h/manifest.h | |
138 | calls.o: ../../../../h/psap.h | |
139 | calls.o: ../../../../h/quipu/abandon.h | |
140 | calls.o: ../../../../h/quipu/add.h | |
141 | calls.o: ../../../../h/quipu/attr.h | |
142 | calls.o: ../../../../h/quipu/attrvalue.h | |
143 | calls.o: ../../../../h/quipu/authen.h | |
144 | calls.o: ../../../../h/quipu/bind.h | |
145 | calls.o: ../../../../h/quipu/common.h | |
146 | calls.o: ../../../../h/quipu/commonarg.h | |
147 | calls.o: ../../../../h/quipu/compare.h | |
148 | calls.o: ../../../../h/quipu/config.h | |
149 | calls.o: ../../../../h/quipu/dap.h | |
150 | calls.o: ../../../../h/quipu/ds_error.h | |
151 | calls.o: ../../../../h/quipu/ds_search.h | |
152 | calls.o: ../../../../h/quipu/dsp.h | |
153 | calls.o: ../../../../h/quipu/entry.h | |
154 | calls.o: ../../../../h/quipu/list.h | |
155 | calls.o: ../../../../h/quipu/modify.h | |
156 | calls.o: ../../../../h/quipu/modifyrdn.h | |
157 | calls.o: ../../../../h/quipu/name.h | |
158 | calls.o: ../../../../h/quipu/oid.h | |
159 | calls.o: ../../../../h/quipu/read.h | |
160 | calls.o: ../../../../h/quipu/remove.h | |
161 | calls.o: ../../../../h/quipu/util.h | |
162 | calls.o: ../../../../h/tailor.h | |
163 | calls.o: ../../../../h/usr.dirent.h | |
164 | calls.o: ./defs.h | |
165 | calls.o: ./filt.h | |
166 | calls.o: ./sequence.h | |
167 | calls.o: ./util.h | |
168 | dir_entry.o: ./defs.h | |
169 | dir_entry.o: ./dir_entry.h | |
170 | filt.o: ../../../../h/config.h | |
171 | filt.o: ../../../../h/general.h | |
172 | filt.o: ../../../../h/isoaddrs.h | |
173 | filt.o: ../../../../h/logger.h | |
174 | filt.o: ../../../../h/manifest.h | |
175 | filt.o: ../../../../h/psap.h | |
176 | filt.o: ../../../../h/quipu/abandon.h | |
177 | filt.o: ../../../../h/quipu/add.h | |
178 | filt.o: ../../../../h/quipu/attr.h | |
179 | filt.o: ../../../../h/quipu/attrvalue.h | |
180 | filt.o: ../../../../h/quipu/authen.h | |
181 | filt.o: ../../../../h/quipu/bind.h | |
182 | filt.o: ../../../../h/quipu/common.h | |
183 | filt.o: ../../../../h/quipu/commonarg.h | |
184 | filt.o: ../../../../h/quipu/compare.h | |
185 | filt.o: ../../../../h/quipu/config.h | |
186 | filt.o: ../../../../h/quipu/dap.h | |
187 | filt.o: ../../../../h/quipu/ds_error.h | |
188 | filt.o: ../../../../h/quipu/ds_search.h | |
189 | filt.o: ../../../../h/quipu/dsp.h | |
190 | filt.o: ../../../../h/quipu/entry.h | |
191 | filt.o: ../../../../h/quipu/list.h | |
192 | filt.o: ../../../../h/quipu/modify.h | |
193 | filt.o: ../../../../h/quipu/modifyrdn.h | |
194 | filt.o: ../../../../h/quipu/name.h | |
195 | filt.o: ../../../../h/quipu/oid.h | |
196 | filt.o: ../../../../h/quipu/read.h | |
197 | filt.o: ../../../../h/quipu/remove.h | |
198 | filt.o: ../../../../h/quipu/util.h | |
199 | filt.o: ./defs.h | |
200 | filt.o: ./filt.h | |
201 | filt.o: ./y.tab.h | |
202 | list.o: ../../../../h/config.h | |
203 | list.o: ../../../../h/general.h | |
204 | list.o: ../../../../h/isoaddrs.h | |
205 | list.o: ../../../../h/logger.h | |
206 | list.o: ../../../../h/manifest.h | |
207 | list.o: ../../../../h/psap.h | |
208 | list.o: ../../../../h/quipu/abandon.h | |
209 | list.o: ../../../../h/quipu/add.h | |
210 | list.o: ../../../../h/quipu/attr.h | |
211 | list.o: ../../../../h/quipu/attrvalue.h | |
212 | list.o: ../../../../h/quipu/authen.h | |
213 | list.o: ../../../../h/quipu/bind.h | |
214 | list.o: ../../../../h/quipu/common.h | |
215 | list.o: ../../../../h/quipu/commonarg.h | |
216 | list.o: ../../../../h/quipu/compare.h | |
217 | list.o: ../../../../h/quipu/config.h | |
218 | list.o: ../../../../h/quipu/dap.h | |
219 | list.o: ../../../../h/quipu/ds_error.h | |
220 | list.o: ../../../../h/quipu/ds_search.h | |
221 | list.o: ../../../../h/quipu/dsp.h | |
222 | list.o: ../../../../h/quipu/entry.h | |
223 | list.o: ../../../../h/quipu/list.h | |
224 | list.o: ../../../../h/quipu/modify.h | |
225 | list.o: ../../../../h/quipu/modifyrdn.h | |
226 | list.o: ../../../../h/quipu/name.h | |
227 | list.o: ../../../../h/quipu/oid.h | |
228 | list.o: ../../../../h/quipu/read.h | |
229 | list.o: ../../../../h/quipu/remove.h | |
230 | list.o: ../../../../h/quipu/util.h | |
231 | list.o: ./defs.h | |
232 | list.o: ./filt.h | |
233 | list.o: ./sequence.h | |
234 | main.o: ../../../../h/config.h | |
235 | main.o: ../../../../h/general.h | |
236 | main.o: ../../../../h/isoaddrs.h | |
237 | main.o: ../../../../h/logger.h | |
238 | main.o: ../../../../h/manifest.h | |
239 | main.o: ../../../../h/psap.h | |
240 | main.o: ../../../../h/quipu/abandon.h | |
241 | main.o: ../../../../h/quipu/add.h | |
242 | main.o: ../../../../h/quipu/attr.h | |
243 | main.o: ../../../../h/quipu/attrvalue.h | |
244 | main.o: ../../../../h/quipu/authen.h | |
245 | main.o: ../../../../h/quipu/bind.h | |
246 | main.o: ../../../../h/quipu/common.h | |
247 | main.o: ../../../../h/quipu/commonarg.h | |
248 | main.o: ../../../../h/quipu/compare.h | |
249 | main.o: ../../../../h/quipu/config.h | |
250 | main.o: ../../../../h/quipu/dap.h | |
251 | main.o: ../../../../h/quipu/ds_error.h | |
252 | main.o: ../../../../h/quipu/ds_search.h | |
253 | main.o: ../../../../h/quipu/dsp.h | |
254 | main.o: ../../../../h/quipu/dua.h | |
255 | main.o: ../../../../h/quipu/entry.h | |
256 | main.o: ../../../../h/quipu/list.h | |
257 | main.o: ../../../../h/quipu/modify.h | |
258 | main.o: ../../../../h/quipu/modifyrdn.h | |
259 | main.o: ../../../../h/quipu/name.h | |
260 | main.o: ../../../../h/quipu/oid.h | |
261 | main.o: ../../../../h/quipu/photo.h | |
262 | main.o: ../../../../h/quipu/read.h | |
263 | main.o: ../../../../h/quipu/remove.h | |
264 | main.o: ../../../../h/quipu/util.h | |
265 | main.o: ./defs.h | |
266 | main.o: ./pod.h | |
267 | main.o: ./sequence.h | |
268 | modify.o: ../../../../h/config.h | |
269 | modify.o: ../../../../h/general.h | |
270 | modify.o: ../../../../h/isoaddrs.h | |
271 | modify.o: ../../../../h/logger.h | |
272 | modify.o: ../../../../h/manifest.h | |
273 | modify.o: ../../../../h/psap.h | |
274 | modify.o: ../../../../h/quipu/abandon.h | |
275 | modify.o: ../../../../h/quipu/add.h | |
276 | modify.o: ../../../../h/quipu/attr.h | |
277 | modify.o: ../../../../h/quipu/attrvalue.h | |
278 | modify.o: ../../../../h/quipu/authen.h | |
279 | modify.o: ../../../../h/quipu/bind.h | |
280 | modify.o: ../../../../h/quipu/common.h | |
281 | modify.o: ../../../../h/quipu/commonarg.h | |
282 | modify.o: ../../../../h/quipu/compare.h | |
283 | modify.o: ../../../../h/quipu/config.h | |
284 | modify.o: ../../../../h/quipu/dap.h | |
285 | modify.o: ../../../../h/quipu/ds_error.h | |
286 | modify.o: ../../../../h/quipu/ds_search.h | |
287 | modify.o: ../../../../h/quipu/dsp.h | |
288 | modify.o: ../../../../h/quipu/entry.h | |
289 | modify.o: ../../../../h/quipu/list.h | |
290 | modify.o: ../../../../h/quipu/modify.h | |
291 | modify.o: ../../../../h/quipu/modifyrdn.h | |
292 | modify.o: ../../../../h/quipu/name.h | |
293 | modify.o: ../../../../h/quipu/oid.h | |
294 | modify.o: ../../../../h/quipu/read.h | |
295 | modify.o: ../../../../h/quipu/remove.h | |
296 | modify.o: ../../../../h/quipu/util.h | |
297 | modify.o: ./defs.h | |
298 | modify.o: ./dir_entry.h | |
299 | modify.o: ./sequence.h | |
300 | modify.o: ./util.h | |
301 | photo.o: ../../../../h/quipu/photo.h | |
302 | photo.o: ./defs.h | |
303 | photo.o: ./pod.h | |
304 | photo.o: ./sequence.h | |
305 | pod.o: ../../../../h/config.h | |
306 | pod.o: ../../../../h/general.h | |
307 | pod.o: ../../../../h/manifest.h | |
308 | pod.o: ./bitmap | |
309 | pod.o: ./bitmaps/About | |
310 | pod.o: ./bitmaps/AboutPress | |
311 | pod.o: ./bitmaps/Close | |
312 | pod.o: ./bitmaps/ClosePress | |
313 | pod.o: ./bitmaps/Help | |
314 | pod.o: ./bitmaps/HelpPress | |
315 | pod.o: ./bitmaps/History | |
316 | pod.o: ./bitmaps/HistoryPress | |
317 | pod.o: ./bitmaps/Keep | |
318 | pod.o: ./bitmaps/KeepPress | |
319 | pod.o: ./bitmaps/Kept | |
320 | pod.o: ./bitmaps/List | |
321 | pod.o: ./bitmaps/ListPress | |
322 | pod.o: ./bitmaps/Modify | |
323 | pod.o: ./bitmaps/ModifyPress | |
324 | pod.o: ./bitmaps/Okay | |
325 | pod.o: ./bitmaps/OkayPress | |
326 | pod.o: ./bitmaps/Quit | |
327 | pod.o: ./bitmaps/QuitPress | |
328 | pod.o: ./bitmaps/Search | |
329 | pod.o: ./bitmaps/SearchPress | |
330 | pod.o: ./bitmaps/ShowAll | |
331 | pod.o: ./bitmaps/ShowAllPress | |
332 | pod.o: ./bitmaps/icon | |
333 | pod.o: ./bitmaps/menuicon | |
334 | pod.o: ./defs.h | |
335 | pod.o: ./dir_entry.h | |
336 | pod.o: ./pod.h | |
337 | pod.o: ./sequence.h | |
338 | read.o: ../../../../h/config.h | |
339 | read.o: ../../../../h/general.h | |
340 | read.o: ../../../../h/isoaddrs.h | |
341 | read.o: ../../../../h/logger.h | |
342 | read.o: ../../../../h/manifest.h | |
343 | read.o: ../../../../h/psap.h | |
344 | read.o: ../../../../h/quipu/abandon.h | |
345 | read.o: ../../../../h/quipu/add.h | |
346 | read.o: ../../../../h/quipu/attr.h | |
347 | read.o: ../../../../h/quipu/attrvalue.h | |
348 | read.o: ../../../../h/quipu/authen.h | |
349 | read.o: ../../../../h/quipu/bind.h | |
350 | read.o: ../../../../h/quipu/common.h | |
351 | read.o: ../../../../h/quipu/commonarg.h | |
352 | read.o: ../../../../h/quipu/compare.h | |
353 | read.o: ../../../../h/quipu/config.h | |
354 | read.o: ../../../../h/quipu/dap.h | |
355 | read.o: ../../../../h/quipu/ds_error.h | |
356 | read.o: ../../../../h/quipu/ds_search.h | |
357 | read.o: ../../../../h/quipu/dsp.h | |
358 | read.o: ../../../../h/quipu/entry.h | |
359 | read.o: ../../../../h/quipu/list.h | |
360 | read.o: ../../../../h/quipu/modify.h | |
361 | read.o: ../../../../h/quipu/modifyrdn.h | |
362 | read.o: ../../../../h/quipu/name.h | |
363 | read.o: ../../../../h/quipu/oid.h | |
364 | read.o: ../../../../h/quipu/read.h | |
365 | read.o: ../../../../h/quipu/remove.h | |
366 | read.o: ../../../../h/quipu/util.h | |
367 | read.o: ./defs.h | |
368 | read.o: ./sequence.h | |
369 | read.o: ./util.h | |
370 | search.o: ../../../../h/config.h | |
371 | search.o: ../../../../h/general.h | |
372 | search.o: ../../../../h/isoaddrs.h | |
373 | search.o: ../../../../h/logger.h | |
374 | search.o: ../../../../h/manifest.h | |
375 | search.o: ../../../../h/psap.h | |
376 | search.o: ../../../../h/quipu/abandon.h | |
377 | search.o: ../../../../h/quipu/add.h | |
378 | search.o: ../../../../h/quipu/attr.h | |
379 | search.o: ../../../../h/quipu/attrvalue.h | |
380 | search.o: ../../../../h/quipu/authen.h | |
381 | search.o: ../../../../h/quipu/bind.h | |
382 | search.o: ../../../../h/quipu/common.h | |
383 | search.o: ../../../../h/quipu/commonarg.h | |
384 | search.o: ../../../../h/quipu/compare.h | |
385 | search.o: ../../../../h/quipu/config.h | |
386 | search.o: ../../../../h/quipu/dap.h | |
387 | search.o: ../../../../h/quipu/ds_error.h | |
388 | search.o: ../../../../h/quipu/ds_search.h | |
389 | search.o: ../../../../h/quipu/dsp.h | |
390 | search.o: ../../../../h/quipu/entry.h | |
391 | search.o: ../../../../h/quipu/list.h | |
392 | search.o: ../../../../h/quipu/modify.h | |
393 | search.o: ../../../../h/quipu/modifyrdn.h | |
394 | search.o: ../../../../h/quipu/name.h | |
395 | search.o: ../../../../h/quipu/oid.h | |
396 | search.o: ../../../../h/quipu/read.h | |
397 | search.o: ../../../../h/quipu/remove.h | |
398 | search.o: ../../../../h/quipu/util.h | |
399 | search.o: ./defs.h | |
400 | search.o: ./filt.h | |
401 | search.o: ./sequence.h | |
402 | sequence.o: ./defs.h | |
403 | sequence.o: ./sequence.h | |
404 | util.o: ./util.h | |
405 | y.tab.o: ./filt.h |