summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
Unidiff
Diffstat (limited to 'src/Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Makefile.am21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index cc33f3f..2ec650d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,16 +1,31 @@
1bin_PROGRAMS = sitecing-fastcgi sitecing-build 1bin_PROGRAMS = sitecing-build
2
3if HAVE_FCGI
4bin_PROGRAMS += sitecing-fastcgi
5endif
6if HAVE_PLAINCGI
7bin_PROGRAMS += sitecing-plaincgi
8endif
2 9
3INCLUDES = -I${top_srcdir}/include ${KINGATE_CFLAGS} ${DOTCONF_CFLAGS} \ 10INCLUDES = -I${top_srcdir}/include ${KINGATE_CFLAGS} ${DOTCONF_CFLAGS} \
4 ${PCREPP_CFLAGS} 11 ${PCREPP_CFLAGS}
5LIBS += ${top_builddir}/lib/libsitecing.la ${KINGATE_LIBS} ${DOTCONF_LIBS} \ 12LIBS += ${top_builddir}/lib/libsitecing.la ${DOTCONF_LIBS} \
6 ${PCREPP_LIBS} 13 ${PCREPP_LIBS}
7 14
8sitecing_fastcgi_SOURCES = sitecing-fastcgi.cc \ 15sitecing_fastcgi_SOURCES = sitecing-fastcgi.cc \
9 COPYING.cc 16 COPYING.cc
17sitecing_fastcgi_LDADD = ${KINGATE_FCGI_LIBS}
10sitecing_fastcgi_LDFLAGS = -rdynamic 18sitecing_fastcgi_LDFLAGS = -rdynamic
11sitecing_fastcgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la 19sitecing_fastcgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la
12 20
21sitecing_plaincgi_SOURCES = sitecing-plaincgi.cc \
22 COPYING.cc
23sitecing_plaincgi_LDFLAGS = -rdynamic
24sitecing_plaincgi_LDADD = ${KINGATE_PLAINCGI_LIBS}
25sitecing_plaincgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la
26
13sitecing_build_SOURCES = sitecing-build.cc \ 27sitecing_build_SOURCES = sitecing-build.cc \
14 COPYING.cc 28 COPYING.cc
29sitecing_build_LDADD = ${KINGATE_LIBS}
15sitecing_build_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la 30sitecing_build_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la
16 31
@@ -19,2 +34,4 @@ COPYING.cc: ${top_srcdir}/COPYING
19 sed 's/"/\\"/g' $< | sed 's/^/\"/' | sed 's/$$/\\n\"/' >>$@ || (rm $@;exit 1) 34 sed 's/"/\\"/g' $< | sed 's/^/\"/' | sed 's/$$/\\n\"/' >>$@ || (rm $@;exit 1)
20 echo ";" >>$@ || (rm $@;exit 1) 35 echo ";" >>$@ || (rm $@;exit 1)
36
37EXTRA_DIST = ${sitecing_fastcgi_SOURCES} ${sitecing_PLAINCGI_SOURCES}