Incorporate GSS-API checks from libcurl's script.
[shibboleth/sp.git] / Makefile.am
index 92d4a88..ef1c791 100644 (file)
@@ -1,30 +1,32 @@
-## $Id$
-
 AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+include doxygen.am
+
+MOSTLYCLEANFILES = $(DX_CLEANFILES)
+
+WANT_SUBDIRS = @WANT_SUBDIRS@
 
-ACLOCAL_AMFLAGS = -I .
-
-EXTRA_DIST = \
-        schemas/cs-sstc-schema-assertion-01.xsd \
-        schemas/cs-sstc-schema-protocol-01.xsd \
-        schemas/soap-envelope.xsd \
-        schemas/xmldsig-core-schema.xsd \
-        schemas/xmldsig-filter2.xsd \
-        schemas/xml.xsd \
-       schemas/shibboleth.xsd \
-       schemas/eduPerson.xsd \
-       configs/accessError.html \
-       configs/shar.logger \
-       configs/shireError.html \
-       configs/apache.config \
-       configs/shibboleth.ini \
-       configs/ca-bundle.crt \
-       configs/shibboleth.logger \
-       configs/rmError.html \
-       configs/shire.logger
-
-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:
-       cp ../*.txt ../*.html $(distdir)
+       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 \
+    config_win32.h \
+    $(GENFILES) \
+    $(GENFILES:%=%.in) \
+    postinstall