]>
Commit | Line | Data |
---|---|---|
bac41a7b A |
1 | # c-examples/makefile |
2 | # | |
a66d0d4a | 3 | # $Header: /cvs/root/Security/SecuritySNACCRuntime/c-examples/Attic/makefile,v 1.1.1.1 2001/05/18 23:14:07 mb Exp $ |
bac41a7b A |
4 | # $Log: makefile,v $ |
5 | # Revision 1.1.1.1 2001/05/18 23:14:07 mb | |
6 | # Move from private repository to open source repository | |
7 | # | |
8 | # Revision 1.2 2000/06/08 20:06:37 dmitch | |
9 | # Mods for X port. | |
10 | # | |
11 | # Revision 1.1.1.1 1999/03/16 18:06:08 aram | |
12 | # Originals from SMIME Free Library. | |
13 | # | |
14 | # Revision 1.2 1995/07/24 20:38:56 rj | |
15 | # `cd && make' instead of `cd; make'. | |
16 | # | |
17 | # changed `_' to `-' in file names. | |
18 | # | |
19 | ||
20 | # Appple change: snmp test does not work. | |
21 | #SUBDIRS = test-lib simple any snmp | |
22 | SUBDIRS = test-lib simple any | |
23 | ||
24 | #------------------------------------------------------------------------------- | |
25 | ||
26 | .PHONY: implicit_default | |
27 | implicit_default:: | |
28 | $(MAKE) subdirs | |
29 | ||
30 | subdirs:: $(SUBDIRS) | |
31 | $(SUBDIRS):: | |
32 | cd $@ && $(MAKE) $(subtarget) | |
33 | ||
34 | # the following hack is needed for older make versions (gmake doesn't need it): | |
35 | init-depend:: | |
36 | @for dir in $(SUBDIRS); do\ | |
37 | test -f $$dir/dependencies || touch $$dir/dependencies;\ | |
38 | done | |
39 | ||
40 | .DEFAULT:: | |
41 | $(MAKE) subdirs subtarget=$@ | |
42 | ||
43 | distfiles:: | |
44 | echo makefile | |
45 | for dir in $(SUBDIRS); do\ | |
46 | subfiles=`cd $$dir && $(MAKE) -s $@`;\ | |
47 | for file in $$subfiles; do\ | |
48 | echo "$$dir/$$file";\ | |
49 | done;\ | |
50 | done | |
51 | ||
52 | # dummy: | |
53 | install:: |