2009-12-05 21:03:46 +01:00
|
|
|
all: libcrypto.a
|
2008-02-28 02:34:43 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
for d in $(SUBDIRS); do make -C $$d clean; done
|
2009-12-05 21:03:46 +01:00
|
|
|
rm -f *~ *.o *.d libcrypto.a
|
2009-02-15 13:22:50 +01:00
|
|
|
|
|
|
|
install:
|
|
|
|
@echo Nothing to be made.
|
2009-12-05 21:03:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
include ../lib.rules
|
|
|
|
|
|
|
|
CFLAGS += -DCONFIG_TLS_INTERNAL_CLIENT
|
|
|
|
CFLAGS += -DCONFIG_TLS_INTERNAL_SERVER
|
|
|
|
#CFLAGS += -DALL_DH_GROUPS
|
|
|
|
|
|
|
|
LIB_OBJS= \
|
|
|
|
aes-cbc.o \
|
|
|
|
aes-ctr.o \
|
|
|
|
aes-eax.o \
|
|
|
|
aes-encblock.o \
|
|
|
|
aes-internal.o \
|
|
|
|
aes-internal-dec.o \
|
|
|
|
aes-internal-enc.o \
|
|
|
|
aes-omac1.o \
|
2009-12-05 21:25:50 +01:00
|
|
|
aes-unwrap.o \
|
2009-12-05 21:03:46 +01:00
|
|
|
aes-wrap.o \
|
|
|
|
des-internal.o \
|
|
|
|
dh_group5.o \
|
|
|
|
dh_groups.o \
|
|
|
|
md4-internal.o \
|
|
|
|
md5.o \
|
|
|
|
md5-internal.o \
|
|
|
|
md5-non-fips.o \
|
|
|
|
milenage.o \
|
|
|
|
ms_funcs.o \
|
|
|
|
rc4.o \
|
|
|
|
sha1.o \
|
|
|
|
sha1-internal.o \
|
|
|
|
sha1-pbkdf2.o \
|
2009-12-05 21:25:50 +01:00
|
|
|
sha1-tlsprf.o \
|
2009-12-05 21:03:46 +01:00
|
|
|
sha1-tprf.o \
|
|
|
|
sha256.o \
|
|
|
|
sha256-internal.o
|
|
|
|
|
|
|
|
LIB_OBJS += crypto_internal.o
|
|
|
|
LIB_OBJS += tls_internal.o
|
|
|
|
LIB_OBJS += fips_prf_internal.o
|
|
|
|
|
|
|
|
|
|
|
|
libcrypto.a: $(LIB_OBJS)
|
2009-12-06 12:49:31 +01:00
|
|
|
$(AR) crT $@ $?
|
2009-12-05 21:03:46 +01:00
|
|
|
|
|
|
|
-include $(OBJS:%.o=%.d)
|