2021-07-25 09:21:33 +02:00
|
|
|
MODULE := engines/hypno
|
|
|
|
|
|
|
|
MODULE_OBJS := \
|
|
|
|
cursors.o \
|
|
|
|
metaengine.o \
|
2021-08-01 19:13:52 +02:00
|
|
|
spider/lexer_mis.o \
|
|
|
|
spider/grammar_mis.o \
|
|
|
|
spider/lexer_arc.o \
|
|
|
|
spider/grammar_arc.o \
|
2021-08-14 21:13:09 +02:00
|
|
|
spider/talk.o \
|
2021-08-15 18:28:53 +02:00
|
|
|
spider/arcade.o \
|
2021-07-25 09:21:33 +02:00
|
|
|
hypno.o
|
|
|
|
|
|
|
|
MODULE_DIRS += \
|
|
|
|
engines/hypno
|
|
|
|
|
|
|
|
# HACK: Skip this when including the file for detection objects.
|
|
|
|
ifeq "$(USE_RULES)" "1"
|
|
|
|
hypno-grammar:
|
|
|
|
flex engines/hypno/lexer.l
|
|
|
|
bison engines/hypno/grammar.y
|
|
|
|
endif
|
|
|
|
|
|
|
|
# This module can be built as a plugin
|
|
|
|
ifeq ($(ENABLE_HYPNO), DYNAMIC_PLUGIN)
|
|
|
|
PLUGIN := 1
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Include common rules
|
|
|
|
include $(srcdir)/rules.mk
|
|
|
|
|
|
|
|
# Detection objects
|
|
|
|
DETECT_OBJS += $(MODULE)/detection.o
|