]> git.saurik.com Git - apple/security.git/blame - SecuritySNACCRuntime/tbl-tools/makefile
Security-54.1.9.tar.gz
[apple/security.git] / SecuritySNACCRuntime / tbl-tools / makefile
CommitLineData
bac41a7b
A
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#
a66d0d4a 9# $Header: /cvs/root/Security/SecuritySNACCRuntime/tbl-tools/Attic/makefile,v 1.1.1.1 2001/05/18 23:14:10 mb Exp $
bac41a7b
A
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
27SUBDIRS = # mkchdr pval ptbl berdecode
28
29#-------------------------------------------------------------------------------
30
31.PHONY: implicit_default subdirs
32
33implicit_default:: subdirs
34
35subdirs:: $(SUBDIRS)
36$(SUBDIRS)::
37 cd $@ && $(MAKE) $(subtarget)
38
39# the following hack is needed for older make versions (gmake doesn't need it):
40init-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
48distfiles::
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