summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
Unidiff
Diffstat (limited to 'src/Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..cc33f3f
--- a/dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,20 @@
1bin_PROGRAMS = sitecing-fastcgi sitecing-build
2
3INCLUDES = -I${top_srcdir}/include ${KINGATE_CFLAGS} ${DOTCONF_CFLAGS} \
4 ${PCREPP_CFLAGS}
5LIBS += ${top_builddir}/lib/libsitecing.la ${KINGATE_LIBS} ${DOTCONF_LIBS} \
6 ${PCREPP_LIBS}
7
8sitecing_fastcgi_SOURCES = sitecing-fastcgi.cc \
9 COPYING.cc
10sitecing_fastcgi_LDFLAGS = -rdynamic
11sitecing_fastcgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la
12
13sitecing_build_SOURCES = sitecing-build.cc \
14 COPYING.cc
15sitecing_build_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la
16
17COPYING.cc: ${top_srcdir}/COPYING
18 echo "const char * COPYING =" >$@ || (rm $@;exit 1)
19 sed 's/"/\\"/g' $< | sed 's/^/\"/' | sed 's/$$/\\n\"/' >>$@ || (rm $@;exit 1)
20 echo ";" >>$@ || (rm $@;exit 1)