Makefile.ssl 12.7 KB
Newer Older
1 2 3 4 5 6 7
#
# OpenSSL/crypto/engine/Makefile
#

DIR=	engine
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
TEST= enginetest.c
APPS=

LIB=$(TOP)/libcrypto.a
26
LIBSRC= engine_err.c engine_lib.c engine_list.c engine_all.c engine_openssl.c \
27
	hw_atalla.c hw_cswift.c hw_ncipher.c hw_nuron.c hw_ubsec.c
28
LIBOBJ= engine_err.o engine_lib.o engine_list.o engine_all.o engine_openssl.o \
29
	hw_atalla.o hw_cswift.o hw_ncipher.o hw_nuron.o hw_ubsec.o
30 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

SRC= $(LIBSRC)

EXHEADER= engine.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) $(PROGS) $(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 */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff

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

R
Richard Levitte 已提交
84
engine_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
85 86 87 88 89
engine_all.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
engine_all.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
engine_all.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
engine_all.o: ../../include/openssl/engine.h ../../include/openssl/err.h
engine_all.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
R
Richard Levitte 已提交
90
engine_all.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
91
engine_all.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
92 93
engine_all.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
engine_all.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
94
engine_all.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
R
Richard Levitte 已提交
95 96
engine_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
engine_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
97
engine_all.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
98
engine_all.o: ../../include/openssl/x509_vfy.h engine_int.h
R
Richard Levitte 已提交
99
engine_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
100 101 102 103 104
engine_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
engine_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
engine_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
engine_err.o: ../../include/openssl/engine.h ../../include/openssl/err.h
engine_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
R
Richard Levitte 已提交
105
engine_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
106
engine_err.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
107 108
engine_err.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
engine_err.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
109
engine_err.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
R
Richard Levitte 已提交
110 111
engine_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
engine_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
112
engine_err.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
113
engine_err.o: ../../include/openssl/x509_vfy.h
114
engine_lib.o: ../../e_os.h ../../include/openssl/asn1.h
115 116 117 118 119 120
engine_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
engine_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
engine_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
engine_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
engine_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
engine_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
121
engine_lib.o: ../../include/openssl/objects.h
122
engine_lib.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
123 124
engine_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
engine_lib.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
125
engine_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
R
Richard Levitte 已提交
126 127
engine_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
engine_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
128 129
engine_lib.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
engine_lib.o: ../../include/openssl/x509_vfy.h ../cryptlib.h engine_int.h
130
engine_list.o: ../../e_os.h ../../include/openssl/asn1.h
131 132 133 134 135 136
engine_list.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
engine_list.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
engine_list.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
engine_list.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
engine_list.o: ../../include/openssl/err.h ../../include/openssl/evp.h
engine_list.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
137
engine_list.o: ../../include/openssl/objects.h
138
engine_list.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
139 140
engine_list.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
engine_list.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
141
engine_list.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
R
Richard Levitte 已提交
142 143
engine_list.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
engine_list.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
144 145
engine_list.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
engine_list.o: ../../include/openssl/x509_vfy.h ../cryptlib.h engine_int.h
146
engine_openssl.o: ../../e_os.h ../../include/openssl/asn1.h
147 148 149 150 151 152
engine_openssl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
engine_openssl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
engine_openssl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
engine_openssl.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
engine_openssl.o: ../../include/openssl/engine.h ../../include/openssl/err.h
engine_openssl.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
153
engine_openssl.o: ../../include/openssl/obj_mac.h
154 155
engine_openssl.o: ../../include/openssl/objects.h
engine_openssl.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
156 157
engine_openssl.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
engine_openssl.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
158
engine_openssl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
159 160
engine_openssl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
engine_openssl.o: ../../include/openssl/stack.h
R
Richard Levitte 已提交
161 162
engine_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
engine_openssl.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
163
engine_openssl.o: ../cryptlib.h
164
hw_atalla.o: ../../e_os.h ../../include/openssl/asn1.h
165 166 167 168 169 170
hw_atalla.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
hw_atalla.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
hw_atalla.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
hw_atalla.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
hw_atalla.o: ../../include/openssl/engine.h ../../include/openssl/err.h
hw_atalla.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
171
hw_atalla.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
172
hw_atalla.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
173 174
hw_atalla.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
hw_atalla.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
175
hw_atalla.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
R
Richard Levitte 已提交
176 177
hw_atalla.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
hw_atalla.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
178
hw_atalla.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
179
hw_atalla.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
R
Richard Levitte 已提交
180
hw_atalla.o: vendor_defns/atalla.h
181
hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h
182 183 184 185 186 187
hw_cswift.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
hw_cswift.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
hw_cswift.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
hw_cswift.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
hw_cswift.o: ../../include/openssl/engine.h ../../include/openssl/err.h
hw_cswift.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
188
hw_cswift.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
189
hw_cswift.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
190 191
hw_cswift.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
hw_cswift.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
192
hw_cswift.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
R
Richard Levitte 已提交
193 194
hw_cswift.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
hw_cswift.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
195
hw_cswift.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
196
hw_cswift.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
R
Richard Levitte 已提交
197
hw_cswift.o: vendor_defns/cswift.h
198
hw_ncipher.o: ../../e_os.h ../../include/openssl/asn1.h
199 200 201 202 203 204
hw_ncipher.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
hw_ncipher.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
hw_ncipher.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
hw_ncipher.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
hw_ncipher.o: ../../include/openssl/engine.h ../../include/openssl/err.h
hw_ncipher.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
205
hw_ncipher.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
206 207 208
hw_ncipher.o: ../../include/openssl/opensslconf.h
hw_ncipher.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
hw_ncipher.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
209
hw_ncipher.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
210 211
hw_ncipher.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
hw_ncipher.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
212
hw_ncipher.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
213
hw_ncipher.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
R
Richard Levitte 已提交
214
hw_ncipher.o: vendor_defns/hwcryptohook.h
215
hw_nuron.o: ../../e_os.h ../../include/openssl/asn1.h
216 217 218 219 220 221
hw_nuron.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
hw_nuron.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
hw_nuron.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
hw_nuron.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
hw_nuron.o: ../../include/openssl/engine.h ../../include/openssl/err.h
hw_nuron.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
222 223
hw_nuron.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
hw_nuron.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
224 225
hw_nuron.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
hw_nuron.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
226
hw_nuron.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
R
Richard Levitte 已提交
227 228
hw_nuron.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
hw_nuron.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
229
hw_nuron.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
230
hw_nuron.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
231
hw_ubsec.o: ../../e_os.h ../../include/openssl/asn1.h
232 233 234 235 236 237
hw_ubsec.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
hw_ubsec.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
hw_ubsec.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
hw_ubsec.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
hw_ubsec.o: ../../include/openssl/engine.h ../../include/openssl/err.h
hw_ubsec.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
238 239
hw_ubsec.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
hw_ubsec.o: ../../include/openssl/opensslconf.h
R
Richard Levitte 已提交
240 241
hw_ubsec.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
hw_ubsec.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
242
hw_ubsec.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
R
Richard Levitte 已提交
243 244
hw_ubsec.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
hw_ubsec.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
245
hw_ubsec.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
246
hw_ubsec.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
R
Richard Levitte 已提交
247
hw_ubsec.o: vendor_defns/hw_ubsec.h