Makefile.ssl 10.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 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.

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