aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.common69
-rw-r--r--backends/module.mk26
-rw-r--r--backends/null/module.mk10
-rw-r--r--backends/sdl/module.mk8
-rw-r--r--backends/x11/module.mk10
-rw-r--r--base/module.mk15
-rw-r--r--common.rules6
-rw-r--r--common/module.mk46
-rwxr-xr-xconfigure4
-rw-r--r--engines/gob/module.mk52
-rw-r--r--engines/kyra/module.mk38
-rw-r--r--engines/lure/module.mk42
-rw-r--r--engines/module.mk68
-rw-r--r--engines/queen/module.mk40
-rw-r--r--engines/saga/module.mk60
-rw-r--r--engines/scumm/module.mk166
-rw-r--r--engines/simon/module.mk30
-rw-r--r--engines/sky/module.mk42
-rw-r--r--engines/sword1/module.mk36
-rw-r--r--engines/sword2/module.mk68
-rw-r--r--graphics/module.mk24
-rw-r--r--gui/module.mk36
-rw-r--r--sound/module.mk40
-rw-r--r--sound/softsynth/mt32/module.mk16
24 files changed, 482 insertions, 470 deletions
diff --git a/Makefile.common b/Makefile.common
index 1128067fa6..ef442c6cad 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -33,74 +33,7 @@ DEPDIR := .deps
MODULES := tools base $(MODULES)
-ifdef DISABLE_SCUMM
-DEFINES += -DDISABLE_SCUMM
-else
-MODULES += engines/scumm
-
-ifdef DISABLE_SCUMM_7_8
-DEFINES += -DDISABLE_SCUMM_7_8
-endif
-
-ifdef DISABLE_HE
-DEFINES += -DDISABLE_HE
-endif
-
-endif
-
-ifdef DISABLE_SIMON
-DEFINES += -DDISABLE_SIMON
-else
-MODULES += engines/simon
-endif
-
-ifdef DISABLE_SKY
-DEFINES += -DDISABLE_SKY
-else
-MODULES += engines/sky
-endif
-
-ifdef DISABLE_SWORD1
-DEFINES += -DDISABLE_SWORD1
-else
-MODULES += engines/sword1
-endif
-
-ifdef DISABLE_SWORD2
-DEFINES += -DDISABLE_SWORD2
-else
-MODULES += engines/sword2
-endif
-
-ifdef DISABLE_QUEEN
-DEFINES += -DDISABLE_QUEEN
-else
-MODULES += engines/queen
-endif
-
-ifdef DISABLE_SAGA
-DEFINES += -DDISABLE_SAGA
-else
-MODULES += engines/saga
-endif
-
-ifdef DISABLE_KYRA
-DEFINES += -DDISABLE_KYRA
-else
-MODULES += engines/kyra
-endif
-
-ifdef DISABLE_GOB
-DEFINES += -DDISABLE_GOB
-else
-MODULES += engines/gob
-endif
-
-ifdef DISABLE_LURE
-DEFINES += -DDISABLE_LURE
-else
-MODULES += engines/lure
-endif
+-include $(srcdir)/engines/module.mk
# After the game specific modules follow the shared modules
MODULES += \
diff --git a/backends/module.mk b/backends/module.mk
index b861404bc1..774ce0c08f 100644
--- a/backends/module.mk
+++ b/backends/module.mk
@@ -1,19 +1,19 @@
MODULE := backends
MODULE_OBJS := \
- backends/fs/fs.o \
- backends/fs/posix/posix-fs.o \
- backends/fs/morphos/abox-fs.o \
- backends/fs/windows/windows-fs.o \
- backends/fs/amigaos4/amigaos4-fs.o \
- backends/midi/alsa.o \
- backends/midi/coreaudio.o \
- backends/midi/coremidi.o \
- backends/midi/morphos.o \
- backends/midi/null.o \
- backends/midi/quicktime.o \
- backends/midi/seq.o \
- backends/midi/windows.o
+ fs/fs.o \
+ fs/posix/posix-fs.o \
+ fs/morphos/abox-fs.o \
+ fs/windows/windows-fs.o \
+ fs/amigaos4/amigaos4-fs.o \
+ midi/alsa.o \
+ midi/coreaudio.o \
+ midi/coremidi.o \
+ midi/morphos.o \
+ midi/null.o \
+ midi/quicktime.o \
+ midi/seq.o \
+ midi/windows.o
MODULE_DIRS += \
backends \
diff --git a/backends/null/module.mk b/backends/null/module.mk
new file mode 100644
index 0000000000..29a16f7a0a
--- /dev/null
+++ b/backends/null/module.mk
@@ -0,0 +1,10 @@
+MODULE := backends/null
+
+MODULE_OBJS := \
+ null.o
+
+MODULE_DIRS += \
+ backends/null
+
+# We don't use the common.rules here on purpose
+OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS)) $(OBJS)
diff --git a/backends/sdl/module.mk b/backends/sdl/module.mk
index f898190994..4006354e5e 100644
--- a/backends/sdl/module.mk
+++ b/backends/sdl/module.mk
@@ -1,12 +1,12 @@
MODULE := backends/sdl
MODULE_OBJS := \
- backends/sdl/events.o \
- backends/sdl/graphics.o \
- backends/sdl/sdl.o
+ events.o \
+ graphics.o \
+ sdl.o
MODULE_DIRS += \
backends/sdl
# We don't use the common.rules here on purpose
-OBJS := $(MODULE_OBJS) $(OBJS)
+OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS)) $(OBJS)
diff --git a/backends/x11/module.mk b/backends/x11/module.mk
new file mode 100644
index 0000000000..c9a3908e2f
--- /dev/null
+++ b/backends/x11/module.mk
@@ -0,0 +1,10 @@
+MODULE := backends/x11
+
+MODULE_OBJS := \
+ x11.o
+
+MODULE_DIRS += \
+ backends/x11
+
+# We don't use the common.rules here on purpose
+OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS)) $(OBJS)
diff --git a/base/module.mk b/base/module.mk
index 9aad4e6bb0..07b9a64453 100644
--- a/base/module.mk
+++ b/base/module.mk
@@ -1,20 +1,13 @@
MODULE := base
MODULE_OBJS := \
- base/engine.o \
- base/gameDetector.o \
- base/main.o \
- base/plugins.o
+ engine.o \
+ gameDetector.o \
+ main.o \
+ plugins.o
MODULE_DIRS += \
base
-# Some of the base files depend on the values of the DISABLE_* flags defined
-# in config.mak. Hence we add an explicit make dependency on that file.
-#
-# Temporarily disabled since it causes troubles for MinGW - and
-# will break Makefile.noconf
-#base/gameDetector.o base/plugins.o: config.mak
-
# Include common rules
include $(srcdir)/common.rules
diff --git a/common.rules b/common.rules
index 927e8e1cce..5f028250a2 100644
--- a/common.rules
+++ b/common.rules
@@ -3,7 +3,7 @@
# Copy the list of objects to a new variable. The name of the new variable
# contains the module name, a trick we use so we can keep multiple different
# module object lists, one for each module.
-MODULE_OBJS-$(MODULE) := $(MODULE_OBJS)
+MODULE_OBJS-$(MODULE) := $(addprefix $(MODULE)/, $(MODULE_OBJS))
ifdef PLUGIN
# Plugin build rule
@@ -11,7 +11,7 @@ ifdef PLUGIN
# via the configure script, or put in some 'if' statements to choose from
# one of several build rules
PLUGIN-$(MODULE) := plugins/$(PLUGIN_PREFIX)$(MODULE)$(PLUGIN_SUFFIX)
-$(PLUGIN-$(MODULE)): $(MODULE_OBJS) $(PLUGIN_EXTRA_DEPS)
+$(PLUGIN-$(MODULE)): $(MODULE_OBJS-$(MODULE)) $(PLUGIN_EXTRA_DEPS)
$(MKDIR) plugins
$(CXX) $(PLUGIN_LDFLAGS) $(filter-out $(PLUGIN_EXTRA_DEPS),$+) -o $@
PLUGIN:=
@@ -28,7 +28,7 @@ MODULE_LIB-$(MODULE) := $(MODULE)/lib$(notdir $(MODULE)).a
OBJS += $(MODULE_LIB-$(MODULE))
# Convenience library target
-$(MODULE_LIB-$(MODULE)): $(MODULE_OBJS)
+$(MODULE_LIB-$(MODULE)): $(MODULE_OBJS-$(MODULE))
-$(RM) $@
$(AR) $@ $+
$(RANLIB) $@
diff --git a/common/module.mk b/common/module.mk
index dbd41485a4..116dff18ed 100644
--- a/common/module.mk
+++ b/common/module.mk
@@ -1,38 +1,38 @@
MODULE := common
MODULE_OBJS := \
- common/config-file.o \
- common/config-manager.o \
- common/file.o \
- common/md5.o \
- common/mutex.o \
- common/str.o \
- common/stream.o \
- common/timer.o \
- common/util.o \
- common/savefile.o \
- common/system.o \
- common/scaler.o \
- common/scaler/thumbnail.o \
- common/unzip.o
+ config-file.o \
+ config-manager.o \
+ file.o \
+ md5.o \
+ mutex.o \
+ str.o \
+ stream.o \
+ timer.o \
+ util.o \
+ savefile.o \
+ system.o \
+ scaler.o \
+ scaler/thumbnail.o \
+ unzip.o
ifndef DISABLE_SCALERS
MODULE_OBJS += \
- common/scaler/2xsai.o \
- common/scaler/aspect.o \
- common/scaler/scale2x.o \
- common/scaler/scale3x.o \
- common/scaler/scalebit.o
+ scaler/2xsai.o \
+ scaler/aspect.o \
+ scaler/scale2x.o \
+ scaler/scale3x.o \
+ scaler/scalebit.o
ifndef DISABLE_HQ_SCALERS
MODULE_OBJS += \
- common/scaler/hq2x.o \
- common/scaler/hq3x.o
+ scaler/hq2x.o \
+ scaler/hq3x.o
ifdef HAVE_NASM
MODULE_OBJS += \
- common/scaler/hq2x_i386.o \
- common/scaler/hq3x_i386.o
+ scaler/hq2x_i386.o \
+ scaler/hq3x_i386.o
endif
endif
diff --git a/configure b/configure
index c857db45bb..d02313aea2 100755
--- a/configure
+++ b/configure
@@ -1279,7 +1279,7 @@ fi
case $_backend in
null)
DEFINES="$DEFINES -DUSE_NULL_DRIVER"
- OBJS="$OBJS backends/null/null.o"
+ MODULES="$MODULES backends/null"
;;
sdl)
find_sdlconfig
@@ -1291,10 +1291,8 @@ case $_backend in
INCLUDES="$INCLUDES -I/usr/X11R6/include"
LIBS="$LIBS -lpthread -lXext -lX11"
LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -L/usr/local/lib"
- OBJS="$OBJS backends/x11/x11.o"
DEFINES="$DEFINES -DX11_BACKEND"
MODULES="$MODULES backends/x11"
- MODULE_DIRS="$MODULE_DIRS backends/x11"
;;
*)
echo "support for $_backend backend not implemented in configure script yet"
diff --git a/engines/gob/module.mk b/engines/gob/module.mk
index c8188d78b2..252e80de6c 100644
--- a/engines/gob/module.mk
+++ b/engines/gob/module.mk
@@ -1,32 +1,32 @@
MODULE := engines/gob
MODULE_OBJS := \
- engines/gob/anim.o \
- engines/gob/cdrom.o \
- engines/gob/dataio.o \
- engines/gob/draw.o \
- engines/gob/driver_vga.o \
- engines/gob/game.o \
- engines/gob/global.o \
- engines/gob/gob.o \
- engines/gob/goblin.o \
- engines/gob/init.o \
- engines/gob/inter.o \
- engines/gob/inter_v1.o \
- engines/gob/inter_v2.o \
- engines/gob/map.o \
- engines/gob/mult.o \
- engines/gob/music.o \
- engines/gob/pack.o \
- engines/gob/palanim.o \
- engines/gob/parse.o \
- engines/gob/parse_v1.o \
- engines/gob/parse_v2.o \
- engines/gob/scenery.o \
- engines/gob/sound.o \
- engines/gob/timer.o \
- engines/gob/util.o \
- engines/gob/video.o
+ anim.o \
+ cdrom.o \
+ dataio.o \
+ draw.o \
+ driver_vga.o \
+ game.o \
+ global.o \
+ gob.o \
+ goblin.o \
+ init.o \
+ inter.o \
+ inter_v1.o \
+ inter_v2.o \
+ map.o \
+ mult.o \
+ music.o \
+ pack.o \
+ palanim.o \
+ parse.o \
+ parse_v1.o \
+ parse_v2.o \
+ scenery.o \
+ sound.o \
+ timer.o \
+ util.o \
+ video.o
MODULE_DIRS += \
engines/gob
diff --git a/engines/kyra/module.mk b/engines/kyra/module.mk
index 943c628831..d19e5f13e7 100644
--- a/engines/kyra/module.mk
+++ b/engines/kyra/module.mk
@@ -1,25 +1,25 @@
MODULE := engines/kyra
MODULE_OBJS := \
- engines/kyra/kyra.o \
- engines/kyra/resource.o \
- engines/kyra/screen.o \
- engines/kyra/script_v1.o \
- engines/kyra/script.o \
- engines/kyra/seqplayer.o \
- engines/kyra/sound.o \
- engines/kyra/staticres.o \
- engines/kyra/sprites.o \
- engines/kyra/wsamovie.o \
- engines/kyra/debugger.o \
- engines/kyra/animator.o \
- engines/kyra/gui.o \
- engines/kyra/sequences_v1.o \
- engines/kyra/items.o \
- engines/kyra/scene.o \
- engines/kyra/text.o \
- engines/kyra/timer.o \
- engines/kyra/saveload.o
+ kyra.o \
+ resource.o \
+ screen.o \
+ script_v1.o \
+ script.o \
+ seqplayer.o \
+ sound.o \
+ staticres.o \
+ sprites.o \
+ wsamovie.o \
+ debugger.o \
+ animator.o \
+ gui.o \
+ sequences_v1.o \
+ items.o \
+ scene.o \
+ text.o \
+ timer.o \
+ saveload.o
MODULE_DIRS += \
engines/kyra
diff --git a/engines/lure/module.mk b/engines/lure/module.mk
index 8b83531bd7..f742b116dc 100644
--- a/engines/lure/module.mk
+++ b/engines/lure/module.mk
@@ -1,27 +1,27 @@
MODULE := engines/lure
MODULE_OBJS := \
- engines/lure/animseq.o \
- engines/lure/debug-input.o \
- engines/lure/debug-methods.o \
- engines/lure/decode.o \
- engines/lure/disk.o \
- engines/lure/events.o \
- engines/lure/game.o \
- engines/lure/hotspots.o \
- engines/lure/intro.o \
- engines/lure/lure.o \
- engines/lure/memory.o \
- engines/lure/menu.o \
- engines/lure/palette.o \
- engines/lure/res.o \
- engines/lure/res_struct.o \
- engines/lure/room.o \
- engines/lure/screen.o \
- engines/lure/scripts.o \
- engines/lure/strings.o \
- engines/lure/surface.o \
- engines/lure/system.o
+ animseq.o \
+ debug-input.o \
+ debug-methods.o \
+ decode.o \
+ disk.o \
+ events.o \
+ game.o \
+ hotspots.o \
+ intro.o \
+ lure.o \
+ memory.o \
+ menu.o \
+ palette.o \
+ res.o \
+ res_struct.o \
+ room.o \
+ screen.o \
+ scripts.o \
+ strings.o \
+ surface.o \
+ system.o
MODULE_DIRS += \
engines/lure
diff --git a/engines/module.mk b/engines/module.mk
new file mode 100644
index 0000000000..3b16263df7
--- /dev/null
+++ b/engines/module.mk
@@ -0,0 +1,68 @@
+ifdef DISABLE_SCUMM
+DEFINES += -DDISABLE_SCUMM
+else
+MODULES += engines/scumm
+
+ifdef DISABLE_SCUMM_7_8
+DEFINES += -DDISABLE_SCUMM_7_8
+endif
+
+ifdef DISABLE_HE
+DEFINES += -DDISABLE_HE
+endif
+
+endif
+
+ifdef DISABLE_SIMON
+DEFINES += -DDISABLE_SIMON
+else
+MODULES += engines/simon
+endif
+
+ifdef DISABLE_SKY
+DEFINES += -DDISABLE_SKY
+else
+MODULES += engines/sky
+endif
+
+ifdef DISABLE_SWORD1
+DEFINES += -DDISABLE_SWORD1
+else
+MODULES += engines/sword1
+endif
+
+ifdef DISABLE_SWORD2
+DEFINES += -DDISABLE_SWORD2
+else
+MODULES += engines/sword2
+endif
+
+ifdef DISABLE_QUEEN
+DEFINES += -DDISABLE_QUEEN
+else
+MODULES += engines/queen
+endif
+
+ifdef DISABLE_SAGA
+DEFINES += -DDISABLE_SAGA
+else
+MODULES += engines/saga
+endif
+
+ifdef DISABLE_KYRA
+DEFINES += -DDISABLE_KYRA
+else
+MODULES += engines/kyra
+endif
+
+ifdef DISABLE_GOB
+DEFINES += -DDISABLE_GOB
+else
+MODULES += engines/gob
+endif
+
+ifdef DISABLE_LURE
+DEFINES += -DDISABLE_LURE
+else
+MODULES += engines/lure
+endif
diff --git a/engines/queen/module.mk b/engines/queen/module.mk
index be3c5707e6..dc8aa7bcdc 100644
--- a/engines/queen/module.mk
+++ b/engines/queen/module.mk
@@ -1,26 +1,26 @@
MODULE := engines/queen
MODULE_OBJS := \
- engines/queen/bankman.o \
- engines/queen/command.o \
- engines/queen/credits.o \
- engines/queen/cutaway.o \
- engines/queen/debug.o \
- engines/queen/display.o \
- engines/queen/graphics.o \
- engines/queen/grid.o \
- engines/queen/input.o \
- engines/queen/journal.o \
- engines/queen/logic.o \
- engines/queen/music.o \
- engines/queen/musicdata.o \
- engines/queen/queen.o \
- engines/queen/resource.o \
- engines/queen/restables.o \
- engines/queen/sound.o \
- engines/queen/state.o \
- engines/queen/talk.o \
- engines/queen/walk.o
+ bankman.o \
+ command.o \
+ credits.o \
+ cutaway.o \
+ debug.o \
+ display.o \
+ graphics.o \
+ grid.o \
+ input.o \
+ journal.o \
+ logic.o \
+ music.o \
+ musicdata.o \
+ queen.o \
+ resource.o \
+ restables.o \
+ sound.o \
+ state.o \
+ talk.o \
+ walk.o
MODULE_DIRS += \
engines/queen
diff --git a/engines/saga/module.mk b/engines/saga/module.mk
index 3d39108444..97780c1aae 100644
--- a/engines/saga/module.mk
+++ b/engines/saga/module.mk
@@ -1,36 +1,36 @@
MODULE := engines/saga
MODULE_OBJS := \
- engines/saga/actor.o \
- engines/saga/animation.o \
- engines/saga/console.o \
- engines/saga/events.o \
- engines/saga/font.o \
- engines/saga/font_map.o \
- engines/saga/game.o \
- engines/saga/gfx.o \
- engines/saga/ihnm_introproc.o \
- engines/saga/image.o \
- engines/saga/interface.o \
- engines/saga/isomap.o \
- engines/saga/ite_introproc.o \
- engines/saga/itedata.o \
- engines/saga/objectmap.o \
- engines/saga/puzzle.o \
- engines/saga/palanim.o \
- engines/saga/render.o \
- engines/saga/rscfile.o \
- engines/saga/saga.o \
- engines/saga/saveload.o \
- engines/saga/scene.o \
- engines/saga/script.o \
- engines/saga/sfuncs.o \
- engines/saga/sndres.o \
- engines/saga/sprite.o \
- engines/saga/sthread.o \
- engines/saga/input.o \
- engines/saga/music.o \
- engines/saga/sound.o
+ actor.o \
+ animation.o \
+ console.o \
+ events.o \
+ font.o \
+ font_map.o \
+ game.o \
+ gfx.o \
+ ihnm_introproc.o \
+ image.o \
+ interface.o \
+ isomap.o \
+ ite_introproc.o \
+ itedata.o \
+ objectmap.o \
+ puzzle.o \
+ palanim.o \
+ render.o \
+ rscfile.o \
+ saga.o \
+ saveload.o \
+ scene.o \
+ script.o \
+ sfuncs.o \
+ sndres.o \
+ sprite.o \
+ sthread.o \
+ input.o \
+ music.o \
+ sound.o
MODULE_DIRS += \
engines/saga
diff --git a/engines/scumm/module.mk b/engines/scumm/module.mk
index 6bf42512b3..fa56739dde 100644
--- a/engines/scumm/module.mk
+++ b/engines/scumm/module.mk
@@ -1,96 +1,96 @@
MODULE := engines/scumm
MODULE_OBJS := \
- engines/scumm/actor.o \
- engines/scumm/akos.o \
- engines/scumm/base-costume.o \
- engines/scumm/bomp.o \
- engines/scumm/boxes.o \
- engines/scumm/camera.o \
- engines/scumm/charset.o \
- engines/scumm/costume.o \
- engines/scumm/cursor.o \
- engines/scumm/debugger.o \
- engines/scumm/dialogs.o \
- engines/scumm/gfx.o \
- engines/scumm/imuse.o \
- engines/scumm/imuse_player.o \
- engines/scumm/input.o \
- engines/scumm/instrument.o \
- engines/scumm/help.o \
- engines/scumm/midiparser_ro.o \
- engines/scumm/midiparser_eup.o \
- engines/scumm/object.o \
- engines/scumm/palette.o \
- engines/scumm/player_mod.o \
- engines/scumm/player_v1.o \
- engines/scumm/player_nes.o \
- engines/scumm/player_v2.o \
- engines/scumm/player_v2a.o \
- engines/scumm/player_v3a.o \
- engines/scumm/resource.o \
- engines/scumm/resource_v2.o \
- engines/scumm/resource_v3.o \
- engines/scumm/resource_v4.o \
- engines/scumm/room.o \
- engines/scumm/saveload.o \
- engines/scumm/script.o \
- engines/scumm/script_c64.o \
- engines/scumm/script_v2.o \
- engines/scumm/script_v5.o \
- engines/scumm/script_v6.o \
- engines/scumm/script_v6he.o \
- engines/scumm/scumm.o \
- engines/scumm/sound.o \
- engines/scumm/sound_he.o \
- engines/scumm/string.o \
- engines/scumm/usage_bits.o \
- engines/scumm/util.o \
- engines/scumm/vars.o \
- engines/scumm/verbs.o \
- engines/scumm/thumbnail.o
+ actor.o \
+ akos.o \
+ base-costume.o \
+ bomp.o \
+ boxes.o \
+ camera.o \
+ charset.o \
+ costume.o \
+ cursor.o \
+ debugger.o \
+ dialogs.o \
+ gfx.o \
+ imuse.o \
+ imuse_player.o \
+ input.o \
+ instrument.o \
+ help.o \
+ midiparser_ro.o \
+ midiparser_eup.o \
+ object.o \
+ palette.o \
+ player_mod.o \
+ player_v1.o \
+ player_nes.o \
+ player_v2.o \
+ player_v2a.o \
+ player_v3a.o \
+ resource.o \
+ resource_v2.o \
+ resource_v3.o \
+ resource_v4.o \
+ room.o \
+ saveload.o \
+ script.o \
+ script_c64.o \
+ script_v2.o \
+ script_v5.o \
+ script_v6.o \
+ script_v6he.o \
+ scumm.o \
+ sound.o \
+ sound_he.o \
+ string.o \
+ usage_bits.o \
+ util.o \
+ vars.o \
+ verbs.o \
+ thumbnail.o
ifndef DISABLE_SCUMM_7_8
MODULE_OBJS += \
- engines/scumm/nut_renderer.o \
- engines/scumm/script_v8.o \
- engines/scumm/imuse_digi/dimuse.o \
- engines/scumm/imuse_digi/dimuse_bndmgr.o \
- engines/scumm/imuse_digi/dimuse_codecs.o \
- engines/scumm/imuse_digi/dimuse_music.o \
- engines/scumm/imuse_digi/dimuse_sndmgr.o \
- engines/scumm/imuse_digi/dimuse_script.o \
- engines/scumm/imuse_digi/dimuse_track.o \
- engines/scumm/imuse_digi/dimuse_tables.o \
- engines/scumm/insane/insane.o \
- engines/scumm/insane/insane_ben.o \
- engines/scumm/insane/insane_enemy.o \
- engines/scumm/insane/insane_scenes.o \
- engines/scumm/insane/insane_iact.o \
- engines/scumm/smush/chunk.o \
- engines/scumm/smush/codec1.o \
- engines/scumm/smush/codec37.o \
- engines/scumm/smush/codec47.o \
- engines/scumm/smush/imuse_channel.o \
- engines/scumm/smush/smush_player.o \
- engines/scumm/smush/saud_channel.o \
- engines/scumm/smush/smush_mixer.o \
- engines/scumm/smush/smush_font.o
+ nut_renderer.o \
+ script_v8.o \
+ imuse_digi/dimuse.o \
+ imuse_digi/dimuse_bndmgr.o \
+ imuse_digi/dimuse_codecs.o \
+ imuse_digi/dimuse_music.o \
+ imuse_digi/dimuse_sndmgr.o \
+ imuse_digi/dimuse_script.o \
+ imuse_digi/dimuse_track.o \
+ imuse_digi/dimuse_tables.o \
+ insane/insane.o \
+ insane/insane_ben.o \
+ insane/insane_enemy.o \
+ insane/insane_scenes.o \
+ insane/insane_iact.o \
+ smush/chunk.o \
+ smush/codec1.o \
+ smush/codec37.o \
+ smush/codec47.o \
+ smush/imuse_channel.o \
+ smush/smush_player.o \
+ smush/saud_channel.o \
+ smush/smush_mixer.o \
+ smush/smush_font.o
endif
ifndef DISABLE_HE
MODULE_OBJS += \
- engines/scumm/floodfill_he.o \
- engines/scumm/logic_he.o \
- engines/scumm/palette_he.o \
- engines/scumm/resource_v7he.o \
- engines/scumm/script_v7he.o \
- engines/scumm/script_v72he.o \
- engines/scumm/script_v80he.o \
- engines/scumm/script_v90he.o \
- engines/scumm/script_v100he.o \
- engines/scumm/sprite_he.o \
- engines/scumm/wiz_he.o
+ floodfill_he.o \
+ logic_he.o \
+ palette_he.o \
+ resource_v7he.o \
+ script_v7he.o \
+ script_v72he.o \
+ script_v80he.o \
+ script_v90he.o \
+ script_v100he.o \
+ sprite_he.o \
+ wiz_he.o
endif
MODULE_DIRS += \
diff --git a/engines/simon/module.mk b/engines/simon/module.mk
index 3323f3a0de..dfc61371f2 100644
--- a/engines/simon/module.mk
+++ b/engines/simon/module.mk
@@ -1,21 +1,21 @@
MODULE := engines/simon
MODULE_OBJS := \
- engines/simon/charset.o \
- engines/simon/cursor.o \
- engines/simon/debug.o \
- engines/simon/debugger.o \
- engines/simon/game.o \
- engines/simon/icons.o \
- engines/simon/items.o \
- engines/simon/midi.o \
- engines/simon/midiparser_s1d.o \
- engines/simon/res.o \
- engines/simon/saveload.o \
- engines/simon/sound.o \
- engines/simon/simon.o \
- engines/simon/verb.o \
- engines/simon/vga.o \
+ charset.o \
+ cursor.o \
+ debug.o \
+ debugger.o \
+ game.o \
+ icons.o \
+ items.o \
+ midi.o \
+ midiparser_s1d.o \
+ res.o \
+ saveload.o \
+ sound.o \
+ simon.o \
+ verb.o \
+ vga.o \
MODULE_DIRS += \
engines/simon
diff --git a/engines/sky/module.mk b/engines/sky/module.mk
index 875cf65e47..6858725c5d 100644
--- a/engines/sky/module.mk
+++ b/engines/sky/module.mk
@@ -1,27 +1,27 @@
MODULE := engines/sky
MODULE_OBJS := \
- engines/sky/autoroute.o \
- engines/sky/compact.o \
- engines/sky/control.o \
- engines/sky/debug.o \
- engines/sky/disk.o \
- engines/sky/grid.o \
- engines/sky/hufftext.o \
- engines/sky/intro.o \
- engines/sky/logic.o \
- engines/sky/mouse.o \
- engines/sky/rnc_deco.o \
- engines/sky/screen.o \
- engines/sky/sky.o \
- engines/sky/sound.o \
- engines/sky/text.o \
- engines/sky/music/adlibchannel.o \
- engines/sky/music/adlibmusic.o \
- engines/sky/music/gmchannel.o \
- engines/sky/music/gmmusic.o \
- engines/sky/music/mt32music.o \
- engines/sky/music/musicbase.o
+ autoroute.o \
+ compact.o \
+ control.o \
+ debug.o \
+ disk.o \
+ grid.o \
+ hufftext.o \
+ intro.o \
+ logic.o \
+ mouse.o \
+ rnc_deco.o \
+ screen.o \
+ sky.o \
+ sound.o \
+ text.o \
+ music/adlibchannel.o \
+ music/adlibmusic.o \
+ music/gmchannel.o \
+ music/gmmusic.o \
+ music/mt32music.o \
+ music/musicbase.o
MODULE_DIRS += \
engines/sky \
diff --git a/engines/sword1/module.mk b/engines/sword1/module.mk
index 9f4b3f2c3a..124158bfad 100644
--- a/engines/sword1/module.mk
+++ b/engines/sword1/module.mk
@@ -1,24 +1,24 @@
MODULE := engines/sword1
MODULE_OBJS := \
- engines/sword1/animation.o \
- engines/sword1/control.o \
- engines/sword1/credits.o \
- engines/sword1/debug.o \
- engines/sword1/eventman.o \
- engines/sword1/logic.o \
- engines/sword1/memman.o \
- engines/sword1/menu.o \
- engines/sword1/mouse.o \
- engines/sword1/music.o \
- engines/sword1/objectman.o \
- engines/sword1/resman.o \
- engines/sword1/router.o \
- engines/sword1/screen.o \
- engines/sword1/sound.o \
- engines/sword1/staticres.o \
- engines/sword1/sword1.o \
- engines/sword1/text.o
+ animation.o \
+ control.o \
+ credits.o \
+ debug.o \
+ eventman.o \
+ logic.o \
+ memman.o \
+ menu.o \
+ mouse.o \
+ music.o \
+ objectman.o \
+ resman.o \
+ router.o \
+ screen.o \
+ sound.o \
+ staticres.o \
+ sword1.o \
+ text.o
MODULE_DIRS += \
engines/sword1
diff --git a/engines/sword2/module.mk b/engines/sword2/module.mk
index 2ee3f39ebb..007f71d90f 100644
--- a/engines/sword2/module.mk
+++ b/engines/sword2/module.mk
@@ -1,40 +1,40 @@
MODULE := engines/sword2
MODULE_OBJS := \
- engines/sword2/_mouse.o \
- engines/sword2/animation.o \
- engines/sword2/anims.o \
- engines/sword2/build_display.o \
- engines/sword2/console.o \
- engines/sword2/controls.o \
- engines/sword2/d_draw.o \
- engines/sword2/debug.o \
- engines/sword2/events.o \
- engines/sword2/function.o \
- engines/sword2/icons.o \
- engines/sword2/interpreter.o \
- engines/sword2/layers.o \
- engines/sword2/logic.o \
- engines/sword2/maketext.o \
- engines/sword2/memory.o \
- engines/sword2/menu.o \
- engines/sword2/mouse.o \
- engines/sword2/music.o \
- engines/sword2/palette.o \
- engines/sword2/protocol.o \
- engines/sword2/rdwin.o \
- engines/sword2/render.o \
- engines/sword2/resman.o \
- engines/sword2/router.o \
- engines/sword2/save_rest.o \
- engines/sword2/scroll.o \
- engines/sword2/sound.o \
- engines/sword2/speech.o \
- engines/sword2/sprite.o \
- engines/sword2/startup.o \
- engines/sword2/sword2.o \
- engines/sword2/sync.o \
- engines/sword2/walker.o
+ _mouse.o \
+ animation.o \
+ anims.o \
+ build_display.o \
+ console.o \
+ controls.o \
+ d_draw.o \
+ debug.o \
+ events.o \
+ function.o \
+ icons.o \
+ interpreter.o \
+ layers.o \
+ logic.o \
+ maketext.o \
+ memory.o \
+ menu.o \
+ mouse.o \
+ music.o \
+ palette.o \
+ protocol.o \
+ rdwin.o \
+ render.o \
+ resman.o \
+ router.o \
+ save_rest.o \
+ scroll.o \
+ sound.o \
+ speech.o \
+ sprite.o \
+ startup.o \
+ sword2.o \
+ sync.o \
+ walker.o
MODULE_DIRS += \
engines/sword2
diff --git a/graphics/module.mk b/graphics/module.mk
index 66e63daf90..8c5697d5a1 100644
--- a/graphics/module.mk
+++ b/graphics/module.mk
@@ -1,18 +1,18 @@
MODULE := graphics
MODULE_OBJS := \
- graphics/animation.o \
- graphics/consolefont.o \
- graphics/font.o \
- graphics/fontman.o \
- graphics/ilbm.o \
- graphics/newfont.o \
- graphics/newfont_big.o \
- graphics/primitives.o \
- graphics/scummfont.o \
- graphics/surface.o \
- graphics/imageman.o \
- graphics/imagedec.o
+ animation.o \
+ consolefont.o \
+ font.o \
+ fontman.o \
+ ilbm.o \
+ newfont.o \
+ newfont_big.o \
+ primitives.o \
+ scummfont.o \
+ surface.o \
+ imageman.o \
+ imagedec.o
MODULE_DIRS += \
graphics
diff --git a/gui/module.mk b/gui/module.mk
index 9c6eb8faac..7ac7ba3784 100644
--- a/gui/module.mk
+++ b/gui/module.mk
@@ -1,24 +1,24 @@
MODULE := gui
MODULE_OBJS := \
- gui/about.o \
- gui/browser.o \
- gui/chooser.o \
- gui/console.o \
- gui/dialog.o \
- gui/editable.o \
- gui/EditTextWidget.o \
- gui/launcher.o \
- gui/ListWidget.o \
- gui/message.o \
- gui/newgui.o \
- gui/options.o \
- gui/PopUpWidget.o \
- gui/ScrollBarWidget.o \
- gui/TabWidget.o \
- gui/widget.o \
- gui/theme.o \
- gui/ThemeNew.o
+ about.o \
+ browser.o \
+ chooser.o \
+ console.o \
+ dialog.o \
+ editable.o \
+ EditTextWidget.o \
+ launcher.o \
+ ListWidget.o \
+ message.o \
+ newgui.o \
+ options.o \
+ PopUpWidget.o \
+ ScrollBarWidget.o \
+ TabWidget.o \
+ widget.o \
+ theme.o \
+ ThemeNew.o
MODULE_DIRS += \
gui
diff --git a/sound/module.mk b/sound/module.mk
index 5d0297bb11..d63680ef56 100644
--- a/sound/module.mk
+++ b/sound/module.mk
@@ -1,26 +1,26 @@
MODULE := sound
MODULE_OBJS := \
- sound/adpcm.o \
- sound/audiocd.o \
- sound/audiostream.o \
- sound/flac.o \
- sound/fmopl.o \
- sound/mididrv.o \
- sound/midiparser.o \
- sound/midiparser_smf.o \
- sound/midiparser_xmidi.o \
- sound/mixer.o \
- sound/mp3.o \
- sound/mpu401.o \
- sound/rate.o \
- sound/voc.o \
- sound/vorbis.o \
- sound/wave.o \
- sound/softsynth/adlib.o \
- sound/softsynth/ym2612.o \
- sound/softsynth/fluidsynth.o \
- sound/softsynth/mt32.o \
+ adpcm.o \
+ audiocd.o \
+ audiostream.o \
+ flac.o \
+ fmopl.o \
+ mididrv.o \
+ midiparser.o \
+ midiparser_smf.o \
+ midiparser_xmidi.o \
+ mixer.o \
+ mp3.o \
+ mpu401.o \
+ rate.o \
+ voc.o \
+ vorbis.o \
+ wave.o \
+ softsynth/adlib.o \
+ softsynth/ym2612.o \
+ softsynth/fluidsynth.o \
+ softsynth/mt32.o \
MODULE_DIRS += \
sound \
diff --git a/sound/softsynth/mt32/module.mk b/sound/softsynth/mt32/module.mk
index 2e48efa9d6..ab13e750bb 100644
--- a/sound/softsynth/mt32/module.mk
+++ b/sound/softsynth/mt32/module.mk
@@ -1,14 +1,14 @@
MODULE := sound/softsynth/mt32
MODULE_OBJS := \
- sound/softsynth/mt32/mt32_file.o \
- sound/softsynth/mt32/i386.o \
- sound/softsynth/mt32/part.o \
- sound/softsynth/mt32/partial.o \
- sound/softsynth/mt32/partialManager.o \
- sound/softsynth/mt32/synth.o \
- sound/softsynth/mt32/tables.o \
- sound/softsynth/mt32/freeverb.o
+ mt32_file.o \
+ i386.o \
+ part.o \
+ partial.o \
+ partialManager.o \
+ synth.o \
+ tables.o \
+ freeverb.o
MODULE_DIRS += \
sound/softsynth/mt32