PKIX trust engine using metadata exts.
[shibboleth/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         SocketListener.h \
22         SPConfig.h \
23         SPConstants.h
24
25 noinst_HEADERS = \
26         internal.h
27
28 libshibsp_la_SOURCES = \
29         ddf.cpp \
30         DOMPropertySet.cpp \
31         ListenerService.cpp \
32         MetadataExtImpl.cpp \
33         MetadataExtSchemaValidators.cpp \
34         PKIXTrustEngine.cpp \
35         SPConfig.cpp \
36         SPConstants.cpp \ 
37         SocketListener.cpp \
38         TCPListener.cpp \
39         UnixListener.cpp
40
41 # this is different from the project version
42 # http://sources.redhat.com/autobook/autobook/autobook_91.html
43 libshibsp_la_LDFLAGS = -version-info 1:0:0
44
45 paths.h: ${srcdir}/paths.h.in Makefile ${top_builddir}/config.status
46         rm -f $@.tmp
47         sed < ${srcdir}/$@.in > $@.tmp \
48             -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \
49             -e 's:@-XMLDIR-@:${xmldir}:'
50         cmp -s $@ $@.tmp || mv $@.tmp $@
51         rm -f $@.tmp
52
53 install-exec-hook:
54         for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done
55
56 EXTRA_DIST = shibsp.vcproj paths.h.in resource.h shibsp.rc
57 BUILT_SOURCES = paths.h