Makefile revision 296341
1# 2# SSLeay/crypto/ts/Makefile 3# 4 5DIR= ts 6TOP= ../.. 7CC= cc 8INCLUDES= -I.. -I../../include 9CFLAG = -g 10INSTALL_PREFIX= 11OPENSSLDIR= /usr/local/ssl 12INSTALLTOP=/usr/local/ssl 13MAKEDEPPROG= makedepend 14MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) 15MAKEFILE= Makefile 16AR= ar r 17 18PEX_LIBS= 19EX_LIBS= 20 21CFLAGS= $(INCLUDES) $(CFLAG) 22 23GENERAL= Makefile 24TEST= 25APPS= 26 27LIB=$(TOP)/libcrypto.a 28LIBSRC= ts_err.c ts_req_utils.c ts_req_print.c ts_rsp_utils.c ts_rsp_print.c \ 29 ts_rsp_sign.c ts_rsp_verify.c ts_verify_ctx.c ts_lib.c ts_conf.c \ 30 ts_asn1.c 31LIBOBJ= ts_err.o ts_req_utils.o ts_req_print.o ts_rsp_utils.o ts_rsp_print.o \ 32 ts_rsp_sign.o ts_rsp_verify.o ts_verify_ctx.o ts_lib.o ts_conf.o \ 33 ts_asn1.o 34 35SRC= $(LIBSRC) 36 37EXHEADER= ts.h 38HEADER= $(EXHEADER) 39 40ALL= $(GENERAL) $(SRC) $(HEADER) 41 42top: 43 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 44 45test: 46 47all: lib 48 49lib: $(LIBOBJ) 50 $(AR) $(LIB) $(LIBOBJ) 51 $(RANLIB) $(LIB) || echo Never mind. 52 @touch lib 53 54files: 55 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 56 57links: 58 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 59 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 60 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 61 62install: 63 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 64 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 65 do \ 66 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 67 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 68 done; 69 70tags: 71 ctags $(SRC) 72 73lint: 74 lint -DLINT $(INCLUDES) $(SRC)>fluff 75 76update: depend 77 78depend: 79 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) 80 81dclean: 82 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 83 mv -f Makefile.new $(MAKEFILE) 84 85clean: 86 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff enc dec sign verify 87 88# DO NOT DELETE THIS LINE -- make depend depends on it. 89 90ts_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h 91ts_asn1.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 92ts_asn1.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h 93ts_asn1.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 94ts_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 95ts_asn1.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h 96ts_asn1.o: ../../include/openssl/err.h ../../include/openssl/evp.h 97ts_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 98ts_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 99ts_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 100ts_asn1.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h 101ts_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 102ts_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 103ts_asn1.o: ../../include/openssl/ts.h ../../include/openssl/x509.h 104ts_asn1.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h 105ts_asn1.o: ts_asn1.c 106ts_conf.o: ../../e_os.h ../../include/openssl/asn1.h 107ts_conf.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 108ts_conf.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h 109ts_conf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 110ts_conf.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 111ts_conf.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h 112ts_conf.o: ../../include/openssl/engine.h ../../include/openssl/err.h 113ts_conf.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h 114ts_conf.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 115ts_conf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 116ts_conf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h 117ts_conf.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h 118ts_conf.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 119ts_conf.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 120ts_conf.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h 121ts_conf.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 122ts_conf.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_conf.c 123ts_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 124ts_err.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h 125ts_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h 126ts_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h 127ts_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h 128ts_err.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h 129ts_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h 130ts_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 131ts_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 132ts_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h 133ts_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 134ts_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 135ts_err.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h 136ts_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 137ts_err.o: ../../include/openssl/x509v3.h ts_err.c 138ts_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h 139ts_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h 140ts_lib.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h 141ts_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 142ts_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 143ts_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h 144ts_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h 145ts_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 146ts_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 147ts_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 148ts_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h 149ts_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 150ts_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 151ts_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 152ts_lib.o: ../../include/openssl/x509v3.h ../cryptlib.h ts.h ts_lib.c 153ts_req_print.o: ../../e_os.h ../../include/openssl/asn1.h 154ts_req_print.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 155ts_req_print.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h 156ts_req_print.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h 157ts_req_print.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h 158ts_req_print.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h 159ts_req_print.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h 160ts_req_print.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h 161ts_req_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 162ts_req_print.o: ../../include/openssl/opensslconf.h 163ts_req_print.o: ../../include/openssl/opensslv.h 164ts_req_print.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h 165ts_req_print.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 166ts_req_print.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 167ts_req_print.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h 168ts_req_print.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 169ts_req_print.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_req_print.c 170ts_req_utils.o: ../../e_os.h ../../include/openssl/asn1.h 171ts_req_utils.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 172ts_req_utils.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h 173ts_req_utils.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 174ts_req_utils.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 175ts_req_utils.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h 176ts_req_utils.o: ../../include/openssl/err.h ../../include/openssl/evp.h 177ts_req_utils.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 178ts_req_utils.o: ../../include/openssl/objects.h 179ts_req_utils.o: ../../include/openssl/opensslconf.h 180ts_req_utils.o: ../../include/openssl/opensslv.h 181ts_req_utils.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h 182ts_req_utils.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 183ts_req_utils.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 184ts_req_utils.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h 185ts_req_utils.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 186ts_req_utils.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_req_utils.c 187ts_rsp_print.o: ../../e_os.h ../../include/openssl/asn1.h 188ts_rsp_print.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 189ts_rsp_print.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h 190ts_rsp_print.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h 191ts_rsp_print.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h 192ts_rsp_print.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h 193ts_rsp_print.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h 194ts_rsp_print.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h 195ts_rsp_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 196ts_rsp_print.o: ../../include/openssl/opensslconf.h 197ts_rsp_print.o: ../../include/openssl/opensslv.h 198ts_rsp_print.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h 199ts_rsp_print.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 200ts_rsp_print.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 201ts_rsp_print.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h 202ts_rsp_print.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h 203ts_rsp_print.o: ../cryptlib.h ts.h ts_rsp_print.c 204ts_rsp_sign.o: ../../e_os.h ../../include/openssl/asn1.h 205ts_rsp_sign.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 206ts_rsp_sign.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h 207ts_rsp_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 208ts_rsp_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 209ts_rsp_sign.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h 210ts_rsp_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h 211ts_rsp_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 212ts_rsp_sign.o: ../../include/openssl/objects.h 213ts_rsp_sign.o: ../../include/openssl/opensslconf.h 214ts_rsp_sign.o: ../../include/openssl/opensslv.h 215ts_rsp_sign.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h 216ts_rsp_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 217ts_rsp_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 218ts_rsp_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h 219ts_rsp_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 220ts_rsp_sign.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_rsp_sign.c 221ts_rsp_utils.o: ../../e_os.h ../../include/openssl/asn1.h 222ts_rsp_utils.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 223ts_rsp_utils.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h 224ts_rsp_utils.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 225ts_rsp_utils.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 226ts_rsp_utils.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h 227ts_rsp_utils.o: ../../include/openssl/err.h ../../include/openssl/evp.h 228ts_rsp_utils.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 229ts_rsp_utils.o: ../../include/openssl/objects.h 230ts_rsp_utils.o: ../../include/openssl/opensslconf.h 231ts_rsp_utils.o: ../../include/openssl/opensslv.h 232ts_rsp_utils.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h 233ts_rsp_utils.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 234ts_rsp_utils.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 235ts_rsp_utils.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h 236ts_rsp_utils.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 237ts_rsp_utils.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_rsp_utils.c 238ts_rsp_verify.o: ../../e_os.h ../../include/openssl/asn1.h 239ts_rsp_verify.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 240ts_rsp_verify.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h 241ts_rsp_verify.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 242ts_rsp_verify.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 243ts_rsp_verify.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h 244ts_rsp_verify.o: ../../include/openssl/err.h ../../include/openssl/evp.h 245ts_rsp_verify.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 246ts_rsp_verify.o: ../../include/openssl/objects.h 247ts_rsp_verify.o: ../../include/openssl/opensslconf.h 248ts_rsp_verify.o: ../../include/openssl/opensslv.h 249ts_rsp_verify.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h 250ts_rsp_verify.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 251ts_rsp_verify.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 252ts_rsp_verify.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h 253ts_rsp_verify.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 254ts_rsp_verify.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_rsp_verify.c 255ts_verify_ctx.o: ../../e_os.h ../../include/openssl/asn1.h 256ts_verify_ctx.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h 257ts_verify_ctx.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h 258ts_verify_ctx.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 259ts_verify_ctx.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 260ts_verify_ctx.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h 261ts_verify_ctx.o: ../../include/openssl/err.h ../../include/openssl/evp.h 262ts_verify_ctx.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 263ts_verify_ctx.o: ../../include/openssl/objects.h 264ts_verify_ctx.o: ../../include/openssl/opensslconf.h 265ts_verify_ctx.o: ../../include/openssl/opensslv.h 266ts_verify_ctx.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h 267ts_verify_ctx.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h 268ts_verify_ctx.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 269ts_verify_ctx.o: ../../include/openssl/symhacks.h ../../include/openssl/ts.h 270ts_verify_ctx.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 271ts_verify_ctx.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_verify_ctx.c 272