Makefile.ssl 10.2 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
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
89
engine_all.o: ../../include/openssl/opensslconf.h
90 91
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 已提交
92
engine_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
93 94
engine_all.o: ../../include/openssl/types.h ../../include/openssl/ui.h
engine_all.o: engine_all.c engine_int.h
R
Richard Levitte 已提交
95
engine_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
96 97 98 99
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
100
engine_err.o: ../../include/openssl/opensslconf.h
101 102
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 已提交
103
engine_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
104 105
engine_err.o: ../../include/openssl/types.h ../../include/openssl/ui.h
engine_err.o: engine_err.c
106
engine_lib.o: ../../e_os.h ../../include/openssl/asn1.h
107 108 109 110
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
111
engine_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
112
engine_lib.o: ../../include/openssl/opensslconf.h
113 114
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 已提交
115
engine_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
116 117
engine_lib.o: ../../include/openssl/types.h ../../include/openssl/ui.h
engine_lib.o: ../cryptlib.h engine_int.h engine_lib.c
118
engine_list.o: ../../e_os.h ../../include/openssl/asn1.h
119 120 121 122
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
123
engine_list.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
124
engine_list.o: ../../include/openssl/opensslconf.h
125 126
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 已提交
127
engine_list.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
128 129
engine_list.o: ../../include/openssl/types.h ../../include/openssl/ui.h
engine_list.o: ../cryptlib.h engine_int.h engine_list.c
130
engine_openssl.o: ../../e_os.h ../../include/openssl/asn1.h
131 132 133 134 135
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
136
engine_openssl.o: ../../include/openssl/lhash.h
137
engine_openssl.o: ../../include/openssl/opensslconf.h
138 139
engine_openssl.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
engine_openssl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
140
engine_openssl.o: ../../include/openssl/stack.h
141 142
engine_openssl.o: ../../include/openssl/symhacks.h
engine_openssl.o: ../../include/openssl/types.h ../../include/openssl/ui.h
R
Richard Levitte 已提交
143
engine_openssl.o: ../cryptlib.h engine_openssl.c
144
hw_atalla.o: ../../e_os.h ../../include/openssl/asn1.h
145 146 147 148 149
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
150 151 152
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 已提交
153
hw_atalla.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
154 155
hw_atalla.o: ../../include/openssl/types.h ../../include/openssl/ui.h
hw_atalla.o: ../cryptlib.h hw_atalla.c vendor_defns/atalla.h
156
hw_cswift.o: ../../e_os.h ../../include/openssl/asn1.h
157 158 159 160 161
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
162 163 164
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 已提交
165
hw_cswift.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
166 167
hw_cswift.o: ../../include/openssl/types.h ../../include/openssl/ui.h
hw_cswift.o: ../cryptlib.h hw_cswift.c vendor_defns/cswift.h
168
hw_ncipher.o: ../../e_os.h ../../include/openssl/asn1.h
169 170 171 172 173 174
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
175
hw_ncipher.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
176 177 178
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
179
hw_ncipher.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
180 181
hw_ncipher.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
hw_ncipher.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
182 183 184
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
185
hw_nuron.o: ../../e_os.h ../../include/openssl/asn1.h
186 187 188 189 190
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
191 192 193
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 已提交
194
hw_nuron.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
195 196
hw_nuron.o: ../../include/openssl/types.h ../../include/openssl/ui.h
hw_nuron.o: ../cryptlib.h hw_nuron.c
197
hw_ubsec.o: ../../e_os.h ../../include/openssl/asn1.h
198 199 200 201 202
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
203 204 205
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 已提交
206
hw_ubsec.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
207 208
hw_ubsec.o: ../../include/openssl/types.h ../../include/openssl/ui.h
hw_ubsec.o: ../cryptlib.h hw_ubsec.c vendor_defns/hw_ubsec.h