-rw-r--r-- | src/Makefile.am | 20 |
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 @@ | |||
1 | bin_PROGRAMS = sitecing-fastcgi sitecing-build | ||
2 | |||
3 | INCLUDES = -I${top_srcdir}/include ${KINGATE_CFLAGS} ${DOTCONF_CFLAGS} \ | ||
4 | ${PCREPP_CFLAGS} | ||
5 | LIBS += ${top_builddir}/lib/libsitecing.la ${KINGATE_LIBS} ${DOTCONF_LIBS} \ | ||
6 | ${PCREPP_LIBS} | ||
7 | |||
8 | sitecing_fastcgi_SOURCES = sitecing-fastcgi.cc \ | ||
9 | COPYING.cc | ||
10 | sitecing_fastcgi_LDFLAGS = -rdynamic | ||
11 | sitecing_fastcgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la | ||
12 | |||
13 | sitecing_build_SOURCES = sitecing-build.cc \ | ||
14 | COPYING.cc | ||
15 | sitecing_build_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la | ||
16 | |||
17 | COPYING.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) | ||