build.mak.in 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. export PJDIR := @ac_pjdir@
  2. include $(PJDIR)/version.mak
  3. export PJ_DIR := $(PJDIR)
  4. # @configure_input@
  5. export MACHINE_NAME := auto
  6. export OS_NAME := auto
  7. export HOST_NAME := unix
  8. export CC_NAME := gcc
  9. export TARGET_ARCH := @ac_target_arch@
  10. export STD_CPP_LIB := @ac_std_cpp_lib@
  11. export TARGET_NAME := @target@
  12. export CROSS_COMPILE := @ac_cross_compile@
  13. export LINUX_POLL := @ac_linux_poll@
  14. export SHLIB_SUFFIX := @ac_shlib_suffix@
  15. export prefix := @prefix@
  16. export exec_prefix := @exec_prefix@
  17. export includedir := @includedir@
  18. export libdir := @libdir@
  19. LIB_SUFFIX := $(TARGET_NAME).a
  20. ifeq (@ac_shared_libraries@,1)
  21. export PJ_SHARED_LIBRARIES := 1
  22. endif
  23. ifeq (@ac_no_pjsua2@,1)
  24. export PJ_EXCLUDE_PJSUA2 := 1
  25. endif
  26. ifndef EXCLUDE_APP
  27. ifeq ($(findstring android,$(TARGET_NAME)),)
  28. export EXCLUDE_APP := 0
  29. else
  30. export EXCLUDE_APP := 1
  31. endif
  32. endif
  33. # Determine which party libraries to use
  34. export APP_THIRD_PARTY_EXT :=
  35. export APP_THIRD_PARTY_LIBS :=
  36. export APP_THIRD_PARTY_LIB_FILES :=
  37. ifneq (@ac_no_srtp@,1)
  38. ifneq (@ac_external_srtp@,0)
  39. # External SRTP library
  40. APP_THIRD_PARTY_EXT += -l@ac_external_srtp_lib@
  41. else
  42. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libsrtp-$(LIB_SUFFIX)
  43. ifeq ($(PJ_SHARED_LIBRARIES),)
  44. APP_THIRD_PARTY_LIBS += -lsrtp-$(TARGET_NAME)
  45. else
  46. APP_THIRD_PARTY_LIBS += -lsrtp
  47. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libsrtp.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libsrtp.$(SHLIB_SUFFIX)
  48. endif
  49. endif
  50. endif
  51. ifeq (@ac_pjmedia_resample@,libresample)
  52. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libresample-$(LIB_SUFFIX)
  53. ifeq ($(PJ_SHARED_LIBRARIES),)
  54. ifeq (@ac_resample_dll@,1)
  55. export PJ_RESAMPLE_DLL := 1
  56. APP_THIRD_PARTY_LIBS += -lresample
  57. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libresample.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libresample.$(SHLIB_SUFFIX)
  58. else
  59. APP_THIRD_PARTY_LIBS += -lresample-$(TARGET_NAME)
  60. endif
  61. else
  62. APP_THIRD_PARTY_LIBS += -lresample
  63. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libresample.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libresample.$(SHLIB_SUFFIX)
  64. endif
  65. endif
  66. ifneq (@ac_no_gsm_codec@,1)
  67. ifeq (@ac_external_gsm@,1)
  68. # External GSM library
  69. APP_THIRD_PARTY_EXT += -lgsm
  70. else
  71. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libgsmcodec-$(LIB_SUFFIX)
  72. ifeq ($(PJ_SHARED_LIBRARIES),)
  73. APP_THIRD_PARTY_LIBS += -lgsmcodec-$(TARGET_NAME)
  74. else
  75. APP_THIRD_PARTY_LIBS += -lgsmcodec
  76. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libgsmcodec.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libgsmcodec.$(SHLIB_SUFFIX)
  77. endif
  78. endif
  79. endif
  80. ifneq (@ac_no_speex_codec@,1)
  81. ifeq (@ac_external_speex@,1)
  82. APP_THIRD_PARTY_EXT += -lspeex -lspeexdsp
  83. else
  84. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libspeex-$(LIB_SUFFIX)
  85. ifeq ($(PJ_SHARED_LIBRARIES),)
  86. APP_THIRD_PARTY_LIBS += -lspeex-$(TARGET_NAME)
  87. else
  88. APP_THIRD_PARTY_LIBS += -lspeex
  89. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libspeex.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libspeex.$(SHLIB_SUFFIX)
  90. endif
  91. endif
  92. endif
  93. ifneq (@ac_no_ilbc_codec@,1)
  94. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libilbccodec-$(LIB_SUFFIX)
  95. ifeq ($(PJ_SHARED_LIBRARIES),)
  96. APP_THIRD_PARTY_LIBS += -lilbccodec-$(TARGET_NAME)
  97. else
  98. APP_THIRD_PARTY_LIBS += -lilbccodec
  99. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libilbccodec.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libilbccodec.$(SHLIB_SUFFIX)
  100. endif
  101. endif
  102. ifneq (@ac_no_g7221_codec@,1)
  103. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libg7221codec-$(LIB_SUFFIX)
  104. ifeq ($(PJ_SHARED_LIBRARIES),)
  105. APP_THIRD_PARTY_LIBS += -lg7221codec-$(TARGET_NAME)
  106. else
  107. APP_THIRD_PARTY_LIBS += -lg7221codec
  108. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libg7221codec.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libg7221codec.$(SHLIB_SUFFIX)
  109. endif
  110. endif
  111. ifeq (@ac_external_pa@,1)
  112. # External PA
  113. APP_THIRD_PARTY_EXT += -lportaudio
  114. endif
  115. ifneq (@ac_no_yuv@,1)
  116. ifeq (@ac_external_yuv@,1)
  117. APP_THIRD_PARTY_EXT += -lyuv
  118. else
  119. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libyuv-$(LIB_SUFFIX)
  120. ifeq ($(PJ_SHARED_LIBRARIES),)
  121. APP_THIRD_PARTY_LIBS += -lyuv-$(TARGET_NAME)
  122. else
  123. APP_THIRD_PARTY_LIBS += -lyuv
  124. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libyuv.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libyuv.$(SHLIB_SUFFIX)
  125. endif
  126. endif
  127. endif
  128. ifneq (@ac_no_webrtc@,1)
  129. ifeq (@ac_external_webrtc@,1)
  130. APP_THIRD_PARTY_EXT += -lwebrtc
  131. else
  132. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libwebrtc-$(LIB_SUFFIX)
  133. ifeq ($(PJ_SHARED_LIBRARIES),)
  134. APP_THIRD_PARTY_LIBS += -lwebrtc-$(TARGET_NAME)
  135. else
  136. APP_THIRD_PARTY_LIBS += -lwebrtc
  137. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libwebrtc.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libwebrtc.$(SHLIB_SUFFIX)
  138. endif
  139. endif
  140. endif
  141. ifneq (@ac_no_webrtc_aec3@,1)
  142. ifeq (@ac_external_webrtc_aec3@,1)
  143. APP_THIRD_PARTY_EXT += -lwebrtc-aec3
  144. else
  145. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libwebrtc-aec3-$(LIB_SUFFIX)
  146. ifeq ($(PJ_SHARED_LIBRARIES),)
  147. APP_THIRD_PARTY_LIBS += -lwebrtc-aec3-$(TARGET_NAME)
  148. else
  149. APP_THIRD_PARTY_LIBS += -lwebrtc-aec3
  150. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libwebrtc-aec3.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/third_party/lib/libwebrtc.$(SHLIB_SUFFIX)
  151. endif
  152. endif
  153. endif
  154. # Additional flags
  155. @ac_build_mak_vars@
  156. #
  157. # Video
  158. # Note: there are duplicated macros in pjmedia/os-auto.mak.in (and that's not
  159. # good!
  160. # SDL flags
  161. SDL_CFLAGS = @ac_sdl_cflags@
  162. SDL_LDFLAGS = @ac_sdl_ldflags@
  163. # FFMPEG flags
  164. FFMPEG_CFLAGS = @ac_ffmpeg_cflags@
  165. FFMPEG_LDFLAGS = @ac_ffmpeg_ldflags@
  166. # Video4Linux2
  167. V4L2_CFLAGS = @ac_v4l2_cflags@
  168. V4L2_LDFLAGS = @ac_v4l2_ldflags@
  169. # OPENH264 flags
  170. OPENH264_CFLAGS = @ac_openh264_cflags@
  171. OPENH264_LDFLAGS = @ac_openh264_ldflags@
  172. # VPX flags
  173. VPX_CFLAGS = @ac_vpx_cflags@
  174. VPX_LDFLAGS = @ac_vpx_ldflags@
  175. # QT
  176. AC_PJMEDIA_VIDEO_HAS_QT = @ac_pjmedia_video_has_qt@
  177. # QT_CFLAGS = @ac_qt_cflags@
  178. # Darwin (Mac and iOS)
  179. AC_PJMEDIA_VIDEO_HAS_DARWIN = @ac_pjmedia_video_has_darwin@
  180. AC_PJMEDIA_VIDEO_HAS_METAL = @ac_pjmedia_video_has_metal@
  181. AC_PJMEDIA_VIDEO_HAS_VTOOLBOX = @ac_pjmedia_video_has_vtoolbox@
  182. AC_PJMEDIA_VIDEO_HAS_IOS_OPENGL = @ac_pjmedia_video_has_ios_opengl@
  183. DARWIN_CFLAGS = @ac_darwin_cflags@
  184. # mingw
  185. AC_PJMEDIA_VIDEO_DEV_HAS_DSHOW = @ac_pjmedia_video_dev_has_dshow@
  186. ifeq (@ac_pjmedia_video_dev_has_dshow@,yes)
  187. DSHOW_CFLAGS = @ac_dshow_cflags@
  188. DSHOW_LDFLAGS = @ac_dshow_ldflags@
  189. APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libbaseclasses-$(LIB_SUFFIX)
  190. APP_THIRD_PARTY_LIBS += -lbaseclasses-$(TARGET_NAME)
  191. endif
  192. # Android
  193. ANDROID_CFLAGS = @ac_android_cflags@
  194. OBOE_CFLAGS = @ac_oboe_cflags@
  195. # PJMEDIA features exclusion
  196. PJ_VIDEO_CFLAGS += $(SDL_CFLAGS) $(FFMPEG_CFLAGS) $(V4L2_CFLAGS) $(DSHOW_CFLAGS) $(QT_CFLAGS) \
  197. $(OPENH264_CFLAGS) $(VPX_CFLAGS) $(DARWIN_CFLAGS)
  198. PJ_VIDEO_LDFLAGS += $(SDL_LDFLAGS) $(FFMPEG_LDFLAGS) $(V4L2_LDFLAGS) $(DSHOW_LDFLAGS) \
  199. $(OPENH264_LDFLAGS) $(VPX_LDFLAGS)
  200. # CFLAGS, LDFLAGS, and LIBS to be used by applications
  201. export APP_CC := @CC@
  202. export APP_CXX := @CXX@
  203. export APP_CFLAGS := -DPJ_AUTOCONF=1\
  204. @CFLAGS@\
  205. $(PJ_VIDEO_CFLAGS) \
  206. -I$(PJDIR)/pjlib/include\
  207. -I$(PJDIR)/pjlib-util/include\
  208. -I$(PJDIR)/pjnath/include\
  209. -I$(PJDIR)/pjmedia/include\
  210. -I$(PJDIR)/pjsip/include
  211. export APP_CXXFLAGS := @CXXFLAGS@ $(APP_CFLAGS)
  212. export APP_LDFLAGS := -L$(PJDIR)/pjlib/lib\
  213. -L$(PJDIR)/pjlib-util/lib\
  214. -L$(PJDIR)/pjnath/lib\
  215. -L$(PJDIR)/pjmedia/lib\
  216. -L$(PJDIR)/pjsip/lib\
  217. -L$(PJDIR)/third_party/lib\
  218. $(PJ_VIDEO_LDFLAGS) \
  219. @LDFLAGS@
  220. export APP_LDXXFLAGS := $(APP_LDFLAGS)
  221. export APP_LIB_FILES := \
  222. $(PJ_DIR)/pjsip/lib/libpjsua-$(LIB_SUFFIX) \
  223. $(PJ_DIR)/pjsip/lib/libpjsip-ua-$(LIB_SUFFIX) \
  224. $(PJ_DIR)/pjsip/lib/libpjsip-simple-$(LIB_SUFFIX) \
  225. $(PJ_DIR)/pjsip/lib/libpjsip-$(LIB_SUFFIX) \
  226. $(PJ_DIR)/pjmedia/lib/libpjmedia-codec-$(LIB_SUFFIX) \
  227. $(PJ_DIR)/pjmedia/lib/libpjmedia-videodev-$(LIB_SUFFIX) \
  228. $(PJ_DIR)/pjmedia/lib/libpjmedia-$(LIB_SUFFIX) \
  229. $(PJ_DIR)/pjmedia/lib/libpjmedia-audiodev-$(LIB_SUFFIX) \
  230. $(PJ_DIR)/pjnath/lib/libpjnath-$(LIB_SUFFIX) \
  231. $(PJ_DIR)/pjlib-util/lib/libpjlib-util-$(LIB_SUFFIX) \
  232. $(APP_THIRD_PARTY_LIB_FILES) \
  233. $(PJ_DIR)/pjlib/lib/libpj-$(LIB_SUFFIX)
  234. export APP_LIBXX_FILES := \
  235. $(PJ_DIR)/pjsip/lib/libpjsua2-$(LIB_SUFFIX) \
  236. $(APP_LIB_FILES)
  237. ifeq ($(PJ_SHARED_LIBRARIES),)
  238. export PJLIB_LDLIB := -lpj-$(TARGET_NAME)
  239. export PJLIB_UTIL_LDLIB := -lpjlib-util-$(TARGET_NAME)
  240. export PJNATH_LDLIB := -lpjnath-$(TARGET_NAME)
  241. export PJMEDIA_AUDIODEV_LDLIB := -lpjmedia-audiodev-$(TARGET_NAME)
  242. export PJMEDIA_VIDEODEV_LDLIB := -lpjmedia-videodev-$(TARGET_NAME)
  243. export PJMEDIA_LDLIB := -lpjmedia-$(TARGET_NAME)
  244. export PJMEDIA_CODEC_LDLIB := -lpjmedia-codec-$(TARGET_NAME)
  245. export PJSIP_LDLIB := -lpjsip-$(TARGET_NAME)
  246. export PJSIP_SIMPLE_LDLIB := -lpjsip-simple-$(TARGET_NAME)
  247. export PJSIP_UA_LDLIB := -lpjsip-ua-$(TARGET_NAME)
  248. export PJSUA_LIB_LDLIB := -lpjsua-$(TARGET_NAME)
  249. export PJSUA2_LIB_LDLIB := -lpjsua2-$(TARGET_NAME)
  250. else
  251. export PJLIB_LDLIB := -lpj
  252. export PJLIB_UTIL_LDLIB := -lpjlib-util
  253. export PJNATH_LDLIB := -lpjnath
  254. export PJMEDIA_AUDIODEV_LDLIB := -lpjmedia-audiodev
  255. export PJMEDIA_VIDEODEV_LDLIB := -lpjmedia-videodev
  256. export PJMEDIA_LDLIB := -lpjmedia
  257. export PJMEDIA_CODEC_LDLIB := -lpjmedia-codec
  258. export PJSIP_LDLIB := -lpjsip
  259. export PJSIP_SIMPLE_LDLIB := -lpjsip-simple
  260. export PJSIP_UA_LDLIB := -lpjsip-ua
  261. export PJSUA_LIB_LDLIB := -lpjsua
  262. export PJSUA2_LIB_LDLIB := -lpjsua2
  263. export ADD_LIB_FILES := $(PJ_DIR)/pjsip/lib/libpjsua.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjsip/lib/libpjsua.$(SHLIB_SUFFIX) \
  264. $(PJ_DIR)/pjsip/lib/libpjsip-ua.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjsip/lib/libpjsip-ua.$(SHLIB_SUFFIX) \
  265. $(PJ_DIR)/pjsip/lib/libpjsip-simple.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjsip/lib/libpjsip-simple.$(SHLIB_SUFFIX) \
  266. $(PJ_DIR)/pjsip/lib/libpjsip.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjsip/lib/libpjsip.$(SHLIB_SUFFIX) \
  267. $(PJ_DIR)/pjmedia/lib/libpjmedia-codec.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjmedia/lib/libpjmedia-codec.$(SHLIB_SUFFIX) \
  268. $(PJ_DIR)/pjmedia/lib/libpjmedia-videodev.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjmedia/lib/libpjmedia-videodev.$(SHLIB_SUFFIX) \
  269. $(PJ_DIR)/pjmedia/lib/libpjmedia.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjmedia/lib/libpjmedia.$(SHLIB_SUFFIX) \
  270. $(PJ_DIR)/pjmedia/lib/libpjmedia-audiodev.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjmedia/lib/libpjmedia-audiodev.$(SHLIB_SUFFIX) \
  271. $(PJ_DIR)/pjnath/lib/libpjnath.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjnath/lib/libpjnath.$(SHLIB_SUFFIX) \
  272. $(PJ_DIR)/pjlib-util/lib/libpjlib-util.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjlib-util/lib/libpjlib-util.$(SHLIB_SUFFIX) \
  273. $(PJ_DIR)/pjlib/lib/libpj.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjlib/lib/libpj.$(SHLIB_SUFFIX)
  274. APP_LIB_FILES += $(ADD_LIB_FILES)
  275. APP_LIBXX_FILES += $(PJ_DIR)/pjsip/lib/libpjsua2.$(SHLIB_SUFFIX).$(PJ_VERSION_MAJOR) $(PJ_DIR)/pjsip/lib/libpjsua2.$(SHLIB_SUFFIX) \
  276. $(ADD_LIB_FILES)
  277. endif
  278. ifeq ($(PJ_EXCLUDE_PJSUA2),1)
  279. export PJSUA2_LIB_LDLIB :=
  280. endif
  281. export APP_LDLIBS := $(PJSUA_LIB_LDLIB) \
  282. $(PJSIP_UA_LDLIB) \
  283. $(PJSIP_SIMPLE_LDLIB) \
  284. $(PJSIP_LDLIB) \
  285. $(PJMEDIA_CODEC_LDLIB) \
  286. $(PJMEDIA_VIDEODEV_LDLIB) \
  287. $(PJMEDIA_AUDIODEV_LDLIB) \
  288. $(PJMEDIA_LDLIB) \
  289. $(PJNATH_LDLIB) \
  290. $(PJLIB_UTIL_LDLIB) \
  291. $(APP_THIRD_PARTY_LIBS)\
  292. $(APP_THIRD_PARTY_EXT)\
  293. $(PJLIB_LDLIB) \
  294. @LIBS@
  295. export APP_LDXXLIBS := $(PJSUA2_LIB_LDLIB) \
  296. -lstdc++ \
  297. $(APP_LDLIBS)
  298. # Here are the variables to use if application is using the library
  299. # from within the source distribution
  300. export PJ_CC := $(APP_CC)
  301. export PJ_CXX := $(APP_CXX)
  302. export PJ_CFLAGS := $(APP_CFLAGS)
  303. export PJ_CXXFLAGS := $(APP_CXXFLAGS)
  304. export PJ_LDFLAGS := $(APP_LDFLAGS)
  305. export PJ_LDXXFLAGS := $(APP_LDXXFLAGS)
  306. export PJ_LDLIBS := $(APP_LDLIBS)
  307. export PJ_LDXXLIBS := $(APP_LDXXLIBS)
  308. export PJ_LIB_FILES := $(APP_LIB_FILES)
  309. export PJ_LIBXX_FILES := $(APP_LIBXX_FILES)
  310. # And here are the variables to use if application is using the
  311. # library from the install location (i.e. --prefix)
  312. export PJ_INSTALL_DIR := @prefix@
  313. export PJ_INSTALL_INC_DIR := @includedir@
  314. export PJ_INSTALL_LIB_DIR := @libdir@
  315. export PJ_INSTALL_CFLAGS := -I$(PJ_INSTALL_INC_DIR) -DPJ_AUTOCONF=1 @ac_cflags@
  316. export PJ_INSTALL_LDFLAGS_PRIVATE := $(APP_THIRD_PARTY_LIBS) $(APP_THIRD_PARTY_EXT) @LIBS@
  317. export PJ_INSTALL_LDFLAGS := -L$(PJ_INSTALL_LIB_DIR) $(filter-out $(PJ_INSTALL_LDFLAGS_PRIVATE),$(APP_LDXXLIBS))