ced2c2c598
Reviewed-by: Richard Levitte <levitte@openssl.org>
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
#
|
|
# OpenSSL/crypto/engine/Makefile
|
|
#
|
|
|
|
DIR= engine
|
|
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= eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \
|
|
eng_table.c eng_pkey.c eng_fat.c eng_all.c \
|
|
tb_rsa.c tb_dsa.c tb_dh.c tb_rand.c tb_store.c \
|
|
tb_cipher.c tb_digest.c tb_pkmeth.c tb_asnmth.c tb_eckey.c \
|
|
eng_openssl.c eng_cnf.c eng_dyn.c eng_cryptodev.c \
|
|
eng_rdrand.c
|
|
LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \
|
|
eng_table.o eng_pkey.o eng_fat.o eng_all.o \
|
|
tb_rsa.o tb_dsa.o tb_dh.o tb_rand.o tb_store.o \
|
|
tb_cipher.o tb_digest.o tb_pkmeth.o tb_asnmth.o tb_eckey.o \
|
|
eng_openssl.o eng_cnf.o eng_dyn.o eng_cryptodev.o \
|
|
eng_rdrand.o
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
HEADER=
|
|
|
|
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) -- $(PROGS) $(LIBSRC)
|
|
|
|
clean:
|
|
rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|