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 "$(USE_RULES)" "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