summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Meckelein <mmeckelein@hq.adiscon.com>2004-11-25 10:26:52 +0000
committerMichael Meckelein <mmeckelein@hq.adiscon.com>2004-11-25 10:26:52 +0000
commit0185bdf2af7d54c72dc57cd2fd89d1d8bf0e94f6 (patch)
tree07ad76132dc91a87b2dbf2e99035ee7ab541927d /Makefile
parent7720bcded1fe377b3c7defb0ea76dd9aa040c31d (diff)
downloadrsyslog-0185bdf2af7d54c72dc57cd2fd89d1d8bf0e94f6.tar.gz
rsyslog-0185bdf2af7d54c72dc57cd2fd89d1d8bf0e94f6.tar.xz
rsyslog-0185bdf2af7d54c72dc57cd2fd89d1d8bf0e94f6.zip
Added some MySQL stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 02d0394b..f01ff39d 100644
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,8 @@
CC= gcc
#CFLAGS= -g -DSYSV -Wall
LDFLAGS= -g
-CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce
-#CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB
+#CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce
+CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB
LDFLAGS= -s
# Look where your install program is.
@@ -13,7 +13,7 @@ BINDIR = /usr/sbin
MANDIR = /usr/man
# Uncommenting the following to use mysql.
-#LIBS = -lmysqlclient #/var/lib/mysql/mysql
+LIBS = -lmysqlclient #/var/lib/mysql/mysql
# There is one report that under an all ELF system there may be a need to
# explicilty link with libresolv.a. If linking syslogd fails you may wish
@@ -73,8 +73,8 @@ klogd: klogd.o syslog.o pidfile.o ksym.o ksym_mod.o
syslog_tst: syslog_tst.o
${CC} ${LDFLAGS} -o syslog_tst syslog_tst.o
-tsyslogd: syslogd.c version.h
- $(CC) $(CFLAGS) -g -DTESTING $(SYSLOGD_FLAGS) -o tsyslogd syslogd.c $(LIBS)
+tsyslogd: syslogd.c version.h template.o stringbuf.o srUtils.o
+ $(CC) $(CFLAGS) -g -DTESTING $(SYSLOGD_FLAGS) -o tsyslogd syslogd.c pidfile.o template.o stringbuf.o srUtils.o $(LIBS)
tklogd: klogd.c syslog.c ksym.c ksym_mod.c version.h
$(CC) $(CFLAGS) -g -DTESTING $(KLOGD_FLAGS) -o tklogd klogd.c syslog.c ksym.c ksym_mod.c