blob: b21ac3c9817916bc9cc67db5e6a1f3943e9ef1d4 [file] [log] [blame]
Richard Levitteeb647302000-10-27 11:05:35 +00001#
Ben Laurie42ba5d22005-03-30 13:05:57 +00002# OpenSSL/ocsp/Makefile
Richard Levitteeb647302000-10-27 11:05:35 +00003#
4
5DIR= ocsp
6TOP= ../..
7CC= cc
Richard Levitte41d2a332001-02-22 14:45:02 +00008INCLUDES= -I.. -I$(TOP) -I../../include
Richard Levitteeb647302000-10-27 11:05:35 +00009CFLAG=-g
Ben Laurie42ba5d22005-03-30 13:05:57 +000010MAKEFILE= Makefile
Richard Levitteeb647302000-10-27 11:05:35 +000011AR= ar r
12
13CFLAGS= $(INCLUDES) $(CFLAG)
14
15GENERAL=Makefile README
16TEST=
17APPS=
18
19LIB=$(TOP)/libcrypto.a
Dr. Stephen Henson9b4dc832001-01-11 00:52:50 +000020LIBSRC= ocsp_asn.c ocsp_ext.c ocsp_ht.c ocsp_lib.c ocsp_cl.c \
Dr. Stephen Henson02e4fbe2001-02-03 19:20:45 +000021 ocsp_srv.c ocsp_prn.c ocsp_vfy.c ocsp_err.c
Dr. Stephen Henson1f47ec52000-12-17 14:09:43 +000022
Dr. Stephen Henson9b4dc832001-01-11 00:52:50 +000023LIBOBJ= ocsp_asn.o ocsp_ext.o ocsp_ht.o ocsp_lib.o ocsp_cl.o \
Dr. Stephen Henson02e4fbe2001-02-03 19:20:45 +000024 ocsp_srv.o ocsp_prn.o ocsp_vfy.o ocsp_err.o
Richard Levitteeb647302000-10-27 11:05:35 +000025
26SRC= $(LIBSRC)
27
28EXHEADER= ocsp.h
29HEADER= $(EXHEADER)
30
31ALL= $(GENERAL) $(SRC) $(HEADER)
32
33top:
34 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
35
36all: lib
37
38lib: $(LIBOBJ)
Dr. Stephen Hensondf6de392011-01-26 16:08:08 +000039 $(ARX) $(LIB) $(LIBOBJ)
Lutz Jänicke018c56f2003-01-16 17:22:30 +000040 $(RANLIB) $(LIB) || echo Never mind.
Richard Levitteeb647302000-10-27 11:05:35 +000041 @touch lib
42
43files:
Ben Laurie42ba5d22005-03-30 13:05:57 +000044 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
Richard Levitteeb647302000-10-27 11:05:35 +000045
46links:
Richard Levittebd459502002-08-01 14:18:52 +000047 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
48 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
49 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
Richard Levitteeb647302000-10-27 11:05:35 +000050
51install:
Andy Polyakov81a86fc2005-05-15 22:23:26 +000052 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
Richard Levittea2ac4292004-11-02 23:55:01 +000053 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
Richard Levitteeb647302000-10-27 11:05:35 +000054 do \
55 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
56 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
57 done;
58
59tags:
60 ctags $(SRC)
61
62tests:
63
64lint:
65 lint -DLINT $(INCLUDES) $(SRC)>fluff
66
67depend:
Andy Polyakovce92b6e2005-05-16 16:55:47 +000068 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
Richard Levitte001ab3a2002-10-09 13:25:12 +000069 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
Richard Levitteeb647302000-10-27 11:05:35 +000070
71dclean:
72 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73 mv -f Makefile.new $(MAKEFILE)
74
75clean:
76 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
77
78# DO NOT DELETE THIS LINE -- make depend depends on it.
79
Richard Levitte5e42f9a2002-12-29 01:38:15 +000080ocsp_asn.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
Geoff Thorpe9c52d2c2004-05-17 19:26:06 +000081ocsp_asn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
82ocsp_asn.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
83ocsp_asn.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
84ocsp_asn.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
85ocsp_asn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
86ocsp_asn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
87ocsp_asn.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
Richard Levittef8000b92001-10-04 07:49:09 +000088ocsp_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
Geoff Thorpec57bc2d2004-04-19 18:33:41 +000089ocsp_asn.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
90ocsp_asn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
91ocsp_asn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
92ocsp_asn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
93ocsp_asn.o: ocsp_asn.c
Richard Levitte5e42f9a2002-12-29 01:38:15 +000094ocsp_cl.o: ../../e_os.h ../../include/openssl/asn1.h
Geoff Thorpe9c52d2c2004-05-17 19:26:06 +000095ocsp_cl.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
96ocsp_cl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
97ocsp_cl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
98ocsp_cl.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
99ocsp_cl.o: ../../include/openssl/err.h ../../include/openssl/evp.h
100ocsp_cl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
101ocsp_cl.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
102ocsp_cl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
103ocsp_cl.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
104ocsp_cl.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
105ocsp_cl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
106ocsp_cl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
107ocsp_cl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
108ocsp_cl.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
109ocsp_cl.o: ../cryptlib.h ocsp_cl.c
Richard Levitte5e42f9a2002-12-29 01:38:15 +0000110ocsp_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
Geoff Thorpe9c52d2c2004-05-17 19:26:06 +0000111ocsp_err.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
112ocsp_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
113ocsp_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
114ocsp_err.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
115ocsp_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
116ocsp_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
117ocsp_err.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
Richard Levittef8000b92001-10-04 07:49:09 +0000118ocsp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
Geoff Thorpec57bc2d2004-04-19 18:33:41 +0000119ocsp_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
120ocsp_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
121ocsp_err.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
122ocsp_err.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
123ocsp_err.o: ocsp_err.c
Richard Levitte5e42f9a2002-12-29 01:38:15 +0000124ocsp_ext.o: ../../e_os.h ../../include/openssl/asn1.h
Geoff Thorpe9c52d2c2004-05-17 19:26:06 +0000125ocsp_ext.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
126ocsp_ext.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
127ocsp_ext.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
128ocsp_ext.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
129ocsp_ext.o: ../../include/openssl/err.h ../../include/openssl/evp.h
130ocsp_ext.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
131ocsp_ext.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
132ocsp_ext.o: ../../include/openssl/opensslconf.h
Richard Levittef8000b92001-10-04 07:49:09 +0000133ocsp_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
134ocsp_ext.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
Geoff Thorpec57bc2d2004-04-19 18:33:41 +0000135ocsp_ext.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
136ocsp_ext.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
137ocsp_ext.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
138ocsp_ext.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_ext.c
Ben Laurie23b973e2009-01-01 18:30:51 +0000139ocsp_ht.o: ../../e_os.h ../../include/openssl/asn1.h
140ocsp_ht.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
141ocsp_ht.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
142ocsp_ht.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
143ocsp_ht.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
144ocsp_ht.o: ../../include/openssl/err.h ../../include/openssl/evp.h
145ocsp_ht.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
146ocsp_ht.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
147ocsp_ht.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
148ocsp_ht.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
149ocsp_ht.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
150ocsp_ht.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
151ocsp_ht.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
152ocsp_ht.o: ../../include/openssl/x509v3.h ocsp_ht.c
Richard Levitte5e42f9a2002-12-29 01:38:15 +0000153ocsp_lib.o: ../../e_os.h ../../include/openssl/asn1.h
Dr. Stephen Henson4d7aff72006-11-30 13:41:47 +0000154ocsp_lib.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
155ocsp_lib.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
156ocsp_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
157ocsp_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
158ocsp_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
159ocsp_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
160ocsp_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
161ocsp_lib.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
Richard Levittef8000b92001-10-04 07:49:09 +0000162ocsp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
163ocsp_lib.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
164ocsp_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
Geoff Thorpec57bc2d2004-04-19 18:33:41 +0000165ocsp_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
166ocsp_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
167ocsp_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
168ocsp_lib.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_lib.c
Richard Levitte5e42f9a2002-12-29 01:38:15 +0000169ocsp_prn.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
Geoff Thorpe9c52d2c2004-05-17 19:26:06 +0000170ocsp_prn.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
171ocsp_prn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
172ocsp_prn.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
173ocsp_prn.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
174ocsp_prn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
175ocsp_prn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
176ocsp_prn.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
Richard Levittef8000b92001-10-04 07:49:09 +0000177ocsp_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
178ocsp_prn.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
Geoff Thorpec57bc2d2004-04-19 18:33:41 +0000179ocsp_prn.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
180ocsp_prn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
181ocsp_prn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
182ocsp_prn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
183ocsp_prn.o: ocsp_prn.c
Richard Levitte5e42f9a2002-12-29 01:38:15 +0000184ocsp_srv.o: ../../e_os.h ../../include/openssl/asn1.h
Geoff Thorpe9c52d2c2004-05-17 19:26:06 +0000185ocsp_srv.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
186ocsp_srv.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
187ocsp_srv.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
188ocsp_srv.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
189ocsp_srv.o: ../../include/openssl/err.h ../../include/openssl/evp.h
190ocsp_srv.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
191ocsp_srv.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
192ocsp_srv.o: ../../include/openssl/opensslconf.h
Richard Levittef8000b92001-10-04 07:49:09 +0000193ocsp_srv.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
194ocsp_srv.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
195ocsp_srv.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
Geoff Thorpec57bc2d2004-04-19 18:33:41 +0000196ocsp_srv.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
197ocsp_srv.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
198ocsp_srv.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
199ocsp_srv.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_srv.c
Richard Levitte5e42f9a2002-12-29 01:38:15 +0000200ocsp_vfy.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
Geoff Thorpe9c52d2c2004-05-17 19:26:06 +0000201ocsp_vfy.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
202ocsp_vfy.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
203ocsp_vfy.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
204ocsp_vfy.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
205ocsp_vfy.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
206ocsp_vfy.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
207ocsp_vfy.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
Richard Levittef8000b92001-10-04 07:49:09 +0000208ocsp_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
Geoff Thorpec57bc2d2004-04-19 18:33:41 +0000209ocsp_vfy.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
210ocsp_vfy.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
211ocsp_vfy.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
212ocsp_vfy.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
213ocsp_vfy.o: ocsp_vfy.c