summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
authorMichael Krelin <hacker@klever.net>2005-02-13 17:01:51 (UTC)
committer Michael Krelin <hacker@klever.net>2005-02-13 17:01:51 (UTC)
commit9aa669090e978dce5e1f4d1ca9d23a4d92208518 (patch) (unidiff)
tree37b8b1a8df046d2154af30f85f251ca5271672e5 /src/Makefile.am
parentce1f37aae46ea95020d7b865f7a80e8abdfad0d8 (diff)
downloadsitecing-9aa669090e978dce5e1f4d1ca9d23a4d92208518.zip
sitecing-9aa669090e978dce5e1f4d1ca9d23a4d92208518.tar.gz
sitecing-9aa669090e978dce5e1f4d1ca9d23a4d92208518.tar.bz2
1. made fastcgi support optional
2. added 'plain' cgi support (kingate 0.0.1 required for it) 3. bumped version to 0.0.1 4. excluded doxygen 'dox' target from 'all'
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}