source: npl/commonservers/daemontools/Makefile @ 669bb09

perl-5.22
Last change on this file since 669bb09 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 14.9 KB
Line 
1default: it
2
3clean:
4        rm -f alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o buffer_2.o \
5        buffer_get.o buffer_put.o buffer_read.o buffer_write.o byte.a \
6        byte_chr.o byte_copy.o byte_cr.o byte_diff.o byte_rchr.o chkshsgr \
7        chkshsgr.o choose coe.o compile deepsleep.o direntry.h env.o envdir \
8        envdir.o envuidgid envuidgid.o error.o error_str.o fd_copy.o \
9        fd_move.o fghack fghack.o fifo.o fmt_uint.o fmt_uint0.o fmt_ulong.o \
10        hasflock.h hasmkffo.h hassgact.h hassgprm.h hasshsgr.h haswaitp.h \
11        iopause.h iopause.o it load lock_ex.o lock_exnb.o makelib match.o \
12        matchtest matchtest.o multilog multilog.o ndelay_off.o ndelay_on.o \
13        open_append.o open_read.o open_trunc.o open_write.o openreadclose.o \
14        pathexec_env.o pathexec_run.o pgrphack pgrphack.o prot.o readclose.o \
15        readproctitle readproctitle.o rts scan_ulong.o seek_set.o select.h \
16        setlock setlock.o setuidgid setuidgid.o sgetopt.o sig.o sig_block.o \
17        sig_catch.o sig_pause.o softlimit softlimit.o str_chr.o str_diff.o \
18        str_len.o str_start.o stralloc_cat.o stralloc_catb.o stralloc_cats.o \
19        stralloc_eady.o stralloc_opyb.o stralloc_opys.o stralloc_pend.o \
20        strerr_die.o strerr_sys.o subgetopt.o supervise supervise.o svc svc.o \
21        svok svok.o svscan svscan.o svscanboot svstat svstat.o sysdeps \
22        systype tai64n tai64n.o tai64nlocal tai64nlocal.o tai_now.o \
23        tai_pack.o tai_sub.o tai_unpack.o taia_add.o taia_approx.o \
24        taia_frac.o taia_less.o taia_now.o taia_pack.o taia_sub.o taia_uint.o \
25        time.a timestamp.o uint64.h unix.a wait_nohang.o wait_pid.o
26
27alloc.o: alloc.c alloc.h compile error.h
28        ./compile alloc.c
29
30alloc_re.o: alloc.h alloc_re.c byte.h compile
31        ./compile alloc_re.c
32
33buffer.o: buffer.c buffer.h compile
34        ./compile buffer.c
35
36buffer_0.o: buffer.h buffer_0.c compile
37        ./compile buffer_0.c
38
39buffer_1.o: buffer.h buffer_1.c compile
40        ./compile buffer_1.c
41
42buffer_2.o: buffer.h buffer_2.c compile
43        ./compile buffer_2.c
44
45buffer_get.o: buffer.h buffer_get.c byte.h compile error.h
46        ./compile buffer_get.c
47
48buffer_put.o: buffer.h buffer_put.c byte.h compile error.h str.h
49        ./compile buffer_put.c
50
51buffer_read.o: buffer.h buffer_read.c compile
52        ./compile buffer_read.c
53
54buffer_write.o: buffer.h buffer_write.c compile
55        ./compile buffer_write.c
56
57byte.a: byte_chr.o byte_copy.o byte_cr.o byte_diff.o byte_rchr.o \
58fmt_uint.o fmt_uint0.o fmt_ulong.o makelib scan_ulong.o str_chr.o \
59str_diff.o str_len.o str_start.o
60        ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o \
61        byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o \
62        str_diff.o str_len.o str_start.o
63
64byte_chr.o: byte.h byte_chr.c compile
65        ./compile byte_chr.c
66
67byte_copy.o: byte.h byte_copy.c compile
68        ./compile byte_copy.c
69
70byte_cr.o: byte.h byte_cr.c compile
71        ./compile byte_cr.c
72
73byte_diff.o: byte.h byte_diff.c compile
74        ./compile byte_diff.c
75
76byte_rchr.o: byte.h byte_rchr.c compile
77        ./compile byte_rchr.c
78
79chkshsgr: chkshsgr.o load
80        ./load chkshsgr
81
82chkshsgr.o: chkshsgr.c compile
83        ./compile chkshsgr.c
84
85choose: choose.sh home warn-auto.sh
86        rm -f choose
87        cat warn-auto.sh choose.sh \
88        | sed s}HOME}"`head -1 home`"}g \
89        > choose
90        chmod 555 choose
91
92coe.o: coe.c coe.h compile
93        ./compile coe.c
94
95compile: conf-cc print-cc.sh systype warn-auto.sh
96        rm -f compile
97        sh print-cc.sh > compile
98        chmod 555 compile
99
100deepsleep.o: compile deepsleep.c deepsleep.h iopause.h tai.h taia.h \
101uint64.h
102        ./compile deepsleep.c
103
104direntry.h: choose compile direntry.h1 direntry.h2 trydrent.c
105        ./choose c trydrent direntry.h1 direntry.h2 > direntry.h
106
107env.o: compile env.c env.h str.h
108        ./compile env.c
109
110envdir: byte.a envdir.o load unix.a
111        ./load envdir unix.a byte.a
112
113envdir.o: byte.h compile direntry.h envdir.c error.h gen_alloc.h \
114open.h openreadclose.h pathexec.h stralloc.h strerr.h
115        ./compile envdir.c
116
117envuidgid: byte.a envuidgid.o load unix.a
118        ./load envuidgid unix.a byte.a
119
120envuidgid.o: compile envuidgid.c fmt.h pathexec.h strerr.h
121        ./compile envuidgid.c
122
123error.o: compile error.c error.h
124        ./compile error.c
125
126error_str.o: compile error.h error_str.c
127        ./compile error_str.c
128
129fd_copy.o: compile fd.h fd_copy.c
130        ./compile fd_copy.c
131
132fd_move.o: compile fd.h fd_move.c
133        ./compile fd_move.c
134
135fghack: byte.a fghack.o load unix.a
136        ./load fghack unix.a byte.a
137
138fghack.o: buffer.h compile error.h fghack.c pathexec.h strerr.h \
139wait.h
140        ./compile fghack.c
141
142fifo.o: compile fifo.c fifo.h hasmkffo.h
143        ./compile fifo.c
144
145fmt_uint.o: compile fmt.h fmt_uint.c
146        ./compile fmt_uint.c
147
148fmt_uint0.o: compile fmt.h fmt_uint0.c
149        ./compile fmt_uint0.c
150
151fmt_ulong.o: compile fmt.h fmt_ulong.c
152        ./compile fmt_ulong.c
153
154hasflock.h: choose compile hasflock.h1 hasflock.h2 load tryflock.c
155        ./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h
156
157hasmkffo.h: choose compile hasmkffo.h1 hasmkffo.h2 load trymkffo.c
158        ./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h
159
160hassgact.h: choose compile hassgact.h1 hassgact.h2 load trysgact.c
161        ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h
162
163hassgprm.h: choose compile hassgprm.h1 hassgprm.h2 load trysgprm.c
164        ./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h
165
166hasshsgr.h: chkshsgr choose compile hasshsgr.h1 hasshsgr.h2 load \
167tryshsgr.c warn-shsgr
168        ./chkshsgr || ( cat warn-shsgr; exit 1 )
169        ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h
170
171haswaitp.h: choose compile haswaitp.h1 haswaitp.h2 load trywaitp.c
172        ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h
173
174iopause.h: choose compile iopause.h1 iopause.h2 load trypoll.c
175        ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h
176
177iopause.o: compile iopause.c iopause.h select.h tai.h taia.h uint64.h
178        ./compile iopause.c
179
180it: rts sysdeps
181
182load: conf-ld print-ld.sh systype warn-auto.sh
183        rm -f load
184        sh print-ld.sh > load
185        chmod 555 load
186
187lock_ex.o: compile hasflock.h lock.h lock_ex.c
188        ./compile lock_ex.c
189
190lock_exnb.o: compile hasflock.h lock.h lock_exnb.c
191        ./compile lock_exnb.c
192
193makelib: print-ar.sh systype warn-auto.sh
194        rm -f makelib
195        sh print-ar.sh > makelib
196        chmod 555 makelib
197
198match.o: compile match.c match.h
199        ./compile match.c
200
201matchtest: byte.a load match.o matchtest.o unix.a
202        ./load matchtest match.o unix.a byte.a
203
204matchtest.o: buffer.h compile match.h matchtest.c str.h
205        ./compile matchtest.c
206
207multilog: byte.a deepsleep.o load match.o multilog.o time.a \
208timestamp.o unix.a
209        ./load multilog deepsleep.o timestamp.o match.o time.a unix.a byte.a
210
211multilog.o: alloc.h buffer.h byte.h coe.h compile deepsleep.h \
212direntry.h env.h error.h fd.h lock.h match.h multilog.c open.h scan.h \
213seek.h sig.h str.h strerr.h timestamp.h wait.h
214        ./compile multilog.c
215
216ndelay_off.o: compile ndelay.h ndelay_off.c
217        ./compile ndelay_off.c
218
219ndelay_on.o: compile ndelay.h ndelay_on.c
220        ./compile ndelay_on.c
221
222open_append.o: compile open.h open_append.c
223        ./compile open_append.c
224
225open_read.o: compile open.h open_read.c
226        ./compile open_read.c
227
228open_trunc.o: compile open.h open_trunc.c
229        ./compile open_trunc.c
230
231open_write.o: compile open.h open_write.c
232        ./compile open_write.c
233
234openreadclose.o: compile error.h gen_alloc.h open.h openreadclose.c \
235openreadclose.h readclose.h stralloc.h
236        ./compile openreadclose.c
237
238pathexec_env.o: alloc.h byte.h compile env.h gen_alloc.h pathexec.h \
239pathexec_env.c str.h stralloc.h
240        ./compile pathexec_env.c
241
242pathexec_run.o: compile env.h error.h gen_alloc.h pathexec.h \
243pathexec_run.c str.h stralloc.h
244        ./compile pathexec_run.c
245
246pgrphack: byte.a load pgrphack.o unix.a
247        ./load pgrphack unix.a byte.a
248
249pgrphack.o: compile pathexec.h pgrphack.c strerr.h
250        ./compile pgrphack.c
251
252prot.o: compile hasshsgr.h prot.c prot.h
253        ./compile prot.c
254
255readclose.o: compile error.h gen_alloc.h readclose.c readclose.h \
256stralloc.h
257        ./compile readclose.c
258
259readproctitle: byte.a load readproctitle.o unix.a
260        ./load readproctitle unix.a byte.a
261
262readproctitle.o: compile error.h readproctitle.c
263        ./compile readproctitle.c
264
265rts: envdir envuidgid fghack matchtest multilog pgrphack \
266readproctitle rts.tests setlock setuidgid softlimit supervise svc \
267svok svscan svscanboot svstat tai64n tai64nlocal
268       
269##env - /bin/sh rts.tests 2>&1 | cat -v > rts
270
271scan_ulong.o: compile scan.h scan_ulong.c
272        ./compile scan_ulong.c
273
274seek_set.o: compile seek.h seek_set.c
275        ./compile seek_set.c
276
277select.h: choose compile select.h1 select.h2 trysysel.c
278        ./choose c trysysel select.h1 select.h2 > select.h
279
280setlock: byte.a load setlock.o unix.a
281        ./load setlock unix.a byte.a
282
283setlock.o: compile lock.h open.h pathexec.h setlock.c sgetopt.h \
284strerr.h subgetopt.h
285        ./compile setlock.c
286
287setuidgid: byte.a load setuidgid.o unix.a
288        ./load setuidgid unix.a byte.a
289
290setuidgid.o: compile pathexec.h prot.h setuidgid.c strerr.h
291        ./compile setuidgid.c
292
293sgetopt.o: buffer.h compile sgetopt.c sgetopt.h subgetopt.h
294        ./compile sgetopt.c
295
296sig.o: compile sig.c sig.h
297        ./compile sig.c
298
299sig_block.o: compile hassgprm.h sig.h sig_block.c
300        ./compile sig_block.c
301
302sig_catch.o: compile hassgact.h sig.h sig_catch.c
303        ./compile sig_catch.c
304
305sig_pause.o: compile hassgprm.h sig.h sig_pause.c
306        ./compile sig_pause.c
307
308softlimit: byte.a load softlimit.o unix.a
309        ./load softlimit unix.a byte.a
310
311softlimit.o: compile pathexec.h scan.h sgetopt.h softlimit.c str.h \
312strerr.h subgetopt.h
313        ./compile softlimit.c
314
315str_chr.o: compile str.h str_chr.c
316        ./compile str_chr.c
317
318str_diff.o: compile str.h str_diff.c
319        ./compile str_diff.c
320
321str_len.o: compile str.h str_len.c
322        ./compile str_len.c
323
324str_start.o: compile str.h str_start.c
325        ./compile str_start.c
326
327stralloc_cat.o: byte.h compile gen_alloc.h stralloc.h stralloc_cat.c
328        ./compile stralloc_cat.c
329
330stralloc_catb.o: byte.h compile gen_alloc.h stralloc.h \
331stralloc_catb.c
332        ./compile stralloc_catb.c
333
334stralloc_cats.o: byte.h compile gen_alloc.h str.h stralloc.h \
335stralloc_cats.c
336        ./compile stralloc_cats.c
337
338stralloc_eady.o: alloc.h compile gen_alloc.h gen_allocdefs.h \
339stralloc.h stralloc_eady.c
340        ./compile stralloc_eady.c
341
342stralloc_opyb.o: byte.h compile gen_alloc.h stralloc.h \
343stralloc_opyb.c
344        ./compile stralloc_opyb.c
345
346stralloc_opys.o: byte.h compile gen_alloc.h str.h stralloc.h \
347stralloc_opys.c
348        ./compile stralloc_opys.c
349
350stralloc_pend.o: alloc.h compile gen_alloc.h gen_allocdefs.h \
351stralloc.h stralloc_pend.c
352        ./compile stralloc_pend.c
353
354strerr_die.o: buffer.h compile strerr.h strerr_die.c
355        ./compile strerr_die.c
356
357strerr_sys.o: compile error.h strerr.h strerr_sys.c
358        ./compile strerr_sys.c
359
360subgetopt.o: compile subgetopt.c subgetopt.h
361        ./compile subgetopt.c
362
363supervise: byte.a deepsleep.o load supervise.o time.a unix.a
364        ./load supervise deepsleep.o time.a unix.a byte.a libtimesaver.a
365
366supervise.o: coe.h compile deepsleep.h env.h error.h fifo.h iopause.h \
367lock.h ndelay.h open.h sig.h strerr.h supervise.c tai.h taia.h \
368uint64.h wait.h
369        ./compile supervise.c
370
371svc: byte.a load svc.o unix.a
372        ./load svc unix.a byte.a
373
374svc.o: buffer.h byte.h compile error.h ndelay.h open.h sgetopt.h \
375sig.h strerr.h subgetopt.h svc.c
376        ./compile svc.c
377
378svok: byte.a load svok.o unix.a
379        ./load svok unix.a byte.a
380
381svok.o: compile error.h open.h strerr.h svok.c
382        ./compile svok.c
383
384svscan: byte.a load svscan.o unix.a
385        ./load svscan unix.a byte.a
386
387svscan.o: byte.h coe.h compile direntry.h env.h error.h fd.h \
388pathexec.h str.h strerr.h svscan.c wait.h
389        ./compile svscan.c
390
391svscanboot: home svscanboot.sh warn-auto.sh
392        rm -f svscanboot
393        cat warn-auto.sh svscanboot.sh \
394        | sed s}HOME}"`head -1 home`"}g \
395        > svscanboot
396        chmod 555 svscanboot
397
398svstat: byte.a load svstat.o time.a unix.a
399        ./load svstat time.a unix.a byte.a
400
401svstat.o: buffer.h compile error.h fmt.h open.h strerr.h svstat.c \
402tai.h uint64.h
403        ./compile svstat.c
404
405sysdeps: compile direntry.h hasflock.h hasmkffo.h hassgact.h \
406hassgprm.h hasshsgr.h haswaitp.h iopause.h load select.h systype \
407uint64.h
408        rm -f sysdeps
409        cat systype compile load >> sysdeps
410        grep sysdep direntry.h >> sysdeps
411        grep sysdep haswaitp.h >> sysdeps
412        grep sysdep hassgact.h >> sysdeps
413        grep sysdep hassgprm.h >> sysdeps
414        grep sysdep select.h >> sysdeps
415        grep sysdep uint64.h >> sysdeps
416        grep sysdep iopause.h >> sysdeps
417        grep sysdep hasmkffo.h >> sysdeps
418        grep sysdep hasflock.h >> sysdeps
419        grep sysdep hasshsgr.h >> sysdeps
420
421systype: find-systype.sh trycpp.c x86cpuid.c
422        sh find-systype.sh > systype
423
424tai64n: byte.a load tai64n.o time.a timestamp.o unix.a
425        ./load tai64n timestamp.o time.a unix.a byte.a
426
427tai64n.o: buffer.h compile tai64n.c timestamp.h
428        ./compile tai64n.c
429
430tai64nlocal: byte.a load tai64nlocal.o unix.a
431        ./load tai64nlocal unix.a byte.a
432
433tai64nlocal.o: buffer.h compile fmt.h tai64nlocal.c
434        ./compile tai64nlocal.c
435
436tai_now.o: compile tai.h tai_now.c uint64.h
437        ./compile tai_now.c
438
439tai_pack.o: compile tai.h tai_pack.c uint64.h
440        ./compile tai_pack.c
441
442tai_sub.o: compile tai.h tai_sub.c uint64.h
443        ./compile tai_sub.c
444
445tai_unpack.o: compile tai.h tai_unpack.c uint64.h
446        ./compile tai_unpack.c
447
448taia_add.o: compile tai.h taia.h taia_add.c uint64.h
449        ./compile taia_add.c
450
451taia_approx.o: compile tai.h taia.h taia_approx.c uint64.h
452        ./compile taia_approx.c
453
454taia_frac.o: compile tai.h taia.h taia_frac.c uint64.h
455        ./compile taia_frac.c
456
457taia_less.o: compile tai.h taia.h taia_less.c uint64.h
458        ./compile taia_less.c
459
460taia_now.o: compile tai.h taia.h taia_now.c uint64.h
461        ./compile taia_now.c
462
463taia_pack.o: compile tai.h taia.h taia_pack.c uint64.h
464        ./compile taia_pack.c
465
466taia_sub.o: compile tai.h taia.h taia_sub.c uint64.h
467        ./compile taia_sub.c
468
469taia_uint.o: compile tai.h taia.h taia_uint.c uint64.h
470        ./compile taia_uint.c
471
472time.a: iopause.o makelib tai_now.o tai_pack.o tai_sub.o tai_unpack.o \
473taia_add.o taia_approx.o taia_frac.o taia_less.o taia_now.o \
474taia_pack.o taia_sub.o taia_uint.o
475        ./makelib time.a iopause.o tai_now.o tai_pack.o tai_sub.o \
476        tai_unpack.o taia_add.o taia_approx.o taia_frac.o taia_less.o \
477        taia_now.o taia_pack.o taia_sub.o taia_uint.o
478
479timestamp.o: compile tai.h taia.h timestamp.c timestamp.h uint64.h
480        ./compile timestamp.c
481
482uint64.h: choose compile load tryulong64.c uint64.h1 uint64.h2
483        ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h
484
485unix.a: alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o buffer_2.o \
486buffer_get.o buffer_put.o buffer_read.o buffer_write.o coe.o env.o \
487error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o lock_exnb.o \
488makelib ndelay_off.o ndelay_on.o open_append.o open_read.o \
489open_trunc.o open_write.o openreadclose.o pathexec_env.o \
490pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o \
491sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o \
492stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o \
493stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o \
494wait_pid.o
495        ./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o \
496        buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o \
497        coe.o env.o error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o \
498        lock_exnb.o ndelay_off.o ndelay_on.o open_append.o open_read.o \
499        open_trunc.o open_write.o openreadclose.o pathexec_env.o \
500        pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o \
501        sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o \
502        stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o \
503        stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o \
504        wait_pid.o
505
506wait_nohang.o: compile haswaitp.h wait_nohang.c
507        ./compile wait_nohang.c
508
509wait_pid.o: compile error.h haswaitp.h wait_pid.c
510        ./compile wait_pid.c
511
Note: See TracBrowser for help on using the repository browser.