blob: b1b12b049c7e6f68ad5c9e1feff4a6c172662854 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Makefile for rsyslog
# Copyright (C) 2004, 2005 Rainer Gerhards and Adiscon GmbH
# This is the distro-specifc part of the Makefile.
# 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 on
# 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=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
.if $(FEATURE_LARGEFILE) == 0
NOLARGEFILE = -DNOLARGEFILE
.endif
.if $(FEATURE_DB) == 1
WITHDB=-DWITH_DB
.endif
# Include MySQL client lib if DB is selected
.ifdef WITHDB
LIBS = -lmysqlclient -L/usr/local/lib/mysql
.endif
VPATH = ../
.include "../Makefile"
|