]> sjero.net Git - linphone/blob - tools/Makefile.am
Merge branch 'master' of git.linphone.org:linphone into upnp
[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 if BUILD_TOOLS
15
16 lib_LTLIBRARIES=libxml2lpc.la liblpc2xml.la
17
18 libxml2lpc_la_SOURCES=\
19         xml2lpc.c \
20         xml2lpc.h
21
22 liblpc2xml_la_SOURCES=\
23         lpc2xml.c \
24         lpc2xml.h
25
26 libxml2lpc_la_CFLAGS=$(COMMON_CFLAGS)
27 libxml2lpc_la_LIBADD=\
28         $(top_builddir)/coreapi/liblinphone.la \
29         $(LIBXML2_LIBS) 
30
31 liblpc2xml_la_CFLAGS=$(COMMON_CFLAGS)
32 liblpc2xml_la_LIBADD=\
33         $(top_builddir)/coreapi/liblinphone.la \
34         $(LIBXML2_LIBS) 
35
36 libxml2lpc_la_LDFLAGS=-no-undefined
37 liblpc2xml_la_LDFLAGS=-no-undefined
38
39 bin_PROGRAMS=xml2lpc_test lpc2xml_test
40
41 xml2lpc_test_SOURCES=\
42         xml2lpc_test.c
43
44 lpc2xml_test_SOURCES=\
45         lpc2xml_test.c
46
47 xml2lpc_test_CFLAGS=$(COMMON_CFLAGS)
48 xml2lpc_test_LDADD=\
49         $(top_builddir)/coreapi/liblinphone.la \
50         libxml2lpc.la 
51
52 lpc2xml_test_CFLAGS=$(COMMON_CFLAGS)
53 lpc2xml_test_LDADD=\
54         $(top_builddir)/coreapi/liblinphone.la \
55         liblpc2xml.la 
56 endif
57
58