mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
124 lines
4.3 KiB
Makefile
124 lines
4.3 KiB
Makefile
#
|
|
# crypto/ecdh/Makefile
|
|
#
|
|
|
|
DIR= ecdh
|
|
TOP= ../..
|
|
CC= cc
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
|
CFLAG=-g -Wall
|
|
INSTALL_PREFIX=
|
|
OPENSSLDIR= /usr/local/ssl
|
|
INSTALLTOP=/usr/local/ssl
|
|
MAKE= make -f Makefile.ssl
|
|
MAKEDEPPROG= makedepend
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
|
MAKEFILE= Makefile.ssl
|
|
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
|
|
HEADER= $(EXHEADER)
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
top:
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
all: lib
|
|
|
|
lib: $(LIBOBJ)
|
|
$(AR) $(LIB) $(LIBOBJ)
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
|
@touch lib
|
|
|
|
files:
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
|
|
|
links:
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
|
|
|
|
install:
|
|
@for i in $(EXHEADER) ; \
|
|
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:
|
|
$(MAKEDEPEND) -- $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
|
|
|
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.
|
|
|
|
ech_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
ech_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
|
|
ech_err.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
ech_err.o: ../../include/openssl/ecdh.h ../../include/openssl/err.h
|
|
ech_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
ech_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
ech_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
ech_err.o: ../../include/openssl/symhacks.h ech_err.c
|
|
ech_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
ech_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
|
|
ech_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.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/err.h
|
|
ech_key.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
ech_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
ech_key.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
|
|
ech_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
ech_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ecdh.h
|
|
ech_key.o: ech_key.c
|
|
ech_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
ech_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
|
|
ech_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
ech_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
ech_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
|
ech_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
|
|
ech_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
ech_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
ech_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
|
|
ech_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
ech_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ecdh.h
|
|
ech_lib.o: ech_lib.c
|
|
ech_ossl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
ech_ossl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
|
|
ech_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
ech_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
ech_ossl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
|
|
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
|
|
ech_ossl.o: ecdh.h ech_ossl.c
|