7d896fad15c144c4aeb81154ede6e3182516cbda
[shibboleth/cpp-xmltooling.git] / xmltooling / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 lib_LTLIBRARIES = libxmltooling.la
4
5 libxmltoolingincludedir = \
6         $(includedir)/xmltooling
7
8 libxmltoolinginclude_HEADERS = \
9         base.h \
10         config_pub.h \
11         exceptions.h \
12         ILockable.h \
13         Namespace.h \
14         QName.h \
15         unicode.h \
16         version.h \
17         XMLObject.h \
18         XMLObjectBuilder.h \
19         XMLToolingConfig.h
20
21 utilincludedir = \
22         $(includedir)/xmltooling/util
23
24 utilinclude_HEADERS = \
25         util/NDC.h \
26         util/ParserPool.h \
27         util/XMLConstants.h \
28         util/XMLHelper.h
29
30 noinst_HEADERS = \
31         internal.h
32
33 libxmltooling_la_SOURCES = \
34         Namespace.cpp \
35         QName.cpp \
36         unicode.cpp \
37         XMLToolingConfig.cpp \
38         util/NDC.cpp \
39         util/ParserPool.cpp \
40         util/XMLConstants.cpp \
41         util/XMLHelper.cpp
42
43 # this is different from the project version
44 # http://sources.redhat.com/autobook/autobook/autobook_91.html
45 libxmltooling_la_LDFLAGS = -version-info 1:0:0
46
47 install-exec-hook:
48         for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done
49
50 EXTRA_DIST = xmltooling.vcproj config_pub.h.in config_pub_win32.h