aboutsummaryrefslogtreecommitdiffstats
path: root/client
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 /client
parentcc936dc1a09d275915f82733611d7c0146846788 (diff)
downloadsyslog-win32-9691a996741fec5c5e2d290e72697806b8e4546e.tar.gz
syslog-win32-9691a996741fec5c5e2d290e72697806b8e4546e.tar.xz
syslog-win32-9691a996741fec5c5e2d290e72697806b8e4546e.zip
Added to repository.
Diffstat (limited to 'client')
-rw-r--r--client/Makefile.am25
1 files changed, 25 insertions, 0 deletions
diff --git a/client/Makefile.am b/client/Makefile.am
new file mode 100644
index 0000000..46d41ea
--- /dev/null
+++ b/client/Makefile.am
@@ -0,0 +1,25 @@
+if OS_WIN32
+
+if DEBUG
+AM_CFLAGS = -g
+endif
+
+lib_LTLIBRARIES = libsyslog.la
+bin_PROGRAMS = logger
+
+libsyslog_la_SOURCES = syslog-client.c
+if RELOCATABLE
+libsyslog_la_CPPFLAGS = -DSYSLOG_CONF_DIR=\".$(sysconfdir)\"
+else
+libsyslog_la_CPPFLAGS = -DSYSLOG_CONF_DIR=\"$(sysconfdir)\"
+endif
+libsyslog_la_CPPFLAGS += -I../include
+libsyslog_la_LDFLAGS = -no-undefined
+libsyslog_la_LIBADD = -lws2_32
+
+logger_SOURCES = logger.c
+logger_CPPFLAGS = -I../include
+logger_LDFLAGS = -L.
+logger_LDADD = -lsyslog
+
+endif