aboutsummaryrefslogtreecommitdiffstats
path: root/client/Makefile.am
blob: 46d41ea37183388646f490b7ce49ece0f8862682 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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