Makefile.ssl 15.2 KB
Newer Older
1
#
2
# SSLeay/crypto/pkcs12/Makefile
3 4 5 6 7
#

DIR=	pkcs12
TOP=	../..
CC=	cc
8
INCLUDES= -I.. -I$(TOP) -I../../include
9
CFLAG=-g
10 11
INSTALL_PREFIX=
OPENSSLDIR=     /usr/local/ssl
12 13
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=
APPS=

LIB=$(TOP)/libcrypto.a
D
 
Dr. Stephen Henson 已提交
26 27
LIBSRC= p12_add.c p12_asn.c p12_attr.c p12_crpt.c p12_crt.c p12_decr.c \
	p12_init.c p12_key.c p12_kiss.c p12_mutl.c\
D
 
Dr. Stephen Henson 已提交
28
	p12_utl.c p12_npas.c pk12err.c p12_p8d.c p12_p8e.c
D
 
Dr. Stephen Henson 已提交
29 30
LIBOBJ= p12_add.o p12_asn.o p12_attr.o p12_crpt.o p12_crt.o p12_decr.o \
	p12_init.o p12_key.o p12_kiss.o p12_mutl.o\
D
 
Dr. Stephen Henson 已提交
31
	p12_utl.o p12_npas.o pk12err.o p12_p8d.o p12_p8e.o
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48

SRC= $(LIBSRC)

EXHEADER=  pkcs12.h
HEADER=	$(EXHEADER)

ALL=    $(GENERAL) $(SRC) $(HEADER)

top:
	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)

test:

all:	lib

lib:	$(LIBOBJ)
	$(AR) $(LIB) $(LIBOBJ)
49
	$(RANLIB) $(LIB) || echo Never mind.
50 51 52
	@touch lib

files:
53
	$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
54 55 56

links:
	@$(TOP)/util/point.sh Makefile.ssl Makefile
57 58 59
	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
60 61 62 63

install:
	@for i in $(EXHEADER) ; \
	do  \
64 65
	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
66 67 68 69 70 71 72 73 74 75 76
	done;

tags:
	ctags $(SRC)

tests:

lint:
	lint -DLINT $(INCLUDES) $(SRC)>fluff

depend:
77
	$(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
78 79

dclean:
80
	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
81 82 83 84 85 86
	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.
B
Ben Laurie 已提交
87

88
p12_add.o: ../../e_os.h ../../include/openssl/asn1.h
89 90 91 92 93
p12_add.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_add.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_add.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_add.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_add.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
94 95 96 97 98 99
p12_add.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
p12_add.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
p12_add.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
p12_add.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
p12_add.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
p12_add.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
100
p12_add.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
101 102
p12_asn.o: ../../e_os.h ../../include/openssl/asn1.h
p12_asn.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
103 104 105 106 107
p12_asn.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
p12_asn.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
p12_asn.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
p12_asn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
p12_asn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
108 109
p12_asn.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
p12_asn.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs12.h
110
p12_asn.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
111 112 113
p12_asn.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
p12_asn.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
p12_asn.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
114
p12_asn.o: ../cryptlib.h
115
p12_attr.o: ../../e_os.h ../../include/openssl/asn1.h
116 117 118 119 120
p12_attr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_attr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_attr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_attr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_attr.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
121 122
p12_attr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
p12_attr.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
123
p12_attr.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs12.h
124
p12_attr.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
125 126 127
p12_attr.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
p12_attr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
p12_attr.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
128
p12_attr.o: ../cryptlib.h
129
p12_crpt.o: ../../e_os.h ../../include/openssl/asn1.h
130 131 132 133 134
p12_crpt.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_crpt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_crpt.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_crpt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_crpt.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
135 136
p12_crpt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
p12_crpt.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
137
p12_crpt.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs12.h
138
p12_crpt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
139 140 141
p12_crpt.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
p12_crpt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
p12_crpt.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
142
p12_crpt.o: ../cryptlib.h
143
p12_crt.o: ../../e_os.h ../../include/openssl/asn1.h
144 145 146 147 148
p12_crt.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_crt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_crt.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_crt.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_crt.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
149 150 151 152 153 154
p12_crt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
p12_crt.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
p12_crt.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
p12_crt.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
p12_crt.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
p12_crt.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
155
p12_crt.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
156
p12_decr.o: ../../e_os.h ../../include/openssl/asn1.h
157 158 159 160 161
p12_decr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_decr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_decr.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_decr.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_decr.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
162 163
p12_decr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
p12_decr.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
164
p12_decr.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs12.h
165
p12_decr.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
166 167 168
p12_decr.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
p12_decr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
p12_decr.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
169
p12_decr.o: ../cryptlib.h
170
p12_init.o: ../../e_os.h ../../include/openssl/asn1.h
171 172 173 174 175
p12_init.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_init.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_init.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_init.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_init.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
176 177
p12_init.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
p12_init.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
178
p12_init.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs12.h
179
p12_init.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
180 181 182
p12_init.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
p12_init.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
p12_init.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
183
p12_init.o: ../cryptlib.h
184
p12_key.o: ../../e_os.h ../../include/openssl/asn1.h
185 186 187 188 189
p12_key.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_key.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_key.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
190 191 192 193 194 195
p12_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
p12_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
p12_key.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
p12_key.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
p12_key.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
p12_key.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
196
p12_key.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
197
p12_kiss.o: ../../e_os.h ../../include/openssl/asn1.h
198 199 200 201 202
p12_kiss.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_kiss.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_kiss.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_kiss.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_kiss.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
203 204
p12_kiss.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
p12_kiss.o: ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
205
p12_kiss.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs12.h
206
p12_kiss.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
207 208 209
p12_kiss.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
p12_kiss.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
p12_kiss.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
210
p12_kiss.o: ../cryptlib.h
211
p12_mutl.o: ../../e_os.h ../../include/openssl/asn1.h
212 213 214 215 216 217
p12_mutl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_mutl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_mutl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_mutl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_mutl.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h
p12_mutl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
218
p12_mutl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
B
Bodo Möller 已提交
219 220 221 222
p12_mutl.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs12.h
p12_mutl.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
p12_mutl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
p12_mutl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
R
Richard Levitte 已提交
223
p12_mutl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
224
p12_mutl.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
R
Richard Levitte 已提交
225
p12_npas.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
226 227 228 229 230
p12_npas.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
p12_npas.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
p12_npas.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
p12_npas.o: ../../include/openssl/err.h ../../include/openssl/evp.h
p12_npas.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
R
Richard Levitte 已提交
231
p12_npas.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
D
Dr. Stephen Henson 已提交
232 233
p12_npas.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
p12_npas.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs12.h
234
p12_npas.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
235 236 237
p12_npas.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
p12_npas.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
p12_npas.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263
p12_p8d.o: ../../e_os.h ../../include/openssl/asn1.h
p12_p8d.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_p8d.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_p8d.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_p8d.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_p8d.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
p12_p8d.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
p12_p8d.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
p12_p8d.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
p12_p8d.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
p12_p8d.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
p12_p8d.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
p12_p8d.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
p12_p8e.o: ../../e_os.h ../../include/openssl/asn1.h
p12_p8e.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_p8e.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_p8e.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_p8e.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_p8e.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
p12_p8e.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
p12_p8e.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
p12_p8e.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
p12_p8e.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
p12_p8e.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
p12_p8e.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
p12_p8e.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
264
p12_utl.o: ../../e_os.h ../../include/openssl/asn1.h
265 266 267 268 269
p12_utl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
p12_utl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
p12_utl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
p12_utl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
p12_utl.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
270 271 272 273 274 275
p12_utl.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
p12_utl.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
p12_utl.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
p12_utl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
p12_utl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
p12_utl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
276
p12_utl.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
R
Richard Levitte 已提交
277
pk12err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
278 279 280 281 282
pk12err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
pk12err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
pk12err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
pk12err.o: ../../include/openssl/err.h ../../include/openssl/evp.h
pk12err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
R
Richard Levitte 已提交
283 284
pk12err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
pk12err.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs12.h
285
pk12err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
R
Richard Levitte 已提交
286 287 288
pk12err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
pk12err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
pk12err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h