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