1160814Ssimon# 2160814Ssimon# crypto/ecdh/Makefile 3160814Ssimon# 4160814Ssimon 5160814SsimonDIR= ecdh 6160814SsimonTOP= ../.. 7160814SsimonCC= cc 8160814SsimonINCLUDES= -I.. -I$(TOP) -I../../include 9160814SsimonCFLAG=-g -Wall 10160814SsimonMAKEFILE= Makefile 11160814SsimonAR= ar r 12160814Ssimon 13160814SsimonCFLAGS= $(INCLUDES) $(CFLAG) 14160814Ssimon 15160814SsimonGENERAL=Makefile 16160814SsimonTEST=ecdhtest.c 17160814SsimonAPPS= 18160814Ssimon 19160814SsimonLIB=$(TOP)/libcrypto.a 20160814SsimonLIBSRC= ech_lib.c ech_ossl.c ech_key.c ech_err.c 21160814Ssimon 22160814SsimonLIBOBJ= ech_lib.o ech_ossl.o ech_key.o ech_err.o 23160814Ssimon 24160814SsimonSRC= $(LIBSRC) 25160814Ssimon 26160814SsimonEXHEADER= ecdh.h 27160814SsimonHEADER= ech_locl.h $(EXHEADER) 28160814Ssimon 29160814SsimonALL= $(GENERAL) $(SRC) $(HEADER) 30160814Ssimon 31160814Ssimontop: 32160814Ssimon (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 33160814Ssimon 34160814Ssimonall: lib 35160814Ssimon 36160814Ssimonlib: $(LIBOBJ) 37238405Sjkim $(AR) $(LIB) $(LIBOBJ) 38160814Ssimon $(RANLIB) $(LIB) || echo Never mind. 39160814Ssimon @touch lib 40160814Ssimon 41160814Ssimonfiles: 42160814Ssimon $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 43160814Ssimon 44160814Ssimonlinks: 45160814Ssimon @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 46160814Ssimon @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 47160814Ssimon @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 48160814Ssimon 49160814Ssimoninstall: 50160814Ssimon @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 51160814Ssimon @headerlist="$(EXHEADER)"; for i in $$headerlist; \ 52160814Ssimon do \ 53160814Ssimon (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 54160814Ssimon chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 55160814Ssimon done; 56160814Ssimon 57160814Ssimontags: 58160814Ssimon ctags $(SRC) 59160814Ssimon 60160814Ssimontests: 61160814Ssimon 62160814Ssimonlint: 63160814Ssimon lint -DLINT $(INCLUDES) $(SRC)>fluff 64160814Ssimon 65284285Sjkimupdate: depend 66284285Sjkim 67160814Ssimondepend: 68160814Ssimon @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 69160814Ssimon $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 70160814Ssimon 71160814Ssimondclean: 72160814Ssimon $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 73160814Ssimon mv -f Makefile.new $(MAKEFILE) 74160814Ssimon 75160814Ssimonclean: 76160814Ssimon rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 77160814Ssimon 78160814Ssimon# DO NOT DELETE THIS LINE -- make depend depends on it. 79160814Ssimon 80160814Ssimonech_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 81160814Ssimonech_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 82160814Ssimonech_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h 83160814Ssimonech_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 84160814Ssimonech_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 85160814Ssimonech_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 86160814Ssimonech_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 87160814Ssimonech_err.o: ech_err.c 88160814Ssimonech_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 89246772Sjkimech_key.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 90246772Sjkimech_key.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h 91246772Sjkimech_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 92246772Sjkimech_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h 93246772Sjkimech_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 94246772Sjkimech_key.o: ech_key.c ech_locl.h 95160814Ssimonech_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 96194206Ssimonech_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 97194206Ssimonech_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 98194206Ssimonech_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h 99160814Ssimonech_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h 100238405Sjkimech_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h 101238405Sjkimech_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 102238405Sjkimech_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 103238405Sjkimech_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h 104238405Sjkimech_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 105238405Sjkimech_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 106238405Sjkimech_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h 107238405Sjkimech_lib.o: ech_lib.c ech_locl.h 108160814Ssimonech_ossl.o: ../../e_os.h ../../include/openssl/asn1.h 109160814Ssimonech_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h 110160814Ssimonech_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 111160814Ssimonech_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h 112160814Ssimonech_ossl.o: ../../include/openssl/ecdh.h ../../include/openssl/err.h 113160814Ssimonech_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 114160814Ssimonech_ossl.o: ../../include/openssl/opensslconf.h 115160814Ssimonech_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 116160814Ssimonech_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 117160814Ssimonech_ossl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 118160814Ssimonech_ossl.o: ../cryptlib.h ech_locl.h ech_ossl.c 119