From 9691a996741fec5c5e2d290e72697806b8e4546e Mon Sep 17 00:00:00 2001 From: yaworsky Date: Fri, 16 Sep 2005 08:40:43 +0000 Subject: Added to repository. --- client/Makefile.am | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 client/Makefile.am (limited to 'client') 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 -- cgit v1.2.3