1 | ## Process this file with automake to produce Makefile.in |
---|
2 | |
---|
3 | SUBDIRS = 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 | |
---|
10 | EXTRA_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 | |
---|
19 | bin_SCRIPTS = soup-config |
---|
20 | |
---|
21 | soupConf.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 | |
---|
29 | soup_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 | |
---|
37 | soup_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 | |
---|
45 | confexecdir = $(libdir) |
---|
46 | confexec_DATA = soupConf.sh soup_apacheConf.sh soup_wsdlConf.sh |
---|
47 | |
---|
48 | m4datadir = $(datadir)/aclocal |
---|
49 | m4data_DATA = soup.m4 |
---|
50 | |
---|
51 | pkgconfigdir = $(libdir)/pkgconfig |
---|
52 | pkgconfig_DATA = soup.pc |
---|
53 | |
---|
54 | examples: |
---|
55 | $(MAKE) -C tests |
---|
56 | |
---|
57 | dist-hook: soup.spec |
---|
58 | cp soup.spec $(distdir) |
---|
59 | |
---|
60 | rpms: distcheck |
---|
61 | rpm -ta $(top_builddir)/@PACKAGE@-@VERSION@.tar.gz |
---|
62 | |
---|
63 | CLEANFILES = soupConf.sh soup_apacheConf.sh soup_wsdlConf.sh |
---|