author | Michael Krelin <hacker@klever.net> | 2005-02-13 17:01:51 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-02-13 17:01:51 (UTC) |
commit | 9aa669090e978dce5e1f4d1ca9d23a4d92208518 (patch) (unidiff) | |
tree | 37b8b1a8df046d2154af30f85f251ca5271672e5 /src/Makefile.am | |
parent | ce1f37aae46ea95020d7b865f7a80e8abdfad0d8 (diff) | |
download | sitecing-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'
-rw-r--r-- | src/Makefile.am | 21 |
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 @@ | |||
1 | bin_PROGRAMS = sitecing-fastcgi sitecing-build | 1 | bin_PROGRAMS = sitecing-build |
2 | |||
3 | if HAVE_FCGI | ||
4 | bin_PROGRAMS += sitecing-fastcgi | ||
5 | endif | ||
6 | if HAVE_PLAINCGI | ||
7 | bin_PROGRAMS += sitecing-plaincgi | ||
8 | endif | ||
2 | 9 | ||
3 | INCLUDES = -I${top_srcdir}/include ${KINGATE_CFLAGS} ${DOTCONF_CFLAGS} \ | 10 | INCLUDES = -I${top_srcdir}/include ${KINGATE_CFLAGS} ${DOTCONF_CFLAGS} \ |
4 | ${PCREPP_CFLAGS} | 11 | ${PCREPP_CFLAGS} |
5 | LIBS += ${top_builddir}/lib/libsitecing.la ${KINGATE_LIBS} ${DOTCONF_LIBS} \ | 12 | LIBS += ${top_builddir}/lib/libsitecing.la ${DOTCONF_LIBS} \ |
6 | ${PCREPP_LIBS} | 13 | ${PCREPP_LIBS} |
7 | 14 | ||
8 | sitecing_fastcgi_SOURCES = sitecing-fastcgi.cc \ | 15 | sitecing_fastcgi_SOURCES = sitecing-fastcgi.cc \ |
9 | COPYING.cc | 16 | COPYING.cc |
17 | sitecing_fastcgi_LDADD = ${KINGATE_FCGI_LIBS} | ||
10 | sitecing_fastcgi_LDFLAGS = -rdynamic | 18 | sitecing_fastcgi_LDFLAGS = -rdynamic |
11 | sitecing_fastcgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la | 19 | sitecing_fastcgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la |
12 | 20 | ||
21 | sitecing_plaincgi_SOURCES = sitecing-plaincgi.cc \ | ||
22 | COPYING.cc | ||
23 | sitecing_plaincgi_LDFLAGS = -rdynamic | ||
24 | sitecing_plaincgi_LDADD = ${KINGATE_PLAINCGI_LIBS} | ||
25 | sitecing_plaincgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la | ||
26 | |||
13 | sitecing_build_SOURCES = sitecing-build.cc \ | 27 | sitecing_build_SOURCES = sitecing-build.cc \ |
14 | COPYING.cc | 28 | COPYING.cc |
29 | sitecing_build_LDADD = ${KINGATE_LIBS} | ||
15 | sitecing_build_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la | 30 | sitecing_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 | |||
37 | EXTRA_DIST = ${sitecing_fastcgi_SOURCES} ${sitecing_PLAINCGI_SOURCES} | ||