]>
Commit | Line | Data |
---|---|---|
36d16f8e | 1 | # |
d10dac11 | 2 | # OpenSSL/crypto/engine/Makefile |
36d16f8e BL |
3 | # |
4 | ||
d10dac11 | 5 | DIR= engine |
36d16f8e BL |
6 | TOP= ../.. |
7 | CC= cc | |
d10dac11 | 8 | INCLUDES= -I.. -I$(TOP) -I../../include |
36d16f8e | 9 | CFLAG=-g |
36d16f8e BL |
10 | MAKEFILE= Makefile |
11 | AR= ar r | |
12 | ||
13 | CFLAGS= $(INCLUDES) $(CFLAG) | |
14 | ||
15 | GENERAL=Makefile | |
36d16f8e BL |
16 | |
17 | LIB=$(TOP)/libcrypto.a | |
d10dac11 RS |
18 | LIBSRC= eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \ |
19 | eng_table.c eng_pkey.c eng_fat.c eng_all.c \ | |
7984f082 | 20 | tb_rsa.c tb_dsa.c tb_dh.c tb_rand.c \ |
d10dac11 RS |
21 | tb_cipher.c tb_digest.c tb_pkmeth.c tb_asnmth.c tb_eckey.c \ |
22 | eng_openssl.c eng_cnf.c eng_dyn.c eng_cryptodev.c \ | |
23 | eng_rdrand.c | |
24 | LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \ | |
25 | eng_table.o eng_pkey.o eng_fat.o eng_all.o \ | |
7984f082 | 26 | tb_rsa.o tb_dsa.o tb_dh.o tb_rand.o \ |
d10dac11 RS |
27 | tb_cipher.o tb_digest.o tb_pkmeth.o tb_asnmth.o tb_eckey.o \ |
28 | eng_openssl.o eng_cnf.o eng_dyn.o eng_cryptodev.o \ | |
29 | eng_rdrand.o | |
36d16f8e BL |
30 | |
31 | SRC= $(LIBSRC) | |
32 | ||
7984f082 | 33 | HEADER= |
36d16f8e BL |
34 | |
35 | ALL= $(GENERAL) $(SRC) $(HEADER) | |
36 | ||
37 | top: | |
38 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | |
39 | ||
40 | all: lib | |
41 | ||
42 | lib: $(LIBOBJ) | |
f072785e | 43 | $(AR) $(LIB) $(LIBOBJ) |
36d16f8e BL |
44 | $(RANLIB) $(LIB) || echo Never mind. |
45 | @touch lib | |
46 | ||
47 | files: | |
48 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | |
49 | ||
36d16f8e | 50 | depend: |
ced2c2c5 | 51 | $(TOP)/util/domd $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
36d16f8e | 52 | |
36d16f8e | 53 | clean: |
d10dac11 | 54 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
36d16f8e BL |
55 | |
56 | # DO NOT DELETE THIS LINE -- make depend depends on it. |