]> sjero.net Git - linphone/blob - tools/Makefile.am
Fix tools for windows
[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         $(LIBXML2_CFLAGS) \
11         $(ORTP_CFLAGS) \
12         $(STRICT_OPTIONS)
13
14 if BUILD_TOOLS
15
16 lib_LTLIBRARIES=libxml2lpc.la
17
18 libxml2lpc_la_SOURCES=\
19         xml2lpc.c \
20         xml2lpc.h
21
22 libxml2lpc_la_CFLAGS=$(COMMON_CFLAGS)
23 libxml2lpc_la_LIBADD=\
24         $(LIBXML2_LIBS) \
25         $(top_builddir)/coreapi/liblinphone.la
26
27 libxml2lpc_la_LDFLAGS=-no-undefined
28
29 bin_PROGRAMS=xml2lpc_test
30
31 xml2lpc_test_SOURCES=\
32         xml2lpc_test.c
33
34 xml2lpc_test_CFLAGS=$(COMMON_CFLAGS)
35 xml2lpc_test_LDADD=\
36         libxml2lpc.la
37
38 endif
39
40