aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/module.mk
blob: 35457a382bfa55a1104da970c4a5b4d374043263 (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
MODULE := engines/sci

MODULE_OBJS = \
	console.o \
	detection.o \
	exereader.o \
	sci.o \
	sci_memory.o \
	tools.o \
	engine/aatree.o \
	engine/game.o \
	engine/gc.o \
	engine/grammar.o \
	engine/intmap.o \
	engine/kdebug.o \
	engine/kernel.o \
	engine/kevent.o \
	engine/kfile.o \
	engine/kgraphics.o \
	engine/klists.o \
	engine/kmath.o \
	engine/kmenu.o \
	engine/kmovement.o \
	engine/kpathing.o \
	engine/kscripts.o \
	engine/ksound.o \
	engine/kstring.o \
	engine/message.o \
	engine/said.o \
	engine/savegame.o \
	engine/script.o \
	engine/scriptconsole.o \
	engine/scriptdebug.o \
	engine/seg_manager.o \
	engine/stringfrag.o \
	engine/state.o \
	engine/vm.o \
	gfx/font.o \
	gfx/gfx_driver.o \
	gfx/gfx_res_options.o \
	gfx/gfx_resource.o \
	gfx/gfx_support.o \
	gfx/gfx_tools.o \
	gfx/gfx_widgets.o \
	gfx/menubar.o \
	gfx/operations.o \
	gfx/palette.o \
	gfx/resmgr.o \
	gfx/sbtree.o \
	gfx/sci_widgets.o \
	gfx/resource/res_cursor.o \
	gfx/resource/res_font.o \
	gfx/resource/res_manager.o \
	gfx/resource/res_pal.o \
	gfx/resource/res_pic.o \
	gfx/resource/res_view0.o \
	gfx/resource/res_view1.o \
	scicore/decompressor.o \
	scicore/resource.o \
	scicore/sciconsole.o \
	scicore/versions.o \
	scicore/vocabulary.o \
	scicore/vocab_debug.o \
	sfx/adlib.o \
	sfx/core.o \
	sfx/iterator.o \
	sfx/songlib.o \
	sfx/device/devices.o \
	sfx/player/players.o \
	sfx/player/polled.o \
	sfx/player/realtime.o \
	sfx/seq/gm.o \
	sfx/seq/instrument-map.o \
	sfx/seq/map-mt32-to-gm.o \
	sfx/seq/sequencers.o \
	sfx/softseq/amiga.o \
	sfx/softseq/opl2.o \
	sfx/softseq/pcspeaker.o \
	sfx/softseq/SN76496.o \
	sfx/softseq/softsequencers.o

# Generate savegame.cpp
$(srcdir)/engines/sci/engine/savegame.cpp: $(srcdir)/engines/sci/engine/savegame.cfsml $(srcdir)/tools/sci/cfsml.pl
	cat $< | perl $(srcdir)/tools/sci/cfsml.pl -f engines/sci/engine/savegame.cfsml > $@

engines/sci/engine/savegame.cpp: \
  common/stream.h common/scummsys.h config.h common/system.h \
  common/noncopyable.h common/rect.h common/util.h common/str.h \
  common/array.h common/algorithm.h common/debug.h common/list.h \
  common/list_intern.h graphics/pixelformat.h engines/sci/sci_memory.h \
  engines/sci/gfx/operations.h engines/sci/gfx/gfx_resmgr.h \
  engines/sci/gfx/gfx_resource.h engines/sci/gfx/gfx_system.h \
  engines/sci/tools.h common/endian.h engines/sci/gfx/palette.h \
  engines/sci/gfx/gfx_driver.h engines/sci/uinput.h \
  engines/sci/gfx/sbtree.h engines/sci/gfx/gfx_tools.h \
  engines/sci/gfx/gfx_options.h engines/sci/gfx/gfx_res_options.h \
  engines/sci/gfx/menubar.h engines/sci/engine/vm_types.h \
  engines/sci/gfx/gfx_widgets.h engines/sci/gfx/gfx_state_internal.h \
  engines/sci/sfx/core.h engines/sci/sfx/sfx.h engines/sci/sfx/songlib.h \
  sound/timestamp.h engines/sci/scicore/resource.h common/file.h \
  common/archive.h common/hash-str.h common/hashmap.h common/func.h \
  common/memorypool.h common/ptr.h common/singleton.h \
  engines/sci/sfx/iterator.h engines/sci/sfx/sfx_pcm.h \
  engines/sci/engine/state.h engines/sci/scicore/vocabulary.h \
  engines/sci/scicore/versions.h engines/sci/engine/script.h \
  engines/sci/scicore/sciconsole.h engines/sci/engine/seg_manager.h \
  engines/sci/engine/vm.h engines/sci/engine/heapmgr.h \
  engines/sci/engine/intmap.h


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

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