Implement OpenSSL locking callbacks (way too late)
[shibboleth/sp.git] / mod_shire / Makefile.am
index 79fe57b..edf3fe7 100644 (file)
@@ -2,18 +2,24 @@
 
 AUTOMAKE_OPTIONS = foreign
 
+if USE_OUR_ONCRPC
+RPC_CFLAGS = -I${top_srcdir}/oncrpc
+endif
+
 shiredir = $(libexecdir)
 shire_LTLIBRARIES = mod_shire.la
 
 mod_shire_la_SOURCES = mod_shire.cpp
 
-AM_CXXFLAGS = $(APXS_CFLAGS) -I$(APXS_INCLUDE)
+AM_CXXFLAGS = $(APXS_CFLAGS) -I$(APXS_INCLUDE) $(RPC_CFLAGS)
 
 mod_shire_la_LIBADD = $(top_builddir)/shib/libshib.la $(top_builddir)/shib-target/libshib-target.la
 
-mod_shire_la_LDFLAGS = -module -avoid-version -lapreq
+mod_shire_la_LDFLAGS = -module -avoid-version
 
 if DO_APXS_INSTALL
 install-exec-local:
        $(APXS) -i -A -n shire .libs/mod_shire.so
 endif
+
+EXTRA_DIST = mod_shire.dsp