https://bugs.internet2.edu/jira/browse/SSPCPP-210
[shibboleth/sp.git] / Makefile.am
index 4183188..3d9bdc8 100644 (file)
@@ -1,5 +1,38 @@
-## $Id$
-
 AUTOMAKE_OPTIONS = foreign
 
-SUBDIRS = schemas shib eduPerson shib-target test
+ACLOCAL_AMFLAGS = -I .
+
+include doxygen.am
+
+MOSTLYCLEANFILES = $(DX_CLEANFILES)
+
+WANT_SUBDIRS = @WANT_SUBDIRS@
+
+SUBDIRS = $(WANT_SUBDIRS)
+
+DIST_SUBDIRS = doc schemas configs shibsp shibd adfs util apache nsapi_shib fastcgi odbc-store memcache-store selinux
+
+if DX_COND_doc
+all-local: doxygen-doc
+else
+all-local:
+endif
+
+dist-hook:
+       rm -rf `find $(distdir)/isapi_shib -name .svn`
+       rm -rf `find $(distdir)/doc/api -name .svn`
+
+GENFILES = @PACKAGE_NAME@.spec pkginfo Portfile
+
+EXTRA_DIST = $(DX_CONFIG) \
+    isapi_shib \
+    Shibboleth.sln \
+    libtool.m4 \
+    doxygen.m4 \
+    acx_pthread.m4 \
+    depcomp \
+    config_win32.h \
+    $(GENFILES) \
+    $(GENFILES:%=%.in) \
+    depend \
+    postinstall