aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/Makefile.am
blob: bda0ed4128aa96c234e4504632de6586d8afa4ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 dest_file.c dest_relay.c fifo.c logrotate.c \
                  main.c names.c pathnames.c purger.c string.c syslogd.c \
                  syslogd.h udp_listener.c
syslogd_LDADD = -lws2_32 $(GLIB_LIBS)

endif