2009-12-05 15:03:46 -05:00
|
|
|
all: libcrypto.a
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
clean:
|
2013-11-24 12:16:12 -05:00
|
|
|
rm -f *~ *.o *.d *.gcno *.gcda *.gcov libcrypto.a
|
2009-02-15 07:22:50 -05:00
|
|
|
|
|
|
|
install:
|
|
|
|
@echo Nothing to be made.
|
2009-12-05 15:03:46 -05:00
|
|
|
|
|
|
|
|
|
|
|
include ../lib.rules
|
|
|
|
|
2014-03-11 10:33:05 -04:00
|
|
|
CFLAGS += -DCONFIG_CRYPTO_INTERNAL
|
2009-12-05 15:03:46 -05:00
|
|
|
CFLAGS += -DCONFIG_TLS_INTERNAL_CLIENT
|
|
|
|
CFLAGS += -DCONFIG_TLS_INTERNAL_SERVER
|
|
|
|
#CFLAGS += -DALL_DH_GROUPS
|
2011-11-27 14:00:59 -05:00
|
|
|
CFLAGS += -DCONFIG_SHA256
|
2009-12-05 15:03:46 -05:00
|
|
|
|
|
|
|
LIB_OBJS= \
|
|
|
|
aes-cbc.o \
|
2012-09-09 11:07:19 -04:00
|
|
|
aes-ccm.o \
|
2009-12-05 15:03:46 -05:00
|
|
|
aes-ctr.o \
|
|
|
|
aes-eax.o \
|
|
|
|
aes-encblock.o \
|
2012-09-08 16:48:08 -04:00
|
|
|
aes-gcm.o \
|
2009-12-05 15:03:46 -05:00
|
|
|
aes-internal.o \
|
|
|
|
aes-internal-dec.o \
|
|
|
|
aes-internal-enc.o \
|
|
|
|
aes-omac1.o \
|
2009-12-05 15:25:50 -05:00
|
|
|
aes-unwrap.o \
|
2009-12-05 15:03:46 -05:00
|
|
|
aes-wrap.o \
|
|
|
|
des-internal.o \
|
|
|
|
dh_group5.o \
|
|
|
|
dh_groups.o \
|
|
|
|
md4-internal.o \
|
|
|
|
md5.o \
|
|
|
|
md5-internal.o \
|
|
|
|
milenage.o \
|
|
|
|
ms_funcs.o \
|
|
|
|
rc4.o \
|
|
|
|
sha1.o \
|
|
|
|
sha1-internal.o \
|
|
|
|
sha1-pbkdf2.o \
|
2012-08-16 13:23:12 -04:00
|
|
|
sha1-prf.o \
|
2009-12-05 15:25:50 -05:00
|
|
|
sha1-tlsprf.o \
|
2009-12-05 15:03:46 -05:00
|
|
|
sha1-tprf.o \
|
|
|
|
sha256.o \
|
2012-08-22 04:15:55 -04:00
|
|
|
sha256-prf.o \
|
2011-11-27 14:07:44 -05:00
|
|
|
sha256-tlsprf.o \
|
2009-12-05 15:03:46 -05:00
|
|
|
sha256-internal.o
|
|
|
|
|
|
|
|
LIB_OBJS += crypto_internal.o
|
2009-12-06 07:37:46 -05:00
|
|
|
LIB_OBJS += crypto_internal-cipher.o
|
|
|
|
LIB_OBJS += crypto_internal-modexp.o
|
|
|
|
LIB_OBJS += crypto_internal-rsa.o
|
2009-12-05 15:03:46 -05:00
|
|
|
LIB_OBJS += tls_internal.o
|
|
|
|
LIB_OBJS += fips_prf_internal.o
|
2011-11-05 07:02:31 -04:00
|
|
|
LIB_OBJS += random.o
|
2009-12-05 15:03:46 -05:00
|
|
|
|
|
|
|
|
|
|
|
libcrypto.a: $(LIB_OBJS)
|
2009-12-06 06:49:31 -05:00
|
|
|
$(AR) crT $@ $?
|
2009-12-05 15:03:46 -05:00
|
|
|
|
|
|
|
-include $(OBJS:%.o=%.d)
|