mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-13 14:10:41 +01:00
70 lines
2.2 KiB
Makefile
70 lines
2.2 KiB
Makefile
# Makefile for rsyslog
|
|
# Copyright (C) 2004, 2005 Rainer Gerhards and Adiscon GmbH
|
|
# This is the distro-specifc part of the Makefile.
|
|
# This makefile here should be suitable for all flavours
|
|
# of linux.
|
|
# For details, see http://www.rsyslog.com/doc
|
|
|
|
#############################################################
|
|
# USER SETTINGS #
|
|
# ------------- #
|
|
# The following lines allow you to customize the way #
|
|
# rsyslog is build. All variables take a value of 0 or zero #
|
|
# with 1 meaning true and 0 meaning false (in most cases #
|
|
# equivalent to "disabled"). If you need to customize any- #
|
|
# thing do it here - and stay away from all other parts #
|
|
# of this file! #
|
|
# #
|
|
# IMPORTANT: after you have made changes, run "make clean" #
|
|
# before any other command! #
|
|
#############################################################
|
|
|
|
# Enable large file support (typically on, not needed for
|
|
# 64 bit operating systems)
|
|
FEATURE_LARGEFILE=1
|
|
|
|
# Enable database support (off by default, must be turned
|
|
# on when support for MySQL is desired).
|
|
FEATURE_DB=0
|
|
|
|
# Enable regular expressions
|
|
FEATURE_REGEXP=1
|
|
|
|
# Enable debug mode (much slower code)
|
|
FEATURE_DEBUG=1
|
|
|
|
#############################################################
|
|
# END OF USER SETTINGS #
|
|
# -------------------- #
|
|
# DO NOT MAKE ANY MODIFICATIONS BELOW THIS POINT! #
|
|
#############################################################
|
|
|
|
INSTALL = install
|
|
BINDIR = /usr/sbin
|
|
MANDIR = /usr/share/man
|
|
|
|
# now comes the evaluation of the FEATURE_* settings
|
|
ifeq ($(strip $(FEATURE_LARGEFILE)), 0)
|
|
NOLARGEFILE = -DNOLARGEFILE
|
|
endif
|
|
|
|
ifeq ($(strip $(FEATURE_DB)), 1)
|
|
WITHDB=-DWITH_DB
|
|
endif
|
|
|
|
ifeq ($(strip $(FEATURE_REGEXP)), 1)
|
|
F_REGEXP=-DFEATURE_REGEXP
|
|
endif
|
|
|
|
ifeq ($(strip $(FEATURE_DEBUG)), 0)
|
|
DBG=-DNDEBUG
|
|
endif
|
|
|
|
# Include MySQL client lib if DB is selected
|
|
ifdef WITHDB
|
|
LIBS = -lmysqlclient -L/usr/local/lib/mysql
|
|
endif
|
|
|
|
VPATH = ../
|
|
include ../master.make
|