1 # Makefile for analysisd
2 # Daniel B. Cid <daniel.cid@gmail.com>||<daniel@underlinux.com.br>
3 # http://www.ossec.net/hids/
10 LOCAL= analysisd.c stats.c rules.c rules_list.c config.c fts.c eventinfo.c eventinfo_list.c cleanevent.c active-response.c picviz.c prelude.c compiled_rules/*.o ${OS_CONFIG}
11 PLUGINS = decoders/decoders.a
12 ALERTS = alerts/alerts.a
14 loga_OBJS = ${LOCAL} ${PLUGINS} ${ALERTS} ${OS_XML} ${OS_REGEX} ${OS_NET} ${OS_SHARED} ${OS_ZLIB} ${CPRELUDE}
20 cd ./compiled_rules; make;
21 $(CC) $(CFLAGS) ${OS_LINK} -I./ ${loga_OBJS} -o ${NAME}
25 cd ./decoders; make logtest
26 cd ./compiled_rules; make;
27 $(CC) $(CFLAGS) ${OS_LINK} -DTESTRULE -I./ testrule.c ${loga_OBJS} -o ossec-logtest
30 cd ./alerts; make clean
31 cd ./decoders; make clean
32 cd ./compiled_rules; make clean
37 cp -pr ossec-logtest ${PT}../bin