1## Process this file with automake to produce Makefile.in 2 3AM_CPPFLAGS=\ 4 -I$(top_srcdir) \ 5 -I$(top_srcdir)/include \ 6 -I$(top_srcdir)/coreapi 7 8COMMON_CFLAGS=\ 9 $(ORTP_CFLAGS) \ 10 $(MEDIASTREAMER_CFLAGS) \ 11 $(STRICT_OPTIONS) \ 12 $(STRICT_OPTIONS_CC) \ 13 $(MEDIASTREAMER_CFLAGS) \ 14 $(BCTOOLBOX_CFLAGS) 15 16#-fpermissive to workaround a g++ bug on macos 32bit SDK. 17AM_CXXFLAGS=$(LIBXML2_CFLAGS) -fpermissive $(STRICT_OPTIONS) $(STRICT_OPTIONS_CXX) 18 19EXTRA_DIST=xml2lpc_jni.cc lpc2xml_jni.cc 20 21if BUILD_TOOLS 22 23bin_PROGRAMS=xml2lpc_test lpc2xml_test lp-autoanswer lp-test-ecc lp-sendmsg 24 25xml2lpc_test_SOURCES=\ 26 xml2lpc_test.c 27 28lpc2xml_test_SOURCES=\ 29 lpc2xml_test.c 30 31xml2lpc_test_CFLAGS=$(COMMON_CFLAGS) 32xml2lpc_test_LDADD=\ 33 $(top_builddir)/coreapi/liblinphone.la 34 35lpc2xml_test_CFLAGS=$(COMMON_CFLAGS) 36lpc2xml_test_LDADD=\ 37 $(top_builddir)/coreapi/liblinphone.la 38 39lp_autoanswer_SOURCES=auto_answer.c 40lp_autoanswer_CFLAGS=$(COMMON_CFLAGS) 41lp_autoanswer_LDADD=\ 42 $(top_builddir)/coreapi/liblinphone.la \ 43 $(MEDIASTREAMER_LIBS) 44 45lp_test_ecc_SOURCES=test_ecc.c 46lp_test_ecc_CFLAGS=$(COMMON_CFLAGS) 47lp_test_ecc_LDADD=$(top_builddir)/coreapi/liblinphone.la 48 49lp_sendmsg_SOURCES=lpsendmsg.c 50lp_sendmsg_CFLAGS=$(COMMON_CFLAGS) 51lp_sendmsg_LDADD=$(top_builddir)/coreapi/liblinphone.la 52 53endif 54 55 56 57if ENABLE_TESTS 58 59noinst_PROGRAMS=test_lsd test_numbers 60 61test_lsd_SOURCES=test_lsd.c 62test_lsd_CFLAGS=$(COMMON_CFLAGS) 63test_lsd_LDADD=$(top_builddir)/coreapi/liblinphone.la 64 65 66 67test_numbers_SOURCES=test_numbers.c 68test_numbers_CFLAGS=$(COMMON_CFLAGS) 69test_numbers_LDADD=$(top_builddir)/coreapi/liblinphone.la 70 71endif 72