7b9f8f7f03
This builds on the previous commit to auto initialise/deinitialise libcrypto. Reviewed-by: Richard Levitte <levitte@openssl.org>
71 lines
1.9 KiB
Makefile
71 lines
1.9 KiB
Makefile
#
|
|
# OpenSSL/crypto/evp/Makefile
|
|
#
|
|
|
|
DIR= evp
|
|
TOP= ../..
|
|
CC= cc
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
|
CFLAG=-g
|
|
MAKEFILE= Makefile
|
|
AR= ar r
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
GENERAL=Makefile
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
LIBSRC= encode.c digest.c evp_enc.c evp_key.c evp_cnf.c \
|
|
e_des.c e_bf.c e_idea.c e_des3.c e_camellia.c\
|
|
e_rc4.c e_aes.c names.c e_seed.c \
|
|
e_xcbc_d.c e_rc2.c e_cast.c e_rc5.c \
|
|
m_null.c m_md2.c m_md4.c m_md5.c m_sha1.c m_wp.c \
|
|
m_md5_sha1.c m_mdc2.c m_ripemd.c \
|
|
p_open.c p_seal.c p_sign.c p_verify.c p_lib.c p_enc.c p_dec.c \
|
|
bio_md.c bio_b64.c bio_enc.c evp_err.c e_null.c \
|
|
c_allc.c c_alld.c evp_lib.c bio_ok.c \
|
|
evp_pkey.c evp_pbe.c p5_crpt.c p5_crpt2.c scrypt.c \
|
|
e_old.c pmeth_lib.c pmeth_fn.c pmeth_gn.c m_sigver.c \
|
|
e_aes_cbc_hmac_sha1.c e_aes_cbc_hmac_sha256.c e_rc4_hmac_md5.c \
|
|
e_chacha20_poly1305.c cmeth_lib.c
|
|
|
|
LIBOBJ= encode.o digest.o evp_enc.o evp_key.o evp_cnf.o \
|
|
e_des.o e_bf.o e_idea.o e_des3.o e_camellia.o\
|
|
e_rc4.o e_aes.o names.o e_seed.o \
|
|
e_xcbc_d.o e_rc2.o e_cast.o e_rc5.o \
|
|
m_null.o m_md2.o m_md4.o m_md5.o m_sha1.o m_wp.o \
|
|
m_md5_sha1.o m_mdc2.o m_ripemd.o \
|
|
p_open.o p_seal.o p_sign.o p_verify.o p_lib.o p_enc.o p_dec.o \
|
|
bio_md.o bio_b64.o bio_enc.o evp_err.o e_null.o \
|
|
c_allc.o c_alld.o evp_lib.o bio_ok.o \
|
|
evp_pkey.o evp_pbe.o p5_crpt.o p5_crpt2.o scrypt.o \
|
|
e_old.o pmeth_lib.o pmeth_fn.o pmeth_gn.o m_sigver.o \
|
|
e_aes_cbc_hmac_sha1.o e_aes_cbc_hmac_sha256.o e_rc4_hmac_md5.o \
|
|
e_chacha20_poly1305.o cmeth_lib.o
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
HEADER= evp_locl.h
|
|
|
|
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 >> $(TOP)/MINFO
|
|
|
|
depend:
|
|
$(TOP)/util/domd $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
|
|
|
|
clean:
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|