Threading support.
[shibboleth/cpp-xmltooling.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 ACLOCAL_AMFLAGS = -I .
4
5 include doxygen.am
6
7 MOSTLYCLEANFILES = $(DX_CLEANFILES)
8
9 EXTRA_DIST = $(DX_CONFIG) \
10         doc \
11         schemas \
12         cpp-xmltooling.sln \
13         acx_pthread.m4 \
14         acinclude.m4 \
15         libtool.m4 \
16         doxygen.m4 \
17         depcomp \
18         config_win32.h \
19         xmltooling.spec.in \
20         xmltooling.spec \
21         pkginfo.in \
22         pkginfo \
23         checkinstall
24
25 dist-hook:
26         rm -rf `find $(distdir)/xmltoolingtest/data -name .svn`
27         rm -rf `find $(distdir)/schemas -name .svn`
28         rm -rf `find $(distdir)/schemas -name Makefile`
29         rm -rf `find $(distdir)/doc -name .svn`
30         rm -rf `find $(distdir)/doc -name Makefile`
31
32
33 SUBDIRS = schemas xmltooling xmltoolingtest
34
35 all-local: xmltooling.spec pkginfo doxygen-doc
36
37 xmltooling.spec: xmltooling.spec.in Makefile
38         rm -f $@.tmp
39         sed < $< > $@.tmp \
40             -e 's:@-VERSION-@:${VERSION}:'
41         mv $@.tmp $@
42
43 pkginfo: pkginfo.in Makefile
44         rm -f $@.tmp
45         sed < $< > $@.tmp \
46             -e 's:@-VERSION-@:${VERSION}:'
47         mv $@.tmp $@
48
49 DISTCLEANFILES = xmltooling.spec pkginfo