31f421b81d43b40f0826fb62679c2629c6033e0f
[ossec-hids.git] / Makefile
1 # Makefile for dbd
2 # Daniel B. Cid <dcid@ossec.net>
3
4 PT=../
5 NAME=ossec-dbd
6
7 # Uncomment the following if you know what you are doing.
8 #DBFLAGS=-I/usr/local/include/mysql -L/usr/local/lib/mysql -lmysqlclient
9
10 include ../Config.Make
11
12 LOCAL = *.c
13
14
15 # Getting database cflags
16
17
18 OBJS = ${OS_CONFIG} ${OS_SHARED} ${OS_NET} ${OS_REGEX} ${OS_XML}
19
20 default:
21                 @echo "Compiling DB support with: ${DBCHECK}"
22                 ${CC} ${CFLAGS} ${OS_LINK} ${DBFLAGS} ${LOCAL} ${OBJS} -o ${NAME} ${CDB}
23 clean:
24                 ${CLEAN}
25 build:
26                 ${BUILD}