Makefile.ssl 11.9 KB
Newer Older
1 2 3 4 5 6 7
#
# OpenSSL/ocsp/Makefile.ssl
#

DIR=	ocsp
TOP=	../..
CC=	cc
8
INCLUDES= -I.. -I$(TOP) -I../../include
9 10 11 12 13
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

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:
74
	$(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC)
75 76 77 78 79 80 81 82 83 84

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.

R
Richard Levitte 已提交
85
ocsp_asn.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
86 87 88 89
ocsp_asn.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
ocsp_asn.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
ocsp_asn.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
ocsp_asn.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
B
Bodo Möller 已提交
90
ocsp_asn.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
91
ocsp_asn.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
R
Richard Levitte 已提交
92 93
ocsp_asn.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
ocsp_asn.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
94 95 96 97
ocsp_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
ocsp_asn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
ocsp_asn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
ocsp_asn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
98 99
ocsp_asn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
ocsp_asn.o: ../../include/openssl/x509v3.h ocsp_asn.c
100
ocsp_cl.o: ../../e_os.h ../../include/openssl/asn1.h
B
Bodo Möller 已提交
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
ocsp_cl.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
ocsp_cl.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
ocsp_cl.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_cl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
ocsp_cl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
ocsp_cl.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
ocsp_cl.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
ocsp_cl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
ocsp_cl.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
ocsp_cl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.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/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
ocsp_err.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
ocsp_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
ocsp_err.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
ocsp_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
ocsp_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
ocsp_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
ocsp_err.o: ../../include/openssl/err.h ../../include/openssl/evp.h
ocsp_err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
ocsp_err.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_err.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
128 129 130 131
ocsp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
ocsp_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
ocsp_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
ocsp_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
132 133
ocsp_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
ocsp_err.o: ../../include/openssl/x509v3.h ocsp_err.c
134
ocsp_ext.o: ../../e_os.h ../../include/openssl/asn1.h
B
Bodo Möller 已提交
135 136 137 138 139 140 141 142 143
ocsp_ext.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
ocsp_ext.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
ocsp_ext.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_ext.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
ocsp_ext.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
ocsp_ext.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
ocsp_ext.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
ocsp_ext.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
ocsp_ext.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
144 145 146 147 148
ocsp_ext.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
ocsp_ext.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
ocsp_ext.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
ocsp_ext.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
ocsp_ext.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
149 150
ocsp_ext.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
ocsp_ext.o: ../cryptlib.h ocsp_ext.c
B
Bodo Möller 已提交
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
ocsp_ht.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
ocsp_ht.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
ocsp_ht.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
ocsp_ht.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
ocsp_ht.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
ocsp_ht.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
ocsp_ht.o: ../../include/openssl/err.h ../../include/openssl/evp.h
ocsp_ht.o: ../../include/openssl/lhash.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/ossl_typ.h ../../include/openssl/pkcs7.h
ocsp_ht.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
ocsp_ht.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
ocsp_ht.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
ocsp_ht.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
ocsp_ht.o: ocsp_ht.c
167
ocsp_lib.o: ../../e_os.h ../../include/openssl/asn1.h
B
Bodo Möller 已提交
168 169 170 171 172 173 174 175 176
ocsp_lib.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
ocsp_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
ocsp_lib.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
ocsp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
ocsp_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
ocsp_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
ocsp_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
ocsp_lib.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
177 178 179 180 181 182
ocsp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
ocsp_lib.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
ocsp_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
ocsp_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
ocsp_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
ocsp_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
183 184
ocsp_lib.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
ocsp_lib.o: ../cryptlib.h ocsp_lib.c
B
Bodo Möller 已提交
185 186 187 188 189 190 191 192 193 194
ocsp_prn.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
ocsp_prn.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
ocsp_prn.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
ocsp_prn.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
ocsp_prn.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
ocsp_prn.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
ocsp_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
ocsp_prn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
ocsp_prn.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_prn.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
195 196 197 198 199
ocsp_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
ocsp_prn.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
ocsp_prn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
ocsp_prn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
ocsp_prn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
200 201
ocsp_prn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
ocsp_prn.o: ../../include/openssl/x509v3.h ocsp_prn.c
202
ocsp_srv.o: ../../e_os.h ../../include/openssl/asn1.h
B
Bodo Möller 已提交
203 204 205 206 207 208 209 210 211
ocsp_srv.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
ocsp_srv.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
ocsp_srv.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
ocsp_srv.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
ocsp_srv.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
ocsp_srv.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
ocsp_srv.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
ocsp_srv.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
ocsp_srv.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
212 213 214 215 216 217
ocsp_srv.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
ocsp_srv.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
ocsp_srv.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
ocsp_srv.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
ocsp_srv.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
ocsp_srv.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
218 219
ocsp_srv.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
ocsp_srv.o: ../cryptlib.h ocsp_srv.c
B
Bodo Möller 已提交
220 221 222 223 224 225 226 227 228 229
ocsp_vfy.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
ocsp_vfy.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
ocsp_vfy.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
ocsp_vfy.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
ocsp_vfy.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
ocsp_vfy.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
ocsp_vfy.o: ../../include/openssl/err.h ../../include/openssl/evp.h
ocsp_vfy.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
ocsp_vfy.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
ocsp_vfy.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
230 231 232 233
ocsp_vfy.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
ocsp_vfy.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
ocsp_vfy.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
ocsp_vfy.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
234 235
ocsp_vfy.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
ocsp_vfy.o: ../../include/openssl/x509v3.h ocsp_vfy.c