Draft implementation.
[shibboleth/resolver.git] / shibresolver / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 lib_LTLIBRARIES = libshibresolver.la libshibresolver-lite.la
4
5 libshibresolverincludedir = $(includedir)/shibresolver
6
7 libshibresolverinclude_HEADERS = \
8         base.h \
9         resolver.h
10
11 noinst_HEADERS = \
12         internal.h
13
14 common_sources = \
15         resolver.cpp
16
17 libshibresolver_la_SOURCES = \
18         ${common_sources}
19
20 libshibresolver_lite_la_SOURCES = \
21         ${common_sources}
22
23 # this is different from the project version
24 # http://sources.redhat.com/autobook/autobook/autobook_91.html
25 libshibresolver_la_LDFLAGS = $(XMLSEC_LIBS) -version-info 1:0:0
26 libshibresolver_lite_la_LDFLAGS = $(LITE_LIBS) -version-info 1:0:0
27 libshibresolver_lite_la_CPPFLAGS = -DSHIBSP_LITE
28
29 install-exec-hook:
30         for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done
31
32 EXTRA_DIST = resolver.vcxproj resolver-lite.vcxproj resource.h resolver.rc