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
|
MODULE := engines/private
MODULE_OBJS := \
code.o \
cursors.o \
decompiler.o \
funcs.o \
grammar.o \
lexer.o \
metaengine.o \
private.o \
symbol.o
MODULE_DIRS += \
engines/private
# HACK: Skip this when including the file for detection objects.
ifeq "$(LOAD_RULES_MK)" "1"
private-grammar:
flex engines/private/lexer.l
bison engines/private/grammar.y
endif
# This module can be built as a plugin
ifeq ($(ENABLE_PRIVATE), DYNAMIC_PLUGIN)
PLUGIN := 1
endif
# Include common rules
include $(srcdir)/rules.mk
# Detection objects
DETECT_OBJS += $(MODULE)/detection.o
|