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

endif