]> sjero.net Git - linphone/blob - tools/Makefile.am
Aac-eld add missing header according to RFC3640 3.3.6
[linphone] / tools / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AM_CPPFLAGS=\
4         -I$(top_srcdir) \
5         -I$(top_srcdir)/coreapi \
6         -I$(top_srcdir)/exosip
7
8 COMMON_CFLAGS=\
9         -DIN_LINPHONE \
10         $(ORTP_CFLAGS) \
11         $(STRICT_OPTIONS) \
12         $(LIBXML2_CFLAGS) 
13
14 EXTRA_DIST=xml2lpc_jni.cc lpc2xml_jni.cc
15
16 if BUILD_TOOLS
17
18 lib_LTLIBRARIES=libxml2lpc.la liblpc2xml.la
19
20 libxml2lpc_la_SOURCES=\
21         xml2lpc.c \
22         xml2lpc.h
23
24 liblpc2xml_la_SOURCES=\
25         lpc2xml.c \
26         lpc2xml.h
27
28 libxml2lpc_la_CFLAGS=$(COMMON_CFLAGS)
29 libxml2lpc_la_LIBADD=\
30         $(top_builddir)/coreapi/liblinphone.la \
31         $(LIBXML2_LIBS) 
32
33 liblpc2xml_la_CFLAGS=$(COMMON_CFLAGS)
34 liblpc2xml_la_LIBADD=\
35         $(top_builddir)/coreapi/liblinphone.la \
36         $(LIBXML2_LIBS) 
37
38 libxml2lpc_la_LDFLAGS=-no-undefined
39 liblpc2xml_la_LDFLAGS=-no-undefined
40
41 bin_PROGRAMS=xml2lpc_test lpc2xml_test
42
43 xml2lpc_test_SOURCES=\
44         xml2lpc_test.c
45
46 lpc2xml_test_SOURCES=\
47         lpc2xml_test.c
48
49 xml2lpc_test_CFLAGS=$(COMMON_CFLAGS)
50 xml2lpc_test_LDADD=\
51         $(top_builddir)/coreapi/liblinphone.la \
52         libxml2lpc.la 
53
54 lpc2xml_test_CFLAGS=$(COMMON_CFLAGS)
55 lpc2xml_test_LDADD=\
56         $(top_builddir)/coreapi/liblinphone.la \
57         liblpc2xml.la 
58 endif
59
60