Shell of new SP object interface to replace old IConfig layer.
[shibboleth/cpp-sp.git] / shibsp / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 pkgsysconfdir = $(sysconfdir)/@PACKAGE@
4 xmldir = $(datadir)/xml
5
6 lib_LTLIBRARIES = libshibsp.la
7
8 libshibspincludedir = $(includedir)/shibsp
9
10 libshibspinclude_HEADERS = \
11         base.h \
12         ddf.h \
13         DOMPropertySet.h \
14         exceptions.h \
15         ListenerService.h \
16         MetadataExt.h \
17         paths.h \
18         PKIXTrustEngine.h \
19         PropertySet.h \
20         version.h \
21         ServiceProvider.h \
22         SocketListener.h \
23         SPConfig.h \
24         SPConstants.h
25
26 noinst_HEADERS = \
27         internal.h
28
29 libshibsp_la_SOURCES = \
30         ddf.cpp \
31         DOMPropertySet.cpp \
32         ListenerService.cpp \
33         MetadataExtImpl.cpp \
34         MetadataExtSchemaValidators.cpp \
35         PKIXTrustEngine.cpp \
36         ServiceProvider.cpp \
37         SPConfig.cpp \
38         SPConstants.cpp \ 
39         SocketListener.cpp \
40         TCPListener.cpp \
41         UnixListener.cpp
42
43 # this is different from the project version
44 # http://sources.redhat.com/autobook/autobook/autobook_91.html
45 libshibsp_la_LDFLAGS = -version-info 1:0:0
46
47 paths.h: ${srcdir}/paths.h.in Makefile ${top_builddir}/config.status
48         rm -f $@.tmp
49         sed < ${srcdir}/$@.in > $@.tmp \
50             -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \
51             -e 's:@-XMLDIR-@:${xmldir}:'
52         cmp -s $@ $@.tmp || mv $@.tmp $@
53         rm -f $@.tmp
54
55 install-exec-hook:
56         for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done
57
58 EXTRA_DIST = shibsp.vcproj paths.h.in resource.h shibsp.rc
59 BUILT_SOURCES = paths.h