2009-12-29 23:18:24 +00:00
|
|
|
MODULE := engines/mohawk
|
|
|
|
|
|
|
|
MODULE_OBJS = \
|
|
|
|
bitmap.o \
|
|
|
|
console.o \
|
2010-11-25 04:49:11 +00:00
|
|
|
cursors.o \
|
2009-12-29 23:18:24 +00:00
|
|
|
dialogs.o \
|
|
|
|
graphics.o \
|
2011-01-21 01:58:53 +00:00
|
|
|
installer_archive.o \
|
2009-12-29 23:18:24 +00:00
|
|
|
livingbooks.o \
|
2011-01-12 19:11:27 +00:00
|
|
|
livingbooks_code.o \
|
2012-03-10 18:50:27 +00:00
|
|
|
livingbooks_graphics.o \
|
2011-11-26 22:50:45 +00:00
|
|
|
livingbooks_lbx.o \
|
2020-08-07 18:36:42 +00:00
|
|
|
metaengine.o \
|
2020-08-25 12:15:31 +00:00
|
|
|
riven_metaengine.o \
|
|
|
|
myst_metaengine.o \
|
2009-12-29 23:18:24 +00:00
|
|
|
mohawk.o \
|
2010-01-22 03:43:57 +00:00
|
|
|
resource.o \
|
2009-12-29 23:18:24 +00:00
|
|
|
sound.o \
|
2010-11-29 21:34:59 +00:00
|
|
|
video.o \
|
2011-03-28 19:31:14 +00:00
|
|
|
view.o
|
|
|
|
|
|
|
|
ifdef ENABLE_CSTIME
|
|
|
|
MODULE_OBJS += \
|
|
|
|
cstime.o \
|
|
|
|
cstime_cases.o \
|
|
|
|
cstime_game.o \
|
2012-03-10 18:50:27 +00:00
|
|
|
cstime_graphics.o \
|
2011-03-28 19:31:14 +00:00
|
|
|
cstime_ui.o \
|
|
|
|
cstime_view.o
|
|
|
|
endif
|
2011-03-28 19:20:30 +00:00
|
|
|
|
|
|
|
ifdef ENABLE_MYST
|
|
|
|
MODULE_OBJS += \
|
|
|
|
myst.o \
|
|
|
|
myst_areas.o \
|
2018-05-27 18:39:26 +00:00
|
|
|
myst_card.o \
|
2012-03-10 18:50:27 +00:00
|
|
|
myst_graphics.o \
|
2011-03-28 19:20:30 +00:00
|
|
|
myst_scripts.o \
|
2017-07-21 10:25:09 +00:00
|
|
|
myst_sound.o \
|
2011-03-28 19:20:30 +00:00
|
|
|
myst_state.o \
|
|
|
|
resource_cache.o \
|
2010-12-01 02:11:11 +00:00
|
|
|
myst_stacks/channelwood.o \
|
2010-11-30 15:01:26 +00:00
|
|
|
myst_stacks/credits.o \
|
2010-12-01 17:56:36 +00:00
|
|
|
myst_stacks/demo.o \
|
2010-12-01 14:46:59 +00:00
|
|
|
myst_stacks/dni.o \
|
2010-12-01 17:56:36 +00:00
|
|
|
myst_stacks/intro.o \
|
2010-12-01 21:05:08 +00:00
|
|
|
myst_stacks/makingof.o \
|
2010-12-01 02:45:31 +00:00
|
|
|
myst_stacks/mechanical.o \
|
2018-04-29 17:22:50 +00:00
|
|
|
myst_stacks/menu.o \
|
2010-11-29 21:34:59 +00:00
|
|
|
myst_stacks/myst.o \
|
2010-12-01 21:05:08 +00:00
|
|
|
myst_stacks/preview.o \
|
2010-11-30 22:02:03 +00:00
|
|
|
myst_stacks/selenitic.o \
|
2010-12-01 15:24:54 +00:00
|
|
|
myst_stacks/slides.o \
|
2010-11-30 22:02:03 +00:00
|
|
|
myst_stacks/stoneship.o
|
2011-03-28 19:20:30 +00:00
|
|
|
endif
|
2009-12-29 23:18:24 +00:00
|
|
|
|
2011-03-28 19:43:57 +00:00
|
|
|
ifdef ENABLE_RIVEN
|
|
|
|
MODULE_OBJS += \
|
|
|
|
riven.o \
|
2016-08-03 05:19:11 +00:00
|
|
|
riven_card.o \
|
2012-03-10 18:50:27 +00:00
|
|
|
riven_graphics.o \
|
2017-01-28 07:55:31 +00:00
|
|
|
riven_inventory.o \
|
2011-03-28 19:43:57 +00:00
|
|
|
riven_saveload.o \
|
|
|
|
riven_scripts.o \
|
2016-08-08 05:35:55 +00:00
|
|
|
riven_sound.o \
|
2016-08-06 12:36:41 +00:00
|
|
|
riven_stack.o \
|
2016-11-01 08:45:33 +00:00
|
|
|
riven_vars.o \
|
2017-02-20 17:02:57 +00:00
|
|
|
riven_video.o \
|
2016-11-01 08:45:33 +00:00
|
|
|
riven_stacks/aspit.o \
|
|
|
|
riven_stacks/bspit.o \
|
|
|
|
riven_stacks/domespit.o \
|
|
|
|
riven_stacks/gspit.o \
|
|
|
|
riven_stacks/jspit.o \
|
|
|
|
riven_stacks/ospit.o \
|
|
|
|
riven_stacks/pspit.o \
|
|
|
|
riven_stacks/rspit.o \
|
|
|
|
riven_stacks/tspit.o
|
2011-03-28 19:43:57 +00:00
|
|
|
endif
|
|
|
|
|
2009-12-29 23:18:24 +00:00
|
|
|
# This module can be built as a plugin
|
|
|
|
ifeq ($(ENABLE_MOHAWK), DYNAMIC_PLUGIN)
|
|
|
|
PLUGIN := 1
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Include common rules
|
|
|
|
include $(srcdir)/rules.mk
|
2020-08-25 08:22:43 +00:00
|
|
|
|
|
|
|
# Detection objects
|
|
|
|
DETECT_OBJS += $(MODULE)/detection.o
|
|
|
|
|
|
|
|
# Skip building the following objects if a static
|
|
|
|
# module is enabled, because it already has the contents.
|
|
|
|
ifneq ($(ENABLE_MOHAWK), STATIC_PLUGIN)
|
2020-08-25 12:15:31 +00:00
|
|
|
DETECT_OBJS += $(MODULE)/myst_metaengine.o
|
|
|
|
DETECT_OBJS += $(MODULE)/riven_metaengine.o
|
2020-08-25 08:22:43 +00:00
|
|
|
endif
|