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