2002-08-09 10:43:04 +02:00
|
|
|
#
|
|
|
|
# crypto/ecdh/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= ecdh
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
|
|
|
CFLAG=-g -Wall
|
2005-03-30 15:05:57 +02:00
|
|
|
MAKEFILE= Makefile
|
2002-08-09 10:43:04 +02:00
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2013-07-17 16:01:08 +02:00
|
|
|
LIBSRC= ech_lib.c ech_ossl.c ech_key.c ech_err.c ech_kdf.c
|
2002-08-09 10:43:04 +02:00
|
|
|
|
2013-07-17 16:01:08 +02:00
|
|
|
LIBOBJ= ech_lib.o ech_ossl.o ech_key.o ech_err.o ech_kdf.o
|
2002-08-09 10:43:04 +02:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2015-03-26 21:44:59 +01:00
|
|
|
HEADER= ech_locl.h
|
2002-08-09 10:43:04 +02:00
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
2014-10-19 00:47:03 +02:00
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
2002-08-09 10:43:04 +02:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
2005-03-30 15:05:57 +02:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
2002-08-09 10:43:04 +02:00
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
2015-05-22 17:54:06 +02:00
|
|
|
update: depend
|
|
|
|
|
2002-08-09 10:43:04 +02:00
|
|
|
depend:
|
2005-05-16 18:55:47 +02:00
|
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
2005-12-18 20:00:54 +01:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
2002-08-09 10:43:04 +02: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-15 00:56:12 +01:00
|
|
|
ech_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
2005-05-16 18:55:47 +02: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
|
2014-02-19 21:09:08 +01:00
|
|
|
ech_kdf.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
ech_kdf.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
|
|
|
ech_kdf.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
|
|
|
|
ech_kdf.o: ../../include/openssl/evp.h ../../include/openssl/obj_mac.h
|
|
|
|
ech_kdf.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
|
|
|
ech_kdf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
ech_kdf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
ech_kdf.o: ../../include/openssl/symhacks.h ech_kdf.c
|
2002-08-09 10:43:04 +02:00
|
|
|
ech_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
2011-04-10 03:14:25 +02:00
|
|
|
ech_key.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
|
|
|
ech_key.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
|
2011-03-24 23:59:02 +01:00
|
|
|
ech_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
2011-04-10 03:14:25 +02:00
|
|
|
ech_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
2011-03-24 23:59:02 +01:00
|
|
|
ech_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
ech_key.o: ech_key.c ech_locl.h
|
2002-08-09 10:43:04 +02:00
|
|
|
ech_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
2008-06-04 13:01:43 +02: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 18:55:47 +02:00
|
|
|
ech_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
|
2008-06-04 13:01:43 +02:00
|
|
|
ech_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
|
|
|
|
ech_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
ech_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
ech_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
|
|
|
|
ech_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
ech_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
ech_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
ech_lib.o: ech_lib.c ech_locl.h
|
2003-03-20 18:59:39 +01: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 10:43:04 +02:00
|
|
|
ech_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
2003-03-20 15:21:36 +01:00
|
|
|
ech_ossl.o: ../../include/openssl/ecdh.h ../../include/openssl/err.h
|
2011-04-10 03:14:25 +02:00
|
|
|
ech_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
ech_ossl.o: ../../include/openssl/opensslconf.h
|
2002-08-09 10:43:04 +02: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
|
2015-05-14 17:38:31 +02:00
|
|
|
ech_ossl.o: ../include/internal/cryptlib.h ech_locl.h ech_ossl.c
|