-rw-r--r-- | src/Makefile.am | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..3810272 --- a/dev/null +++ b/src/Makefile.am | |||
@@ -0,0 +1,18 @@ | |||
1 | sbin_PROGRAMS = dudki | ||
2 | |||
3 | INCLUDES = ${DOTCONF_CFLAGS} | ||
4 | LIBS += ${DOTCONF_LIBS} | ||
5 | AM_CPPFLAGS = \ | ||
6 | -DDEFAULT_CONF_FILE=\"${sysconfdir}/${PACKAGE}.conf\" \ | ||
7 | -DDEFAULT_PID_FILE=\"/var/run/${PACKAGE}.pid\" | ||
8 | |||
9 | dudki_SOURCES = dudki.cc \ | ||
10 | process.cc process.h \ | ||
11 | configuration.cc configuration.h \ | ||
12 | util.cc util.h \ | ||
13 | COPYING.cc | ||
14 | |||
15 | COPYING.cc: ${top_srcdir}/COPYING | ||
16 | echo "const char * COPYING =" >$@ || (rm $@;exit 1) | ||
17 | sed 's/"/\\"/g' $< | sed 's/^/\"/' | sed 's/$$/\\n\"/' >>$@ || (rm $@;exit 1) | ||
18 | echo ";" >>$@ || (rm $@;exit 1) | ||