Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

53 рядки
1.5KB

  1. #--------------------------------Output------------------------------
  2. # OUTTYPE: 0-exe, 1-dll, 2-static
  3. #--------------------------------------------------------------------
  4. OUTTYPE = 2
  5. OUTFILE = librtmp.a
  6. #-------------------------------Include------------------------------
  7. #
  8. # INCLUDES = $(addprefix -I,$(INCLUDES)) # add -I prefix
  9. #--------------------------------------------------------------------
  10. INCLUDES = . \
  11. ./include \
  12. ../libflv/include
  13. #-------------------------------Source-------------------------------
  14. #
  15. #--------------------------------------------------------------------
  16. SOURCE_PATHS = source
  17. SOURCE_FILES = $(foreach dir,$(SOURCE_PATHS),$(wildcard $(dir)/*.cpp))
  18. SOURCE_FILES += $(foreach dir,$(SOURCE_PATHS),$(wildcard $(dir)/*.c))
  19. SOURCE_FILES := $(filter-out $(_SOURCE_FILES),$(SOURCE_FILES))
  20. #-----------------------------Library--------------------------------
  21. #
  22. # LIBPATHS = $(addprefix -L,$(LIBPATHS)) # add -L prefix
  23. #--------------------------------------------------------------------
  24. LIBPATHS =
  25. ifdef RELEASE
  26. # relase library path
  27. LIBPATHS +=
  28. else
  29. LIBPATHS +=
  30. endif
  31. LIBS =
  32. #LIBS += ssl crypto
  33. STATIC_LIBS =
  34. #-----------------------------DEFINES--------------------------------
  35. #
  36. # DEFINES := $(addprefix -D,$(DEFINES)) # add -L prefix
  37. #--------------------------------------------------------------------
  38. DEFINES =
  39. #DEFINES += _IETF_HAMC_
  40. #DEFINES += _OPENSSL_
  41. #define openssl or add sdk/source/digest/sha.c, sha1.c, sha224-256.c, sha384-512.c, hmac.c
  42. #INCLUDES += ../../sdk/include
  43. include ../gcc.mk