Makefile 1.0 KB

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