summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
Unidiff
Diffstat (limited to 'src/Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Makefile.am18
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 @@
1sbin_PROGRAMS = dudki
2
3INCLUDES = ${DOTCONF_CFLAGS}
4LIBS += ${DOTCONF_LIBS}
5AM_CPPFLAGS = \
6 -DDEFAULT_CONF_FILE=\"${sysconfdir}/${PACKAGE}.conf\" \
7 -DDEFAULT_PID_FILE=\"/var/run/${PACKAGE}.pid\"
8
9dudki_SOURCES = dudki.cc \
10 process.cc process.h \
11 configuration.cc configuration.h \
12 util.cc util.h \
13 COPYING.cc
14
15COPYING.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)