2002-08-09 08:43:04 +00:00
|
|
|
#
|
|
|
|
# crypto/ecdh/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= ecdh
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
|
|
|
CFLAG=-g -Wall
|
2005-03-30 13:05:57 +00:00
|
|
|
MAKEFILE= Makefile
|
2002-08-09 08:43:04 +00:00
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
TEST=ecdhtest.c
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
|
|
LIBSRC= ech_lib.c ech_ossl.c ech_key.c ech_err.c
|
|
|
|
|
|
|
|
LIBOBJ= ech_lib.o ech_ossl.o ech_key.o ech_err.o
|
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
|
|
|
EXHEADER= ecdh.h
|
2005-04-29 15:56:06 +00:00
|
|
|
HEADER= ech_locl.h $(EXHEADER)
|
2002-08-09 08:43:04 +00:00
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
2008-09-16 21:44:57 +00:00
|
|
|
$(ARX) $(LIB) $(LIBOBJ)
|
2002-08-09 08:43:04 +00:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
2005-03-30 13:05:57 +00:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
2002-08-09 08:43:04 +00:00
|
|
|
|
|
|
|
links:
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
|
|
|
|
|
|
|
|
install:
|
2005-05-15 22:23:26 +00:00
|
|
|
@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
|
2004-11-02 23:55:01 +00:00
|
|
|
@headerlist="$(EXHEADER)"; for i in $$headerlist; \
|
2002-08-09 08:43:04 +00:00
|
|
|
do \
|
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
2005-05-16 16:55:47 +00:00
|
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
2005-12-18 19:02:22 +00:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
2002-08-09 08:43:04 +00:00
|
|
|
|
|
|
|
dclean:
|
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
|
|
|
2002-11-14 23:56:12 +00:00
|
|
|
ech_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
2005-05-16 16:55:47 +00:00
|
|
|
ech_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
|
|
|
ech_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
|
|
|
|
ech_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
ech_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
ech_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
|
|
|
ech_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
ech_err.o: ech_err.c
|
2002-08-09 08:43:04 +00:00
|
|
|
ech_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
2008-09-14 16:43:37 +00:00
|
|
|
ech_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
ech_key.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
|
|
ech_key.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
|
|
|
ech_key.o: ../../include/openssl/engine.h ../../include/openssl/evp.h
|
2008-09-17 17:11:09 +00:00
|
|
|
ech_key.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
|
|
|
|
ech_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
ech_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
ech_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
|
|
|
|
ech_key.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
ech_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
ech_key.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
ech_key.o: ech_key.c ech_locl.h
|
2002-08-09 08:43:04 +00:00
|
|
|
ech_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
2008-09-14 16:43:37 +00:00
|
|
|
ech_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
ech_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
|
|
ech_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
2005-05-16 16:55:47 +00:00
|
|
|
ech_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
|
2008-09-17 17:11:09 +00:00
|
|
|
ech_lib.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
|
|
|
|
ech_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
ech_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
|
|
|
ech_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
ech_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
|
|
|
|
ech_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
ech_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
|
|
|
ech_lib.o: ../../include/openssl/x509_vfy.h ech_lib.c ech_locl.h
|
2003-03-20 17:59:39 +00:00
|
|
|
ech_ossl.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
|
|
ech_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
|
|
|
|
ech_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
2002-08-09 08:43:04 +00:00
|
|
|
ech_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
2003-03-20 14:21:36 +00:00
|
|
|
ech_ossl.o: ../../include/openssl/ecdh.h ../../include/openssl/err.h
|
|
|
|
ech_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
ech_ossl.o: ../../include/openssl/opensslconf.h
|
2002-08-09 08:43:04 +00:00
|
|
|
ech_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
ech_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
ech_ossl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2005-05-09 00:27:37 +00:00
|
|
|
ech_ossl.o: ../cryptlib.h ech_locl.h ech_ossl.c
|