Draft of query tool, not working yet.
[shibboleth/cpp-sp.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 ACLOCAL_AMFLAGS = -I .
4
5 EXTRA_DIST = \
6         schemas doc isapi_shib isapi_shib_gui \
7         Shibboleth.sln libtool.m4 acx_pthread.m4 acx_rpctest.m4 depcomp \
8         config_win32.h shibtest/shibtest.vcproj \
9         shibboleth.spec.in shibboleth.spec pkginfo.in pkginfo checkinstall
10
11 dist-hook:
12         rm -rf `find $(distdir)/schemas -name Makefile`
13         rm -rf `find $(distdir)/configs -name Makefile`
14         rm -rf `find $(distdir)/doc -name Makefile`
15
16 WANT_SUBDIRS = @WANT_SUBDIRS@
17
18 SUBDIRS = $(WANT_SUBDIRS)
19
20 DIST_SUBDIRS = doc schemas configs shibsp shibd util \
21         apache siterefresh odbc-store nsapi_shib selinux
22
23 all-local: shibboleth.spec pkginfo
24
25 shibboleth.spec: shibboleth.spec.in Makefile
26         rm -f $@.tmp
27         sed < $< > $@.tmp \
28             -e 's:@-VERSION-@:${VERSION}:'
29         mv $@.tmp $@
30
31 pkginfo: pkginfo.in Makefile
32         rm -f $@.tmp
33         sed < $< > $@.tmp \
34             -e 's:@-VERSION-@:${VERSION}:'
35         mv $@.tmp $@
36
37 DISTCLEANFILES = shibboleth.spec pkginfo