From 4ae1f8a765772d21446ad7f8158fd9d882d06c40 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 12 Oct 2005 15:34:33 +0000 Subject: fixed some make issues when compiling without rfc 3195 support --- freebsd/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'freebsd') diff --git a/freebsd/Makefile b/freebsd/Makefile index 27b2dac7..bd099f56 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -34,6 +34,15 @@ FEATURE_RFC3195=0 # Enable debug mode (much slower code) FEATURE_DEBUG=0 +# The following defines tell us where liblogging is located. This +# is only needed if we build with RFC 3195 support. By default, +# liblogging is expected to be present in the our parent directory. +# +# THESE PATHES MUST ONLY BE SET IF RSYSLOG IS BUILD WITH +# RFC 3195 SUPPORT! +LIBLOGGING_INC=-I../../liblogging/src +LIBLOGGING_BIN=../../liblogging/src/linux/liblogging.a + ############################################################# # END OF USER SETTINGS # # -------------------- # @@ -60,6 +69,9 @@ MANDIR = /usr/share/man .if $(FEATURE_RFC3195) == 1 F_RFC3195=-DFEATURE_RFC3195 +.else + LIBLOGGING_INC= + LIBLOGGING_BIN= .endif .if $(FEATURE_DEBUG) == 0 -- cgit