Initial commit
This commit is contained in:
34
engines/private/module.mk
Normal file
34
engines/private/module.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
MODULE := engines/private
|
||||
|
||||
MODULE_OBJS := \
|
||||
code.o \
|
||||
cursors.o \
|
||||
decompiler.o \
|
||||
funcs.o \
|
||||
grammar.o \
|
||||
lexer.o \
|
||||
metaengine.o \
|
||||
private.o \
|
||||
savegame.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
|
||||
Reference in New Issue
Block a user