summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-09-20 15:24:31 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-09-20 15:24:31 +0000
commit0f43215394e670125d94c9c9f028dc7b21aca843 (patch)
tree33d0fcb3efbb7660ab6580c771e6f8b2be90048b /freebsd
parent800d6e5b76a799e4e03961799cb7c8b0ea86c133 (diff)
downloadrsyslog-0f43215394e670125d94c9c9f028dc7b21aca843.zip
rsyslog-0f43215394e670125d94c9c9f028dc7b21aca843.tar.gz
rsyslog-0f43215394e670125d94c9c9f028dc7b21aca843.tar.xz
updated Makefile for FreeBSD
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile
index e73a646..a42edd0 100644
--- a/freebsd/Makefile
+++ b/freebsd/Makefile
@@ -23,11 +23,14 @@ FEATURE_LARGEFILE=1
# Enable database support (off by default, must be turned
# on when support for MySQL is desired).
-FEATURE_DB=0
+FEATURE_DB=1
# Enable regular expressions
FEATURE_REGEXP=1
+# Enable debug mode (much slower code)
+FEATURE_DEBUG=0
+
#############################################################
# END OF USER SETTINGS #
# -------------------- #
@@ -48,6 +51,14 @@ MANDIR = /usr/share/man
WITHDB=-DWITH_DB
.endif
+.if $(FEATURE_REGEXP) == 1
+ F_REGEXP=-DFEATURE_REGEXP
+.endif
+
+.if $(FEATURE_DEBUG) == 0
+ DBG=-DNDEBUG
+.endif
+
# Include MySQL client lib if DB is selected
.ifdef WITHDB
LIBS = -lmysqlclient -L/usr/local/lib/mysql