04354548b544247d7b4662d17dcb5ed3dc3579ea
[shibboleth/cpp-sp.git] / nsapi_shib / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 if BUILD_NSAPI
4 nsapi_shibdir = $(libexecdir)
5 nsapi_shib_LTLIBRARIES = nsapi_shib.la
6 nsapi_shib_la_SOURCES = nsapi_shib.cpp
7 nsapi_shib_la_CXXFLAGS = $(NSAPI_INCLUDE)
8 nsapi_shib_la_LDFLAGS = -module -avoid-version
9 nsapi_shib_la_LIBADD = \
10   $(top_builddir)/shib/libshib.la \
11   $(top_builddir)/shib-target/libshib-target.la
12
13 install-exec-hook:
14         for la in $(nsapi_shib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(nsapi_shibdir)/$$la ; done
15
16 endif
17
18 EXTRA_DIST = nsapi_shib.vcproj resource.h nsapi_shib.rc nsapi_shib.cpp
19