source: trunk/third/soup/Makefile.am @ 18149

Revision 18149, 2.0 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18148, which included commits to RCS files with non-trunk default branches.
Line 
1## Process this file with automake to produce Makefile.in
2
3SUBDIRS = src docs
4
5# I want to include tests in the distributed version, but that requires
6# some automake deep magic to stop it trying to include generated files in
7# the automated dependency logic. (hint: OMIT_DEPENDENCIES did SFA)
8#DIST_SUBDIRS = $(SUBDIRS) tests
9
10EXTRA_DIST =                    \
11        autogen.sh              \
12        soupConf.sh.in          \
13        soup_apacheConf.sh.in   \
14        soup_wsdlConf.sh.in     \
15        soup.m4                 \
16        soup.pc.in              \
17        soup.spec.in
18
19bin_SCRIPTS = soup-config
20
21soupConf.sh: $(top_srcdir)/soupConf.sh.in Makefile
22        sed -e 's?\@SOUP_LIBDIR\@?$(SOUP_LIBDIR)?g' \
23            -e 's?\@SOUP_INCLUDEDIR\@?$(SOUP_INCLUDEDIR)?g' \
24            -e 's?\@VERSION\@?$(VERSION)?g' \
25            -e 's?\@SOUP_LIBS\@?$(SOUP_LIBS)?g' \
26              < $(top_srcdir)/soupConf.sh.in > soupConf.tmp \
27          && mv soupConf.tmp soupConf.sh
28
29soup_apacheConf.sh: $(top_srcdir)/soup_apacheConf.sh.in Makefile
30        sed -e 's?\@SOUP_APACHE_LIBDIR\@?$(SOUP_APACHE_LIBDIR)?g' \
31            -e 's?\@SOUP_APACHE_INCLUDEDIR\@?$(SOUP_APACHE_INCLUDEDIR)?g' \
32            -e 's?\@VERSION\@?$(VERSION)?g' \
33            -e 's?\@SOUP_APACHE_LIBS\@?$(SOUP_APACHE_LIBS)?g' \
34              < $(top_srcdir)/soup_apacheConf.sh.in > soup_apacheConf.tmp \
35          && mv soup_apacheConf.tmp soup_apacheConf.sh
36
37soup_wsdlConf.sh: $(top_srcdir)/soup_wsdlConf.sh.in Makefile
38        sed -e 's?\@SOUP_WSDL_LIBDIR\@?$(SOUP_WSDL_LIBDIR)?g' \
39            -e 's?\@SOUP_WSDL_INCLUDEDIR\@?$(SOUP_WSDL_INCLUDEDIR)?g' \
40            -e 's?\@VERSION\@?$(VERSION)?g' \
41            -e 's?\@SOUP_WSDL_LIBS\@?$(SOUP_WSDL_LIBS)?g' \
42              < $(top_srcdir)/soup_wsdlConf.sh.in > soup_wsdlConf.tmp \
43          && mv soup_wsdlConf.tmp soup_wsdlConf.sh
44
45confexecdir = $(libdir)
46confexec_DATA = soupConf.sh soup_apacheConf.sh soup_wsdlConf.sh
47
48m4datadir = $(datadir)/aclocal
49m4data_DATA = soup.m4
50
51pkgconfigdir = $(libdir)/pkgconfig
52pkgconfig_DATA = soup.pc
53
54examples:
55        $(MAKE) -C tests
56
57dist-hook: soup.spec
58        cp soup.spec $(distdir)
59
60rpms: distcheck
61        rpm -ta $(top_builddir)/@PACKAGE@-@VERSION@.tar.gz
62
63CLEANFILES = soupConf.sh soup_apacheConf.sh soup_wsdlConf.sh
Note: See TracBrowser for help on using the repository browser.