File: Rules.make.in

package info (click to toggle)
ulogd 0.97-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 476 kB
  • ctags: 379
  • sloc: ansic: 2,099; sh: 231; makefile: 155
file content (35 lines) | stat: -rw-r--r-- 755 bytes parent folder | download
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
#

prefix=@prefix@
exec_prefix=@exec_prefix@
sysconfdir=@sysconfdir@

ULOGD_CONFIGFILE=@sysconfdir@/ulogd.conf

ULOGD_LIB_PATH=@libdir@/ulogd

# Path of libipulog (from iptables)
LIBIPULOG=@top_srcdir@/libipulog
INCIPULOG=-I@top_srcdir@/libipulog/include
INCCONFFILE=-I@top_srcdir@/conffile

CC=@CC@
CFLAGS=@CFLAGS@ @CPPFLAGS@ 
CFLAGS+=-DULOGD_CONFIGFILE=\"$(ULOGD_CONFIGFILE)\"
# doesn't wor for subdirs
#CFLAGS+=$(INCIPULOG) $(INCCONFFILE)
CFLAGS+=-I/usr/src/linux/include
#CFLAGS+=@DEFS@
#CFLAGS+=-g -DDEBUG -DDEBUG_MYSQL

LIBS=@LIBS@


# Names of the plugins to be compiled
ULOGD_SL:=BASE OPRINT PWSNIFF LOGEMU 

# mysql output support
#ULOGD_SL+=MYSQL
MYSQL_CFLAGS=-I@MYSQLINCLUDES@ @EXTRA_MYSQL_DEF@
MYSQL_LDFLAGS=@DATABASE_LIB_DIR@ @DATABASE_LIB@