Makefile.ssl 12.1 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 28 29
	engine_evp.c \
	hw_atalla.c hw_cswift.c hw_ncipher.c hw_nuron.c hw_ubsec.c \
	hw_openbsd_dev_crypto.c
30
LIBOBJ= engine_err.o engine_lib.o engine_list.o engine_all.o engine_openssl.o \
31 32 33
	engine_evp.o \
	hw_atalla.o hw_cswift.o hw_ncipher.o hw_nuron.o hw_ubsec.o \
	hw_openbsd_dev_crypto.o
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 85 86 87

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