Fool-proofing Makefiles
[openssl.git] / crypto / ocsp / Makefile
1 #
2 # OpenSSL/ocsp/Makefile
3 #
4
5 DIR=    ocsp
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 MAKEDEPPROG=    makedepend
11 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
12 MAKEFILE=       Makefile
13 AR=             ar r
14
15 CFLAGS= $(INCLUDES) $(CFLAG)
16
17 GENERAL=Makefile README
18 TEST=
19 APPS=
20
21 LIB=$(TOP)/libcrypto.a
22 LIBSRC= ocsp_asn.c ocsp_ext.c ocsp_ht.c ocsp_lib.c ocsp_cl.c \
23         ocsp_srv.c ocsp_prn.c ocsp_vfy.c ocsp_err.c
24
25 LIBOBJ= ocsp_asn.o ocsp_ext.o ocsp_ht.o ocsp_lib.o ocsp_cl.o \
26         ocsp_srv.o ocsp_prn.o ocsp_vfy.o ocsp_err.o
27
28 SRC= $(LIBSRC)
29
30 EXHEADER= ocsp.h
31 HEADER= $(EXHEADER)
32
33 ALL=    $(GENERAL) $(SRC) $(HEADER)
34
35 top:
36         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
37
38 all:    lib
39
40 lib:    $(LIBOBJ)
41         $(AR) $(LIB) $(LIBOBJ)
42         $(RANLIB) $(LIB) || echo Never mind.
43         @touch lib
44
45 files:
46         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
47
48 links:
49         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
50         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
51         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
52
53 install:
54         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
55         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
56         do  \
57         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
58         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
59         done;
60
61 tags:
62         ctags $(SRC)
63
64 tests:
65
66 lint:
67         lint -DLINT $(INCLUDES) $(SRC)>fluff
68
69 depend:
70         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
71
72 dclean:
73         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
74         mv -f Makefile.new $(MAKEFILE)
75
76 clean:
77         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
78
79 # DO NOT DELETE THIS LINE -- make depend depends on it.
80
81 ocsp_asn.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
82 ocsp_asn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
83 ocsp_asn.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
84 ocsp_asn.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
85 ocsp_asn.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
86 ocsp_asn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
87 ocsp_asn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
88 ocsp_asn.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
89 ocsp_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
90 ocsp_asn.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
91 ocsp_asn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
92 ocsp_asn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
93 ocsp_asn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
94 ocsp_asn.o: ocsp_asn.c
95 ocsp_cl.o: ../../e_os.h ../../include/openssl/asn1.h
96 ocsp_cl.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
97 ocsp_cl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
98 ocsp_cl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
99 ocsp_cl.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
100 ocsp_cl.o: ../../include/openssl/err.h ../../include/openssl/evp.h
101 ocsp_cl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
102 ocsp_cl.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
103 ocsp_cl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
104 ocsp_cl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
105 ocsp_cl.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
106 ocsp_cl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
107 ocsp_cl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
108 ocsp_cl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
109 ocsp_cl.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
110 ocsp_cl.o: ../cryptlib.h ocsp_cl.c
111 ocsp_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
112 ocsp_err.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
113 ocsp_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
114 ocsp_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
115 ocsp_err.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
116 ocsp_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
117 ocsp_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
118 ocsp_err.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
119 ocsp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
120 ocsp_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
121 ocsp_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
122 ocsp_err.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
123 ocsp_err.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
124 ocsp_err.o: ocsp_err.c
125 ocsp_ext.o: ../../e_os.h ../../include/openssl/asn1.h
126 ocsp_ext.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
127 ocsp_ext.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
128 ocsp_ext.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
129 ocsp_ext.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
130 ocsp_ext.o: ../../include/openssl/err.h ../../include/openssl/evp.h
131 ocsp_ext.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
132 ocsp_ext.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
133 ocsp_ext.o: ../../include/openssl/opensslconf.h
134 ocsp_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
135 ocsp_ext.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
136 ocsp_ext.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
137 ocsp_ext.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
138 ocsp_ext.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
139 ocsp_ext.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_ext.c
140 ocsp_ht.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
141 ocsp_ht.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
142 ocsp_ht.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
143 ocsp_ht.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
144 ocsp_ht.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
145 ocsp_ht.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
146 ocsp_ht.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
147 ocsp_ht.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
148 ocsp_ht.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
149 ocsp_ht.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
150 ocsp_ht.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
151 ocsp_ht.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
152 ocsp_ht.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
153 ocsp_ht.o: ocsp_ht.c
154 ocsp_lib.o: ../../e_os.h ../../include/openssl/asn1.h
155 ocsp_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
156 ocsp_lib.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
157 ocsp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
158 ocsp_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
159 ocsp_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
160 ocsp_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
161 ocsp_lib.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
162 ocsp_lib.o: ../../include/openssl/opensslconf.h
163 ocsp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
164 ocsp_lib.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
165 ocsp_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
166 ocsp_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
167 ocsp_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
168 ocsp_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
169 ocsp_lib.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_lib.c
170 ocsp_prn.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
171 ocsp_prn.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
172 ocsp_prn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
173 ocsp_prn.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
174 ocsp_prn.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
175 ocsp_prn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
176 ocsp_prn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
177 ocsp_prn.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
178 ocsp_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
179 ocsp_prn.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
180 ocsp_prn.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
181 ocsp_prn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
182 ocsp_prn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
183 ocsp_prn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
184 ocsp_prn.o: ocsp_prn.c
185 ocsp_srv.o: ../../e_os.h ../../include/openssl/asn1.h
186 ocsp_srv.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
187 ocsp_srv.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
188 ocsp_srv.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
189 ocsp_srv.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
190 ocsp_srv.o: ../../include/openssl/err.h ../../include/openssl/evp.h
191 ocsp_srv.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
192 ocsp_srv.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
193 ocsp_srv.o: ../../include/openssl/opensslconf.h
194 ocsp_srv.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
195 ocsp_srv.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
196 ocsp_srv.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
197 ocsp_srv.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
198 ocsp_srv.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
199 ocsp_srv.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
200 ocsp_srv.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_srv.c
201 ocsp_vfy.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
202 ocsp_vfy.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
203 ocsp_vfy.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
204 ocsp_vfy.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
205 ocsp_vfy.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
206 ocsp_vfy.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
207 ocsp_vfy.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
208 ocsp_vfy.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
209 ocsp_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
210 ocsp_vfy.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
211 ocsp_vfy.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
212 ocsp_vfy.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
213 ocsp_vfy.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
214 ocsp_vfy.o: ocsp_vfy.c