1142425Snectar# 2142425Snectar# crypto/ec/Makefile 3142425Snectar# 4142425Snectar 5142425SnectarDIR= ec 6142425SnectarTOP= ../.. 7142425SnectarCC= cc 8142425SnectarINCLUDES= -I.. -I$(TOP) -I../../include 9142425SnectarCFLAG=-g 10142425SnectarMAKEFILE= Makefile 11142425SnectarAR= ar r 12142425Snectar 13142425SnectarCFLAGS= $(INCLUDES) $(CFLAG) 14142425Snectar 15142425SnectarGENERAL=Makefile 16142425SnectarTEST=ectest.c 17142425SnectarAPPS= 18142425Snectar 19142425SnectarLIB=$(TOP)/libcrypto.a 20160814SsimonLIBSRC= ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c\ 21160814Ssimon ec_err.c ec_curve.c ec_check.c ec_print.c ec_asn1.c ec_key.c\ 22238405Sjkim ec2_smpl.c ec2_mult.c ec_ameth.c ec_pmeth.c eck_prn.c \ 23238405Sjkim ecp_nistp224.c ecp_nistp256.c ecp_nistp521.c ecp_nistputil.c \ 24238405Sjkim ecp_oct.c ec2_oct.c ec_oct.c 25142425Snectar 26160814SsimonLIBOBJ= ec_lib.o ecp_smpl.o ecp_mont.o ecp_nist.o ec_cvt.o ec_mult.o\ 27160814Ssimon ec_err.o ec_curve.o ec_check.o ec_print.o ec_asn1.o ec_key.o\ 28238405Sjkim ec2_smpl.o ec2_mult.o ec_ameth.o ec_pmeth.o eck_prn.o \ 29238405Sjkim ecp_nistp224.o ecp_nistp256.o ecp_nistp521.o ecp_nistputil.o \ 30238405Sjkim ecp_oct.o ec2_oct.o ec_oct.o 31142425Snectar 32142425SnectarSRC= $(LIBSRC) 33142425Snectar 34142425SnectarEXHEADER= ec.h 35142425SnectarHEADER= ec_lcl.h $(EXHEADER) 36142425Snectar 37142425SnectarALL= $(GENERAL) $(SRC) $(HEADER) 38142425Snectar 39142425Snectartop: 40142425Snectar (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 41142425Snectar 42142425Snectarall: lib 43142425Snectar 44142425Snectarlib: $(LIBOBJ) 45238405Sjkim $(AR) $(LIB) $(LIBOBJ) 46142425Snectar $(RANLIB) $(LIB) || echo Never mind. 47142425Snectar @touch lib 48142425Snectar 49142425Snectarfiles: 50142425Snectar $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 51142425Snectar 52142425Snectarlinks: 53142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 54142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 55142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 56142425Snectar 57142425Snectarinstall: 58160814Ssimon @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 59160814Ssimon @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 60142425Snectar do \ 61142425Snectar (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 62142425Snectar chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 63142425Snectar done; 64142425Snectar 65142425Snectartags: 66142425Snectar ctags $(SRC) 67142425Snectar 68142425Snectartests: 69142425Snectar 70142425Snectarlint: 71142425Snectar lint -DLINT $(INCLUDES) $(SRC)>fluff 72142425Snectar 73284285Sjkimupdate: depend 74284285Sjkim 75142425Snectardepend: 76160814Ssimon @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 77142425Snectar $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 78142425Snectar 79142425Snectardclean: 80142425Snectar $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 81142425Snectar mv -f Makefile.new $(MAKEFILE) 82142425Snectar 83142425Snectarclean: 84142425Snectar rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 85142425Snectar 86142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it. 87142425Snectar 88160814Ssimonec2_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 89160814Ssimonec2_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 90160814Ssimonec2_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 91160814Ssimonec2_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 92160814Ssimonec2_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 93160814Ssimonec2_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 94160814Ssimonec2_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 95160814Ssimonec2_mult.o: ../../include/openssl/symhacks.h ec2_mult.c ec_lcl.h 96238405Sjkimec2_oct.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 97238405Sjkimec2_oct.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 98238405Sjkimec2_oct.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 99238405Sjkimec2_oct.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 100238405Sjkimec2_oct.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 101238405Sjkimec2_oct.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 102238405Sjkimec2_oct.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 103238405Sjkimec2_oct.o: ../../include/openssl/symhacks.h ec2_oct.c ec_lcl.h 104160814Ssimonec2_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 105160814Ssimonec2_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 106160814Ssimonec2_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 107160814Ssimonec2_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 108160814Ssimonec2_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 109160814Ssimonec2_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 110160814Ssimonec2_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 111238405Sjkimec2_smpl.o: ../../include/openssl/symhacks.h ec2_smpl.c ec_lcl.h 112238405Sjkimec_ameth.o: ../../e_os.h ../../include/openssl/asn1.h 113238405Sjkimec_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 114238405Sjkimec_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h 115238405Sjkimec_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 116238405Sjkimec_ameth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h 117238405Sjkimec_ameth.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h 118238405Sjkimec_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h 119238405Sjkimec_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 120238405Sjkimec_ameth.o: ../../include/openssl/opensslconf.h 121238405Sjkimec_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 122238405Sjkimec_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h 123238405Sjkimec_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 124238405Sjkimec_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h 125238405Sjkimec_ameth.o: ../../include/openssl/x509_vfy.h ../asn1/asn1_locl.h ../cryptlib.h 126238405Sjkimec_ameth.o: ec_ameth.c 127160814Ssimonec_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h 128160814Ssimonec_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 129160814Ssimonec_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 130160814Ssimonec_asn1.o: ../../include/openssl/ec.h ../../include/openssl/err.h 131160814Ssimonec_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 132160814Ssimonec_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 133160814Ssimonec_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 134160814Ssimonec_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 135160814Ssimonec_asn1.o: ../../include/openssl/symhacks.h ec_asn1.c ec_lcl.h 136160814Ssimonec_check.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 137160814Ssimonec_check.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 138160814Ssimonec_check.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 139160814Ssimonec_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 140160814Ssimonec_check.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 141160814Ssimonec_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 142160814Ssimonec_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 143160814Ssimonec_check.o: ../../include/openssl/symhacks.h ec_check.c ec_lcl.h 144160814Ssimonec_curve.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 145160814Ssimonec_curve.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 146160814Ssimonec_curve.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 147160814Ssimonec_curve.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 148160814Ssimonec_curve.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 149160814Ssimonec_curve.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 150160814Ssimonec_curve.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 151160814Ssimonec_curve.o: ../../include/openssl/symhacks.h ec_curve.c ec_lcl.h 152160814Ssimonec_cvt.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 153160814Ssimonec_cvt.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 154160814Ssimonec_cvt.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 155160814Ssimonec_cvt.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 156160814Ssimonec_cvt.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 157160814Ssimonec_cvt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 158160814Ssimonec_cvt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 159142425Snectarec_cvt.o: ../../include/openssl/symhacks.h ec_cvt.c ec_lcl.h 160160814Ssimonec_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 161142425Snectarec_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 162142425Snectarec_err.o: ../../include/openssl/ec.h ../../include/openssl/err.h 163142425Snectarec_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 164160814Ssimonec_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 165160814Ssimonec_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 166160814Ssimonec_err.o: ../../include/openssl/symhacks.h ec_err.c 167160814Ssimonec_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 168160814Ssimonec_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 169160814Ssimonec_key.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 170160814Ssimonec_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 171160814Ssimonec_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 172160814Ssimonec_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 173160814Ssimonec_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 174160814Ssimonec_key.o: ../../include/openssl/symhacks.h ec_key.c ec_lcl.h 175160814Ssimonec_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 176160814Ssimonec_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 177160814Ssimonec_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 178160814Ssimonec_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 179160814Ssimonec_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 180160814Ssimonec_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 181160814Ssimonec_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 182160814Ssimonec_lib.o: ../../include/openssl/symhacks.h ec_lcl.h ec_lib.c 183160814Ssimonec_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 184160814Ssimonec_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 185160814Ssimonec_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 186160814Ssimonec_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 187160814Ssimonec_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 188160814Ssimonec_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 189160814Ssimonec_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 190160814Ssimonec_mult.o: ../../include/openssl/symhacks.h ec_lcl.h ec_mult.c 191238405Sjkimec_oct.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 192238405Sjkimec_oct.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 193238405Sjkimec_oct.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 194238405Sjkimec_oct.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 195238405Sjkimec_oct.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 196238405Sjkimec_oct.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 197238405Sjkimec_oct.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 198238405Sjkimec_oct.o: ../../include/openssl/symhacks.h ec_lcl.h ec_oct.c 199238405Sjkimec_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h 200238405Sjkimec_pmeth.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h 201238405Sjkimec_pmeth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 202238405Sjkimec_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 203238405Sjkimec_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h 204238405Sjkimec_pmeth.o: ../../include/openssl/err.h ../../include/openssl/evp.h 205238405Sjkimec_pmeth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 206238405Sjkimec_pmeth.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 207238405Sjkimec_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 208238405Sjkimec_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h 209238405Sjkimec_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h 210238405Sjkimec_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h 211238405Sjkimec_pmeth.o: ../../include/openssl/x509_vfy.h ../cryptlib.h ../evp/evp_locl.h 212238405Sjkimec_pmeth.o: ec_pmeth.c 213160814Ssimonec_print.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 214160814Ssimonec_print.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 215160814Ssimonec_print.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 216160814Ssimonec_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 217160814Ssimonec_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 218160814Ssimonec_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 219160814Ssimonec_print.o: ../../include/openssl/symhacks.h ec_lcl.h ec_print.c 220238405Sjkimeck_prn.o: ../../e_os.h ../../include/openssl/asn1.h 221238405Sjkimeck_prn.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 222238405Sjkimeck_prn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 223238405Sjkimeck_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 224238405Sjkimeck_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h 225238405Sjkimeck_prn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 226238405Sjkimeck_prn.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 227238405Sjkimeck_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 228238405Sjkimeck_prn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 229238405Sjkimeck_prn.o: ../../include/openssl/symhacks.h ../cryptlib.h eck_prn.c 230160814Ssimonecp_mont.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 231160814Ssimonecp_mont.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 232160814Ssimonecp_mont.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 233160814Ssimonecp_mont.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 234160814Ssimonecp_mont.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 235160814Ssimonecp_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 236160814Ssimonecp_mont.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 237160814Ssimonecp_mont.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_mont.c 238160814Ssimonecp_nist.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 239160814Ssimonecp_nist.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 240160814Ssimonecp_nist.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 241160814Ssimonecp_nist.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 242160814Ssimonecp_nist.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 243160814Ssimonecp_nist.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 244160814Ssimonecp_nist.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 245142425Snectarecp_nist.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_nist.c 246238405Sjkimecp_nistp224.o: ../../include/openssl/opensslconf.h ecp_nistp224.c 247238405Sjkimecp_nistp256.o: ../../include/openssl/opensslconf.h ecp_nistp256.c 248238405Sjkimecp_nistp521.o: ../../include/openssl/opensslconf.h ecp_nistp521.c 249238405Sjkimecp_nistputil.o: ../../include/openssl/opensslconf.h ecp_nistputil.c 250238405Sjkimecp_oct.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 251238405Sjkimecp_oct.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 252238405Sjkimecp_oct.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 253238405Sjkimecp_oct.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 254238405Sjkimecp_oct.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 255238405Sjkimecp_oct.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 256238405Sjkimecp_oct.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 257238405Sjkimecp_oct.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_oct.c 258160814Ssimonecp_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 259160814Ssimonecp_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h 260160814Ssimonecp_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 261160814Ssimonecp_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 262160814Ssimonecp_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h 263160814Ssimonecp_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 264160814Ssimonecp_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 265160814Ssimonecp_smpl.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_smpl.c 266