1998-12-21 18:52:47 +08:00
|
|
|
#
|
2006-02-04 09:45:59 +08:00
|
|
|
# OpenSSL/crypto/dh/Makefile
|
1998-12-21 18:52:47 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
DIR= dh
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2001-02-22 22:45:02 +08:00
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
1998-12-21 18:52:47 +08:00
|
|
|
CFLAG=-g
|
2005-03-30 21:05:57 +08:00
|
|
|
MAKEFILE= Makefile
|
1998-12-21 18:52:47 +08:00
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
TEST= dhtest.c
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2006-03-21 01:56:05 +08:00
|
|
|
LIBSRC= dh_asn1.c dh_gen.c dh_key.c dh_lib.c dh_check.c dh_err.c dh_depr.c \
|
2013-07-31 01:05:08 +08:00
|
|
|
dh_ameth.c dh_pmeth.c dh_prn.c dh_rfc5114.c dh_kdf.c
|
2006-03-21 01:56:05 +08:00
|
|
|
LIBOBJ= dh_asn1.o dh_gen.o dh_key.o dh_lib.o dh_check.o dh_err.o dh_depr.o \
|
2013-07-31 01:05:08 +08:00
|
|
|
dh_ameth.o dh_pmeth.o dh_prn.o dh_rfc5114.o dh_kdf.o
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
|
|
|
EXHEADER= dh.h
|
|
|
|
HEADER= $(EXHEADER)
|
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
2014-10-19 06:47:03 +08:00
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
2001-03-09 22:01:42 +08:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
1998-12-21 18:52:47 +08:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
2005-03-30 21:05:57 +08:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
links:
|
1999-04-29 20:46:59 +08:00
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
install:
|
2005-05-16 06:23:26 +08:00
|
|
|
@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
|
2004-11-03 07:55:01 +08:00
|
|
|
@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
|
1998-12-21 18:52:47 +08:00
|
|
|
do \
|
1999-04-30 05:52:08 +08:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
1998-12-21 18:52:47 +08:00
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
2005-05-17 00:55:47 +08:00
|
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
2002-10-09 21:25:12 +08:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
dclean:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
1998-12-21 18:52:47 +08:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
1999-03-06 20:32:06 +08:00
|
|
|
rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 22:32:48 +08:00
|
|
|
|
2006-03-23 19:54:51 +08:00
|
|
|
dh_ameth.o: ../../e_os.h ../../include/openssl/asn1.h
|
2008-03-23 02:52:03 +08:00
|
|
|
dh_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
|
2014-02-20 04:09:08 +08:00
|
|
|
dh_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
|
|
|
|
dh_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
|
|
|
|
dh_ameth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
|
|
dh_ameth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
|
|
|
dh_ameth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
|
|
dh_ameth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
dh_ameth.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
2006-03-23 19:54:51 +08:00
|
|
|
dh_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
dh_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
|
|
|
|
dh_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
dh_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
2015-03-24 20:05:05 +08:00
|
|
|
dh_ameth.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
|
|
|
|
dh_ameth.o: ../include/internal/asn1_int.h dh_ameth.c
|
2001-02-22 22:45:02 +08:00
|
|
|
dh_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
|
|
dh_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
|
|
|
|
dh_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
|
|
|
dh_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
|
2001-02-20 00:06:34 +08:00
|
|
|
dh_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
|
|
dh_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
dh_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
2001-10-04 15:49:09 +08:00
|
|
|
dh_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
dh_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
dh_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_asn1.c
|
2001-02-22 22:45:02 +08:00
|
|
|
dh_check.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
|
1999-04-24 06:50:50 +08:00
|
|
|
dh_check.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
2001-02-22 22:45:02 +08:00
|
|
|
dh_check.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
|
|
|
|
dh_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dh_check.o: ../../include/openssl/opensslconf.h
|
2001-10-04 15:49:09 +08:00
|
|
|
dh_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
dh_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
dh_check.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_check.c
|
2002-12-09 10:19:27 +08:00
|
|
|
dh_depr.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
|
|
|
|
dh_depr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
dh_depr.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
|
|
|
|
dh_depr.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dh_depr.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
dh_depr.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
|
|
|
dh_depr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
dh_depr.o: ../cryptlib.h dh_depr.c
|
2004-05-18 03:26:06 +08:00
|
|
|
dh_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
|
|
|
|
dh_err.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
|
|
|
|
dh_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dh_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
dh_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
|
|
|
dh_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
dh_err.o: dh_err.c
|
2001-02-22 22:45:02 +08:00
|
|
|
dh_gen.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
|
1999-04-24 06:50:50 +08:00
|
|
|
dh_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
2001-02-22 22:45:02 +08:00
|
|
|
dh_gen.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
|
2011-09-05 17:46:15 +08:00
|
|
|
dh_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dh_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
|
|
|
dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
dh_gen.o: ../cryptlib.h dh_gen.c
|
2014-02-20 04:09:08 +08:00
|
|
|
dh_kdf.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
dh_kdf.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
|
|
|
|
dh_kdf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
|
|
|
|
dh_kdf.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
|
|
dh_kdf.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
|
|
|
dh_kdf.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
|
|
|
|
dh_kdf.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
dh_kdf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
dh_kdf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
|
|
|
|
dh_kdf.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
dh_kdf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
dh_kdf.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
dh_kdf.o: dh_kdf.c
|
2003-04-11 04:11:09 +08:00
|
|
|
dh_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
|
|
|
|
dh_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
dh_key.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
|
2011-09-05 17:46:15 +08:00
|
|
|
dh_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
dh_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
dh_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
|
|
|
|
dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
2014-10-31 07:58:19 +08:00
|
|
|
dh_key.o: ../../include/openssl/symhacks.h ../cryptlib.h
|
|
|
|
dh_key.o: ../include/internal/bn_int.h dh_key.c
|
2008-06-04 19:01:43 +08:00
|
|
|
dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
|
|
|
dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
|
|
|
|
dh_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
|
|
dh_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
2004-04-20 02:33:41 +08:00
|
|
|
dh_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
|
2008-06-04 19:01:43 +08:00
|
|
|
dh_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
|
|
|
|
dh_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
dh_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
dh_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
|
|
|
|
dh_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
dh_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
dh_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
dh_lib.o: ../cryptlib.h dh_lib.c
|
2006-04-13 21:00:45 +08:00
|
|
|
dh_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
|
|
dh_pmeth.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
|
2008-03-23 02:52:03 +08:00
|
|
|
dh_pmeth.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
|
|
|
dh_pmeth.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
|
2014-02-20 04:09:08 +08:00
|
|
|
dh_pmeth.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
|
|
|
|
dh_pmeth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
|
|
|
|
dh_pmeth.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
|
|
|
|
dh_pmeth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
|
|
|
|
dh_pmeth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
dh_pmeth.o: ../../include/openssl/opensslconf.h
|
2006-04-13 21:00:45 +08:00
|
|
|
dh_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
2009-07-08 17:19:53 +08:00
|
|
|
dh_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
|
|
|
|
dh_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
dh_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
2015-03-24 20:05:05 +08:00
|
|
|
dh_pmeth.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
|
|
|
|
dh_pmeth.o: ../include/internal/evp_int.h dh_pmeth.c
|
2006-03-23 19:54:51 +08:00
|
|
|
dh_prn.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
dh_prn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
dh_prn.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
|
|
|
|
dh_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
|
|
dh_prn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
dh_prn.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
|
|
|
dh_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
dh_prn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
dh_prn.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_prn.c
|
2011-12-27 22:46:03 +08:00
|
|
|
dh_rfc5114.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
dh_rfc5114.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
|
|
|
dh_rfc5114.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
|
|
|
|
dh_rfc5114.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
|
|
dh_rfc5114.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
dh_rfc5114.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
dh_rfc5114.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
dh_rfc5114.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_rfc5114.c
|