diff --git a/tools/Makefile.am b/tools/Makefile.am index 0c9f7e53b..9e0c94550 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -15,16 +15,25 @@ if BUILD_TOOLS lib_LTLIBRARIES=libxml2lpc.la -libxml2lpc_la_SOURCES=xml2lpc.c xml2lpc.h +libxml2lpc_la_SOURCES=\ + xml2lpc.c \ + xml2lpc.h + libxml2lpc_la_CFLAGS=$(COMMON_CFLAGS) libxml2lpc_la_LIBADD=\ - $(LIBXML2_LIBS) + $(LIBXML2_LIBS) \ + $(top_builddir)/coreapi/liblinphone.la + +libxml2lpc_la_LDFLAGS=-no-undefined bin_PROGRAMS=xml2lpc_test -xml2lpc_test_SOURCES=xml2lpc_test.c +xml2lpc_test_SOURCES=\ + xml2lpc_test.c + xml2lpc_test_CFLAGS=$(COMMON_CFLAGS) -xml2lpc_test_LDADD=$(top_builddir)/coreapi/liblinphone.la libxml2lpc.la +xml2lpc_test_LDADD=\ + libxml2lpc.la endif