# $Id: Makefile.am,v 1.4 2006/03/27 21:27:31 r3mi Exp $ # # "Makefile.am" for "libupnp/ixml" # # (C) Copyright 2005 RĂ©mi Turboult # AM_CPPFLAGS = -I$(srcdir)/inc -I$(srcdir)/src/inc \ -I$(top_srcdir)/upnp/inc AM_CFLAGS = LDADD = libixml.la if ENABLE_DEBUG AM_CPPFLAGS += -DDEBUG else AM_CPPFLAGS += -DNDEBUG endif if ENABLE_SCRIPTSUPPORT AM_CPPFLAGS += -DIXML_HAVE_SCRIPTSUPPORT endif lib_LTLIBRARIES = libixml.la libixml_la_LDFLAGS = -version-info $(LT_VERSION_IXML) \ -export-symbols-regex '^ixml.*' if WIN32 libixml_la_LDFLAGS += -no-undefined endif libixml_la_SOURCES = \ src/attr.c \ src/document.c \ src/element.c \ src/inc/ixmlmembuf.h \ src/inc/ixmlparser.h \ src/ixml.c \ src/ixmldebug.c \ src/ixmlparser.c \ src/ixmlmembuf.c \ src/namedNodeMap.c \ src/node.c \ src/nodeList.c upnpincludedir = $(includedir)/upnp upnpinclude_HEADERS = \ inc/ixml.h \ inc/ixmldebug.h \ inc/posix_overwrites.h check_PROGRAMS = test_document TESTS = test/test_document.sh test_document_SOURCES = test/test_document.c EXTRA_DIST = test/test_document.sh test/testdata dist-hook: rm -rf `find $(distdir)/test/testdata/ -type f \! -name '*ml' -print` clean-local: @if [ -d bin ] ; then rm -rf bin ; fi