Home | History | Annotate | Download | only in crypto
      1 all: libcrypto.a
      2 
      3 clean:
      4 	rm -f *~ *.o *.d libcrypto.a
      5 
      6 install:
      7 	@echo Nothing to be made.
      8 
      9 
     10 include ../lib.rules
     11 
     12 CFLAGS += -DCONFIG_TLS_INTERNAL_CLIENT
     13 CFLAGS += -DCONFIG_TLS_INTERNAL_SERVER
     14 #CFLAGS += -DALL_DH_GROUPS
     15 
     16 LIB_OBJS= \
     17 	aes-cbc.o \
     18 	aes-ctr.o \
     19 	aes-eax.o \
     20 	aes-encblock.o \
     21 	aes-internal.o \
     22 	aes-internal-dec.o \
     23 	aes-internal-enc.o \
     24 	aes-omac1.o \
     25 	aes-unwrap.o \
     26 	aes-wrap.o \
     27 	des-internal.o \
     28 	dh_group5.o \
     29 	dh_groups.o \
     30 	md4-internal.o \
     31 	md5.o \
     32 	md5-internal.o \
     33 	md5-non-fips.o \
     34 	milenage.o \
     35 	ms_funcs.o \
     36 	rc4.o \
     37 	sha1.o \
     38 	sha1-internal.o \
     39 	sha1-pbkdf2.o \
     40 	sha1-tlsprf.o \
     41 	sha1-tprf.o \
     42 	sha256.o \
     43 	sha256-internal.o
     44 
     45 LIB_OBJS += crypto_internal.o
     46 LIB_OBJS += crypto_internal-cipher.o
     47 LIB_OBJS += crypto_internal-modexp.o
     48 LIB_OBJS += crypto_internal-rsa.o
     49 LIB_OBJS += tls_internal.o
     50 LIB_OBJS += fips_prf_internal.o
     51 
     52 
     53 libcrypto.a: $(LIB_OBJS)
     54 	$(AR) crT $@ $?
     55 
     56 -include $(OBJS:%.o=%.d)
     57