Makefile.ssl 11.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#
# SSLeay/crypto/x509v3/Makefile
#

DIR=	x509v3
TOP=	../..
CC=	cc
INCLUDES= -I.. -I../../include
CFLAG=-g
INSTALLTOP=/usr/local/ssl
MAKE=		make -f Makefile.ssl
MAKEDEPEND=	$(TOP)/util/domd $(TOP)
MAKEFILE=	Makefile.ssl
AR=		ar r

CFLAGS= $(INCLUDES) $(CFLAG)

ERR=x509v3
ERRC=v3err
GENERAL=Makefile README
TEST=
APPS=

LIB=$(TOP)/libcrypto.a
25
LIBSRC=	v3_bcons.c v3_bitst.c v3_conf.c v3_extku.c v3_ia5.c \
26
v3_lib.c v3_prn.c v3_utl.c v3err.c v3_genn.c v3_alt.c v3_skey.c v3_akey.c
27
LIBOBJ= v3_bcons.o v3_bitst.o v3_conf.o v3_extku.o v3_ia5.o v3_lib.o \
28
v3_prn.o v3_utl.o v3err.o v3_genn.o v3_alt.o v3_skey.o v3_akey.o
29 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 84 85 86 87 88

SRC= $(LIBSRC)

EXHEADER= x509v3.h
HEADER=	$(EXHEADER)

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

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

all:	lib

lib:	$(LIBOBJ)
	$(AR) $(LIB) $(LIBOBJ)
	sh $(TOP)/util/ranlib.sh $(LIB)
	@touch lib

files:
	perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO

links:
	/bin/rm -f Makefile
	$(TOP)/util/point.sh Makefile.ssl Makefile ;
	$(TOP)/util/mklink.sh ../../include $(EXHEADER)
	$(TOP)/util/mklink.sh ../../test $(TEST)
	$(TOP)/util/mklink.sh ../../apps $(APPS)

install:
	@for i in $(EXHEADER) ; \
	do  \
	(cp $$i $(INSTALLTOP)/include/$$i; \
	chmod 644 $(INSTALLTOP)/include/$$i ); \
	done;

tags:
	ctags $(SRC)

tests:

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

depend:
	$(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)

dclean:
	perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
	mv -f Makefile.new $(MAKEFILE)

clean:
	/bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff

errors: $(ERRC).c

$(ERRC).c: $(ERR).err
	perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
	perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c

# DO NOT DELETE THIS LINE -- make depend depends on it.
B
Ben Laurie 已提交
89

B
Ben Laurie 已提交
90 91 92 93 94 95 96 97 98 99 100
v3_akey.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
v3_akey.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
v3_akey.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
v3_akey.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
v3_akey.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
v3_akey.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
v3_akey.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
v3_akey.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
v3_akey.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
v3_akey.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
v3_akey.o: ../../include/x509_vfy.h x509v3.h
B
Ben Laurie 已提交
101 102 103 104 105 106 107 108 109 110 111
v3_alt.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
v3_alt.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
v3_alt.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
v3_alt.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
v3_alt.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
v3_alt.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
v3_alt.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
v3_alt.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
v3_alt.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
v3_alt.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
v3_alt.o: ../../include/x509_vfy.h x509v3.h
B
Ben Laurie 已提交
112 113 114 115 116 117
v3_bcons.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
v3_bcons.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
v3_bcons.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
v3_bcons.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
v3_bcons.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
v3_bcons.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
118 119 120 121 122
v3_bcons.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
v3_bcons.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
v3_bcons.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
v3_bcons.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
v3_bcons.o: ../../include/x509_vfy.h x509v3.h
123 124 125 126 127 128 129 130 131 132 133
v3_bitst.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
v3_bitst.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
v3_bitst.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
v3_bitst.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
v3_bitst.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
v3_bitst.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
v3_bitst.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
v3_bitst.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
v3_bitst.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
v3_bitst.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
v3_bitst.o: ../../include/x509_vfy.h x509v3.h
B
Ben Laurie 已提交
134 135 136 137 138 139
v3_conf.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
v3_conf.o: ../../include/bn.h ../../include/cast.h ../../include/conf.h
v3_conf.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
v3_conf.o: ../../include/dsa.h ../../include/err.h ../../include/evp.h
v3_conf.o: ../../include/idea.h ../../include/lhash.h ../../include/md2.h
v3_conf.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
140 141 142 143 144
v3_conf.o: ../../include/pem.h ../../include/pem2.h ../../include/pkcs7.h
v3_conf.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
v3_conf.o: ../../include/ripemd.h ../../include/rsa.h ../../include/sha.h
v3_conf.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
v3_conf.o: x509v3.h
B
Ben Laurie 已提交
145 146 147 148 149 150
v3_extku.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
v3_extku.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
v3_extku.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
v3_extku.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
v3_extku.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
v3_extku.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
151 152 153 154 155
v3_extku.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
v3_extku.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
v3_extku.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
v3_extku.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
v3_extku.o: ../../include/x509_vfy.h x509v3.h
B
Ben Laurie 已提交
156 157 158 159 160 161 162 163 164 165 166
v3_genn.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
v3_genn.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
v3_genn.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
v3_genn.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
v3_genn.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
v3_genn.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
v3_genn.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
v3_genn.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
v3_genn.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
v3_genn.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
v3_genn.o: ../../include/x509_vfy.h x509v3.h
B
Ben Laurie 已提交
167 168 169 170 171 172
v3_ia5.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
v3_ia5.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
v3_ia5.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
v3_ia5.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
v3_ia5.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
v3_ia5.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
173 174 175 176 177
v3_ia5.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
v3_ia5.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
v3_ia5.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
v3_ia5.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
v3_ia5.o: ../../include/x509_vfy.h x509v3.h
B
Ben Laurie 已提交
178 179 180 181 182 183
v3_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
v3_lib.o: ../../include/bn.h ../../include/cast.h ../../include/conf.h
v3_lib.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
v3_lib.o: ../../include/dsa.h ../../include/err.h ../../include/evp.h
v3_lib.o: ../../include/idea.h ../../include/lhash.h ../../include/md2.h
v3_lib.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
184 185 186 187 188
v3_lib.o: ../../include/pem.h ../../include/pem2.h ../../include/pkcs7.h
v3_lib.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
v3_lib.o: ../../include/ripemd.h ../../include/rsa.h ../../include/sha.h
v3_lib.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
v3_lib.o: x509v3.h
B
Ben Laurie 已提交
189 190 191 192 193 194
v3_prn.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
v3_prn.o: ../../include/bn.h ../../include/cast.h ../../include/conf.h
v3_prn.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
v3_prn.o: ../../include/dsa.h ../../include/err.h ../../include/evp.h
v3_prn.o: ../../include/idea.h ../../include/lhash.h ../../include/md2.h
v3_prn.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
195 196 197 198 199
v3_prn.o: ../../include/pem.h ../../include/pem2.h ../../include/pkcs7.h
v3_prn.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
v3_prn.o: ../../include/ripemd.h ../../include/rsa.h ../../include/sha.h
v3_prn.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
v3_prn.o: x509v3.h
B
Ben Laurie 已提交
200 201 202 203 204 205 206 207 208 209 210
v3_skey.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
v3_skey.o: ../../include/blowfish.h ../../include/bn.h ../../include/cast.h
v3_skey.o: ../../include/conf.h ../../include/crypto.h ../../include/des.h
v3_skey.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
v3_skey.o: ../../include/evp.h ../../include/idea.h ../../include/lhash.h
v3_skey.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
v3_skey.o: ../../include/objects.h ../../include/pem.h ../../include/pem2.h
v3_skey.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
v3_skey.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
v3_skey.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
v3_skey.o: ../../include/x509_vfy.h x509v3.h
B
Ben Laurie 已提交
211 212 213 214 215 216
v3_utl.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
v3_utl.o: ../../include/bn.h ../../include/cast.h ../../include/conf.h
v3_utl.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
v3_utl.o: ../../include/dsa.h ../../include/err.h ../../include/evp.h
v3_utl.o: ../../include/idea.h ../../include/lhash.h ../../include/md2.h
v3_utl.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
217 218 219 220 221
v3_utl.o: ../../include/pem.h ../../include/pem2.h ../../include/pkcs7.h
v3_utl.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
v3_utl.o: ../../include/ripemd.h ../../include/rsa.h ../../include/sha.h
v3_utl.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
v3_utl.o: x509v3.h
B
Ben Laurie 已提交
222 223 224 225 226 227 228 229 230
v3err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
v3err.o: ../../include/bn.h ../../include/cast.h ../../include/crypto.h
v3err.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
v3err.o: ../../include/err.h ../../include/evp.h ../../include/idea.h
v3err.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
v3err.o: ../../include/objects.h ../../include/pkcs7.h ../../include/rc2.h
v3err.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
v3err.o: ../../include/rsa.h ../../include/sha.h ../../include/stack.h
v3err.o: ../../include/x509.h ../../include/x509_vfy.h x509v3.h