Makefile.ssl 15.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
#
# OpenSSL/ocsp/Makefile.ssl
#

DIR=	ocsp
TOP=	../..
CC=	cc
INCLUDES= -I.. -I../../include
CFLAG=-g
INSTALL_PREFIX=
OPENSSLDIR=     /usr/local/ssl
INSTALLTOP=/usr/local/ssl
MAKE=		make -f Makefile.ssl
14 15
MAKEDEPPROG=	makedepend
MAKEDEPEND=	$(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 17 18 19 20 21 22 23 24 25
MAKEFILE=	Makefile.ssl
AR=		ar r

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile README
TEST=
APPS=

LIB=$(TOP)/libcrypto.a
D
 
Dr. Stephen Henson 已提交
26
LIBSRC= ocsp_asn.c ocsp_ext.c ocsp_ht.c ocsp_lib.c ocsp_cl.c \
D
 
Dr. Stephen Henson 已提交
27
	ocsp_srv.c ocsp_prn.c ocsp_vfy.c ocsp_err.c
D
 
Dr. Stephen Henson 已提交
28

D
 
Dr. Stephen Henson 已提交
29
LIBOBJ= ocsp_asn.o ocsp_ext.o ocsp_ht.o ocsp_lib.o ocsp_cl.o \
D
 
Dr. Stephen Henson 已提交
30
	ocsp_srv.o ocsp_prn.o ocsp_vfy.o ocsp_err.o
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84

SRC= $(LIBSRC)

EXHEADER= ocsp.h
HEADER=	$(EXHEADER)

ALL=    $(GENERAL) $(SRC) $(HEADER)

top:
	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)

all:	lib

lib:	$(LIBOBJ)
	$(AR) $(LIB) $(LIBOBJ)
	$(RANLIB) $(LIB)
	@touch lib

files:
	perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO

links:
	$(TOP)/util/point.sh Makefile.ssl Makefile ;
	$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
	$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
	$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)

install:
	@for i in $(EXHEADER) ; \
	do  \
	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
	done;

tags:
	ctags $(SRC)

tests:

lint:
	lint -DLINT $(INCLUDES) $(SRC)>fluff

depend:
	$(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(LIBSRC)

dclean:
	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
	mv -f Makefile.new $(MAKEFILE)

clean:
	rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff

# DO NOT DELETE THIS LINE -- make depend depends on it.

85 86 87 88 89 90
ocsp_asn.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
ocsp_asn.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
ocsp_asn.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
ocsp_asn.o: ../../include/openssl/cast.h ../../include/openssl/conf.h
ocsp_asn.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
ocsp_asn.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
91 92 93 94 95 96 97
ocsp_asn.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
ocsp_asn.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
ocsp_asn.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
ocsp_asn.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
ocsp_asn.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
ocsp_asn.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_asn.o: ../../include/openssl/opensslconf.h
98 99 100 101 102 103 104 105
ocsp_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
ocsp_asn.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
ocsp_asn.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
ocsp_asn.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
ocsp_asn.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
ocsp_asn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
ocsp_asn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
ocsp_asn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
106
ocsp_asn.o: ocsp_asn.c
B
Ben Laurie 已提交
107 108 109 110 111 112
ocsp_cl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
ocsp_cl.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
ocsp_cl.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
ocsp_cl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_cl.o: ../../include/openssl/des.h ../../include/openssl/dh.h
ocsp_cl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
ocsp_cl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
ocsp_cl.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
ocsp_cl.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
ocsp_cl.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
ocsp_cl.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
ocsp_cl.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_cl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
ocsp_cl.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
ocsp_cl.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
ocsp_cl.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
ocsp_cl.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
ocsp_cl.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
ocsp_cl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
ocsp_cl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
ocsp_cl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
ocsp_cl.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
ocsp_cl.o: ../cryptlib.h ocsp_cl.c
130 131 132 133 134 135
ocsp_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
ocsp_err.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
ocsp_err.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
ocsp_err.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_err.o: ../../include/openssl/des.h ../../include/openssl/dh.h
ocsp_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
136 137 138 139 140 141 142
ocsp_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
ocsp_err.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
ocsp_err.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
ocsp_err.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
ocsp_err.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
ocsp_err.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_err.o: ../../include/openssl/opensslconf.h
143 144
ocsp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
ocsp_err.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
145
ocsp_err.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
146 147 148 149 150
ocsp_err.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
ocsp_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
ocsp_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
ocsp_err.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
ocsp_err.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
151
ocsp_err.o: ocsp_err.c
152 153 154 155 156 157
ocsp_ext.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
ocsp_ext.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
ocsp_ext.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
ocsp_ext.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_ext.o: ../../include/openssl/des.h ../../include/openssl/dh.h
ocsp_ext.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
158 159 160 161 162 163 164
ocsp_ext.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
ocsp_ext.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
ocsp_ext.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
ocsp_ext.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
ocsp_ext.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
ocsp_ext.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_ext.o: ../../include/openssl/opensslconf.h
165
ocsp_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
B
Ben Laurie 已提交
166 167 168 169 170 171 172
ocsp_ext.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
ocsp_ext.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
ocsp_ext.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
ocsp_ext.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
ocsp_ext.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
ocsp_ext.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
ocsp_ext.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
173
ocsp_ext.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_ext.c
B
Ben Laurie 已提交
174 175 176 177 178 179
ocsp_ht.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
ocsp_ht.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
ocsp_ht.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
ocsp_ht.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_ht.o: ../../include/openssl/des.h ../../include/openssl/dh.h
ocsp_ht.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
ocsp_ht.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
ocsp_ht.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
ocsp_ht.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
ocsp_ht.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
ocsp_ht.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
ocsp_ht.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_ht.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
ocsp_ht.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
ocsp_ht.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
ocsp_ht.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
ocsp_ht.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
ocsp_ht.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
ocsp_ht.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
ocsp_ht.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
ocsp_ht.o: ../../include/openssl/x509v3.h ocsp_ht.c
195 196 197 198 199 200
ocsp_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
ocsp_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
ocsp_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
ocsp_lib.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_lib.o: ../../include/openssl/des.h ../../include/openssl/dh.h
ocsp_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
201 202 203 204 205 206 207
ocsp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
ocsp_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
ocsp_lib.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
ocsp_lib.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
ocsp_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
ocsp_lib.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_lib.o: ../../include/openssl/opensslconf.h
208 209
ocsp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
ocsp_lib.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
B
Ben Laurie 已提交
210 211 212 213 214 215 216
ocsp_lib.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
ocsp_lib.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
ocsp_lib.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
ocsp_lib.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
ocsp_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
ocsp_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
ocsp_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
217
ocsp_lib.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_lib.c
218 219 220 221 222 223
ocsp_prn.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
ocsp_prn.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
ocsp_prn.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
ocsp_prn.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_prn.o: ../../include/openssl/des.h ../../include/openssl/dh.h
ocsp_prn.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
224 225 226 227 228 229 230
ocsp_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
ocsp_prn.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
ocsp_prn.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
ocsp_prn.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
ocsp_prn.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
ocsp_prn.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_prn.o: ../../include/openssl/opensslconf.h
231 232 233 234 235 236 237 238 239
ocsp_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
ocsp_prn.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
ocsp_prn.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
ocsp_prn.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
ocsp_prn.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
ocsp_prn.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
ocsp_prn.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
ocsp_prn.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
ocsp_prn.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
240
ocsp_prn.o: ocsp_prn.c
D
 
Dr. Stephen Henson 已提交
241 242 243 244 245 246
ocsp_srv.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
ocsp_srv.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
ocsp_srv.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
ocsp_srv.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_srv.o: ../../include/openssl/des.h ../../include/openssl/dh.h
ocsp_srv.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
247 248 249 250 251 252 253
ocsp_srv.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
ocsp_srv.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
ocsp_srv.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
ocsp_srv.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
ocsp_srv.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
ocsp_srv.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_srv.o: ../../include/openssl/opensslconf.h
D
 
Dr. Stephen Henson 已提交
254 255 256 257 258 259 260 261 262
ocsp_srv.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
ocsp_srv.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
ocsp_srv.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
ocsp_srv.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
ocsp_srv.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
ocsp_srv.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
ocsp_srv.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
ocsp_srv.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
ocsp_srv.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
263
ocsp_srv.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_srv.c
B
Ben Laurie 已提交
264 265 266 267 268 269
ocsp_vfy.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
ocsp_vfy.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
ocsp_vfy.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
ocsp_vfy.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_vfy.o: ../../include/openssl/des.h ../../include/openssl/dh.h
ocsp_vfy.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
270 271 272 273 274 275 276
ocsp_vfy.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
ocsp_vfy.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
ocsp_vfy.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
ocsp_vfy.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
ocsp_vfy.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
ocsp_vfy.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_vfy.o: ../../include/openssl/opensslconf.h
B
Ben Laurie 已提交
277 278 279 280 281 282 283 284
ocsp_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
ocsp_vfy.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
ocsp_vfy.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
ocsp_vfy.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
ocsp_vfy.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
ocsp_vfy.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
ocsp_vfy.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
ocsp_vfy.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
285
ocsp_vfy.o: ocsp_vfy.c