]> git.saurik.com Git - apple/security.git/blob - SecuritySNACCRuntime/tbl-tools/makefile
Security-54.1.tar.gz
[apple/security.git] / SecuritySNACCRuntime / tbl-tools / makefile
1 #
2 # Makes all of the type table tools
3 # (currently mkchdr, pval and ptbl)
4 #
5 # The library in snacc/tbl-lib must be made prior to making these tools
6 #
7 # MS 93
8 #
9 # $Header: /cvs/Darwin/Security/SecuritySNACCRuntime/tbl-tools/makefile,v 1.1.1.1 2001/05/18 23:14:10 mb Exp $
10 # $Log: makefile,v $
11 # Revision 1.1.1.1 2001/05/18 23:14:10 mb
12 # Move from private repository to open source repository
13 #
14 # Revision 1.2 2000/05/10 21:40:50 rmurphy
15 # removing makefile ref to unavailable subdirectories
16 #
17 # Revision 1.1.1.1 1999/03/16 18:06:54 aram
18 # Originals from SMIME Free Library.
19 #
20 # Revision 1.2 1997/08/27 15:55:44 wan
21 # Added generic table decoding, debug routines, berdecode, and asnwish.
22 #
23 # Revision 1.1 1997/01/02 09:25:24 rj
24 # first check-in
25 #
26
27 SUBDIRS = # mkchdr pval ptbl berdecode
28
29 #-------------------------------------------------------------------------------
30
31 .PHONY: implicit_default subdirs
32
33 implicit_default:: subdirs
34
35 subdirs:: $(SUBDIRS)
36 $(SUBDIRS)::
37 cd $@ && $(MAKE) $(subtarget)
38
39 # the following hack is needed for older make versions (gmake doesn't need it):
40 init-depend::
41 @for dir in $(SUBDIRS); do\
42 test -f $$dir/dependencies || touch $$dir/dependencies;\
43 done
44
45 .DEFAULT::
46 $(MAKE) subdirs subtarget=$@
47
48 distfiles::
49 echo makefile
50 for dir in $(SUBDIRS); do\
51 subfiles=`cd $$dir && $(MAKE) -s $@`;\
52 for file in $$subfiles; do\
53 echo "$$dir/$$file";\
54 done;\
55 done