ffc4668e0b
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/branches/branch-1.6.x@465 119443c7-1b9e-41f8-b6fc-b9c35fce742c
58 lines
1.1 KiB
Makefile
58 lines
1.1 KiB
Makefile
# $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 <r3mi@users.sourceforge.net>
|
||
#
|
||
|
||
SUBDIRS = doc
|
||
|
||
AM_CPPFLAGS = -I$(srcdir)/inc -I$(srcdir)/src/inc
|
||
AM_CFLAGS =
|
||
|
||
LDADD = libixml.la
|
||
|
||
if ENABLE_DEBUG
|
||
AM_CPPFLAGS += -DDEBUG
|
||
else
|
||
AM_CPPFLAGS += -DNDEBUG
|
||
endif
|
||
|
||
lib_LTLIBRARIES = libixml.la
|
||
|
||
libixml_la_LDFLAGS = -version-info $(LT_VERSION_IXML) \
|
||
-export-symbols-regex '^ixml.*'
|
||
|
||
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
|
||
|
||
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
|
||
|