aboutsummaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authoryaworsky <yaworsky>2005-09-16 08:40:43 +0000
committeryaworsky <yaworsky>2005-09-16 08:40:43 +0000
commit9691a996741fec5c5e2d290e72697806b8e4546e (patch)
treed3e49140caeeb80afdf3649608dc6407d2f1d3b8 /daemon
parentcc936dc1a09d275915f82733611d7c0146846788 (diff)
downloadsyslog-win32-9691a996741fec5c5e2d290e72697806b8e4546e.tar.gz
syslog-win32-9691a996741fec5c5e2d290e72697806b8e4546e.tar.xz
syslog-win32-9691a996741fec5c5e2d290e72697806b8e4546e.zip
Added to repository.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
new file mode 100644
index 0000000..aa2599a
--- /dev/null
+++ b/daemon/Makefile.am
@@ -0,0 +1,20 @@
+if OS_WIN32
+
+if DEBUG
+AM_CFLAGS = -g
+endif
+
+if RELOCATABLE
+AM_CPPFLAGS = -DSYSLOG_CONF_DIR=\".$(sysconfdir)\"
+else
+AM_CPPFLAGS = -DSYSLOG_CONF_DIR=\"$(sysconfdir)\"
+endif
+
+AM_CPPFLAGS += -I. -I../include $(GLIB_CFLAGS)
+
+bin_PROGRAMS = syslogd
+syslogd_SOURCES = conf.c fifo.c listener.c logrotate.c main.c names.c \
+ pathnames.c purger.c syslogd.c writer.c syslogd.h
+syslogd_LDADD = -lws2_32 $(GLIB_LIBS)
+
+endif