blob: b221dd44950f7d335e58dd827a013204ff47b3fe [file] [log] [blame]
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07001all: libcrypto.a
2
3clean:
4 rm -f *~ *.o *.d libcrypto.a
5
6install:
7 @echo Nothing to be made.
8
9
10include ../lib.rules
11
12CFLAGS += -DCONFIG_TLS_INTERNAL_CLIENT
13CFLAGS += -DCONFIG_TLS_INTERNAL_SERVER
14#CFLAGS += -DALL_DH_GROUPS
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -080015CFLAGS += -DCONFIG_SHA256
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070016
17LIB_OBJS= \
18 aes-cbc.o \
19 aes-ctr.o \
20 aes-eax.o \
21 aes-encblock.o \
22 aes-internal.o \
23 aes-internal-dec.o \
24 aes-internal-enc.o \
25 aes-omac1.o \
26 aes-unwrap.o \
27 aes-wrap.o \
28 des-internal.o \
29 dh_group5.o \
30 dh_groups.o \
31 md4-internal.o \
32 md5.o \
33 md5-internal.o \
34 md5-non-fips.o \
35 milenage.o \
36 ms_funcs.o \
37 rc4.o \
38 sha1.o \
39 sha1-internal.o \
40 sha1-pbkdf2.o \
41 sha1-tlsprf.o \
42 sha1-tprf.o \
43 sha256.o \
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -080044 sha256-tlsprf.o \
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070045 sha256-internal.o
46
47LIB_OBJS += crypto_internal.o
48LIB_OBJS += crypto_internal-cipher.o
49LIB_OBJS += crypto_internal-modexp.o
50LIB_OBJS += crypto_internal-rsa.o
51LIB_OBJS += tls_internal.o
52LIB_OBJS += fips_prf_internal.o
Dmitry Shmidt1f69aa52012-01-24 16:10:04 -080053LIB_OBJS += random.o
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070054
55
56libcrypto.a: $(LIB_OBJS)
57 $(AR) crT $@ $?
58
59-include $(OBJS:%.o=%.d)