You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.7KB

  1. ROOT:=../../sdk
  2. #--------------------------------Output------------------------------
  3. # OUTTYPE: 0-exe, 1-dll, 2-static
  4. #--------------------------------------------------------------------
  5. OUTTYPE = 2
  6. OUTFILE = librtsp.a
  7. #-------------------------------Include------------------------------
  8. #
  9. # INCLUDES = $(addprefix -I,$(INCLUDES)) # add -I prefix
  10. #--------------------------------------------------------------------
  11. INCLUDES = . \
  12. ./include \
  13. $(ROOT)/include \
  14. $(ROOT)/libhttp/include \
  15. ../librtp/include \
  16. ../libmpeg/include \
  17. ../libflv/include \
  18. ../libmov/include \
  19. ../libmkv/include \
  20. ../../avcodec/avbsf/include \
  21. ../../avcodec/avcodec/include
  22. #-------------------------------Source-------------------------------
  23. #
  24. #--------------------------------------------------------------------
  25. SOURCE_PATHS = source source/client source/server source/utils source/sdp
  26. SOURCE_FILES = $(foreach dir,$(SOURCE_PATHS),$(wildcard $(dir)/*.cpp))
  27. SOURCE_FILES += $(foreach dir,$(SOURCE_PATHS),$(wildcard $(dir)/*.c))
  28. SOURCE_FILES += $(ROOT)/source/digest/md5.c
  29. SOURCE_FILES += $(ROOT)/source/base64.c
  30. #-----------------------------Library--------------------------------
  31. #
  32. # LIBPATHS = $(addprefix -L,$(LIBPATHS)) # add -L prefix
  33. #--------------------------------------------------------------------
  34. LIBPATHS =
  35. ifdef RELEASE
  36. # relase library path
  37. LIBPATHS +=
  38. else
  39. LIBPATHS +=
  40. endif
  41. LIBS =
  42. STATIC_LIBS =
  43. #-----------------------------DEFINES--------------------------------
  44. #
  45. # DEFINES := $(addprefix -D,$(DEFINES)) # add -L prefix
  46. #--------------------------------------------------------------------
  47. DEFINES = RTP_OVER_RTSP_TRY_TO_FIND_NEXT_PACKET
  48. include ../gcc.mk