aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/module.mk
blob: 4957ff3c2ba47a930f268a6c30f425869981df83 (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
MODULE := engines/mohawk

MODULE_OBJS = \
	bitmap.o \
	console.o \
	cursors.o \
	detection.o \
	dialogs.o \
	graphics.o \
	installer_archive.o \
	livingbooks.o \
	livingbooks_code.o \
	livingbooks_graphics.o \
	livingbooks_lbx.o \
	mohawk.o \
	resource.o \
	sound.o \
	video.o \
	view.o

ifdef ENABLE_CSTIME
MODULE_OBJS += \
	cstime.o \
	cstime_cases.o \
	cstime_game.o \
	cstime_graphics.o \
	cstime_ui.o \
	cstime_view.o
endif

ifdef ENABLE_MYST
MODULE_OBJS += \
	myst.o \
	myst_areas.o \
	myst_card.o \
	myst_graphics.o \
	myst_scripts.o \
	myst_sound.o \
	myst_state.o \
	resource_cache.o \
	myst_stacks/channelwood.o \
	myst_stacks/credits.o \
	myst_stacks/demo.o \
	myst_stacks/dni.o \
	myst_stacks/intro.o \
	myst_stacks/makingof.o \
	myst_stacks/mechanical.o \
	myst_stacks/myst.o \
	myst_stacks/preview.o \
	myst_stacks/selenitic.o \
	myst_stacks/slides.o \
	myst_stacks/stoneship.o
endif

ifdef ENABLE_RIVEN
MODULE_OBJS += \
	riven.o \
	riven_card.o \
	riven_graphics.o \
	riven_inventory.o \
	riven_saveload.o \
	riven_scripts.o \
	riven_sound.o \
	riven_stack.o \
	riven_vars.o \
	riven_video.o \
	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
endif

# This module can be built as a plugin
ifeq ($(ENABLE_MOHAWK), DYNAMIC_PLUGIN)
PLUGIN := 1
endif

# Include common rules
include $(srcdir)/rules.mk