AUTOMAKE_OPTIONS = foreign dist-zip dist-bzip2
ACLOCAL_AMFLAGS = -I m4

include doxygen.am

MOSTLYCLEANFILES = $(DX_CLEANFILES)

WANT_SUBDIRS = @WANT_SUBDIRS@

SUBDIRS = $(WANT_SUBDIRS)

DIST_SUBDIRS = \
	doc \
	schemas \
	configs \
	shibsp \
	shibd \
	adfs \
	plugins \
	util \
	apache \
	nsapi_shib \
	fastcgi \
	odbc-store \
	memcache-store \
	selinux \
	unittests

if DX_COND_doc
all-local: doxygen-doc
else
all-local:
endif

pkgconfig_DATA = shibsp.pc shibsp-lite.pc

GENFILES = @PACKAGE_NAME@.spec

EXTRA_DIST = $(DX_CONFIG) \
	isapi_shib \
	iis7_shib \
	Projects \
	pkgconfig-workarounds \
	config_win32.h \
	$(GENFILES) \
	$(GENFILES:%=%.in)
