Pull nsapi_shib up to HEAD.
[shibboleth/sp.git] / nsapi_shib / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 if USE_OUR_ONCRPC
4 RPC_CFLAGS = -I${top_srcdir}/oncrpc
5 endif
6
7 if BUILD_NSAPI
8 nsapi_shibdir = $(libexecdir)
9 nsapi_shib_LTLIBRARIES = nsapi_shib.la
10 nsapi_shib_la_SOURCES = nsapi_shib.cpp
11 nsapi_shib_la_CXXFLAGS = $(NSAPI_INCLUDE) $(RPC_CFLAGS)
12 nsapi_shib_la_LDFLAGS = -module -avoid-version
13 nsapi_shib_la_LIBADD = \
14   $(top_builddir)/shib/libshib.la \
15   $(top_builddir)/shib-target/libshib-target.la
16
17 install-exec-hook:
18         for la in $(nsapi_shib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(nsapi_shibdir)/$$la ; done
19
20 endif
21
22 EXTRA_DIST = nsapi_shib.dsp resource.h nsapi_shib.rc nsapi_shib.cpp
23