Makefile.am 1.1 KB
Newer Older
Yann Diorcet's avatar
Yann Diorcet committed
1 2 3 4
## Process this file with automake to produce Makefile.in

AM_CPPFLAGS=\
	-I$(top_srcdir) \
5
	-I$(top_srcdir)/coreapi
Yann Diorcet's avatar
Yann Diorcet committed
6 7 8 9

COMMON_CFLAGS=\
	-DIN_LINPHONE \
	$(ORTP_CFLAGS) \
10
	$(MEDIASTREAMER_CFLAGS) \
11
	$(STRICT_OPTIONS) \
12 13
	$(STRICT_OPTIONS_CC) \
	$(LIBXML2_CFLAGS)
Yann Diorcet's avatar
Yann Diorcet committed
14

15
#-fpermissive to workaround a g++ bug on macos 32bit SDK.
16
AM_CXXFLAGS=$(LIBXML2_CFLAGS) -fpermissive $(STRICT_OPTIONS) $(STRICT_OPTIONS_CXX)
17

Yann Diorcet's avatar
Yann Diorcet committed
18 19
EXTRA_DIST=xml2lpc_jni.cc lpc2xml_jni.cc

Yann Diorcet's avatar
Yann Diorcet committed
20 21
if BUILD_TOOLS

22
bin_PROGRAMS=xml2lpc_test lpc2xml_test lp-gen-wrappers auto_answer
Yann Diorcet's avatar
Yann Diorcet committed
23

Yann Diorcet's avatar
Yann Diorcet committed
24 25 26
xml2lpc_test_SOURCES=\
	xml2lpc_test.c

27 28 29
lpc2xml_test_SOURCES=\
	lpc2xml_test.c

Yann Diorcet's avatar
Yann Diorcet committed
30
xml2lpc_test_CFLAGS=$(COMMON_CFLAGS)
Yann Diorcet's avatar
Yann Diorcet committed
31
xml2lpc_test_LDADD=\
32
	$(top_builddir)/coreapi/liblinphone.la
Yann Diorcet's avatar
Yann Diorcet committed
33

34 35
lpc2xml_test_CFLAGS=$(COMMON_CFLAGS)
lpc2xml_test_LDADD=\
36
	$(top_builddir)/coreapi/liblinphone.la
37

38 39 40
lp_gen_wrappers_SOURCES=genwrappers.cc \
			software-desc.cc software-desc.hh \
			generator.cc generator.hh
41 42 43 44

lp_gen_wrappers_LDADD= \
		$(LIBXML2_LIBS)

45 46 47
auto_answer_SOURCES=auto_answer.c
auto_answer_CFLAGS=$(COMMON_CFLAGS)
auto_answer_LDADD=\
Simon Morlat's avatar
Simon Morlat committed
48 49
	$(top_builddir)/coreapi/liblinphone.la \
	$(MEDIASTREAMER_LIBS)
50

Yann Diorcet's avatar
Yann Diorcet committed
51 52 53
endif