scummvm/backends/module.mk

218 lines
4.3 KiB
Makefile
Raw Normal View History

2009-05-04 18:41:11 +00:00
MODULE := backends
MODULE_OBJS := \
2011-07-20 04:58:19 +00:00
base-backend.o \
2011-04-14 10:41:26 +00:00
modular-backend.o \
audiocd/default/default-audiocd.o \
events/default/default-events.o \
2009-04-05 15:47:18 +00:00
fs/abstract-fs.o \
fs/stdiostream.o \
2011-04-14 10:41:26 +00:00
log/log.o \
2010-01-21 20:03:19 +00:00
midi/alsa.o \
2011-05-08 13:44:52 +00:00
midi/dmedia.o \
2010-01-21 20:03:19 +00:00
midi/seq.o \
2012-07-06 20:05:21 +00:00
midi/sndio.o \
2010-01-21 20:03:19 +00:00
midi/stmidi.o \
midi/timidity.o \
2008-07-20 15:00:50 +00:00
saves/savefile.o \
saves/default/default-saves.o \
2011-06-09 09:17:15 +00:00
timer/default/default-timer.o
ifdef USE_ELF_LOADER
MODULE_OBJS += \
plugins/elf/arm-loader.o \
plugins/elf/elf-loader.o \
plugins/elf/elf-provider.o \
plugins/elf/memory-manager.o \
plugins/elf/mips-loader.o \
plugins/elf/ppc-loader.o \
plugins/elf/shorts-segment-manager.o \
plugins/elf/version.o
endif
ifdef ENABLE_KEYMAPPER
MODULE_OBJS += \
keymapper/action.o \
2012-03-25 09:41:48 +00:00
keymapper/hardware-input.o \
2011-06-09 09:17:15 +00:00
keymapper/keymap.o \
keymapper/keymapper.o \
keymapper/remap-dialog.o
endif
ifdef ENABLE_VKEYBD
MODULE_OBJS += \
vkeybd/image-map.o \
vkeybd/polygon.o \
vkeybd/virtual-keyboard.o \
vkeybd/virtual-keyboard-gui.o \
vkeybd/virtual-keyboard-parser.o
2011-06-09 09:17:15 +00:00
endif
2011-05-08 13:44:52 +00:00
# SDL specific source files.
# We cannot just check $BACKEND = sdl, as various other backends
# derive from the SDL backend, and they all need the following files.
2011-06-09 09:17:15 +00:00
ifdef SDL_BACKEND
2011-05-08 13:44:52 +00:00
MODULE_OBJS += \
events/sdl/sdl-events.o \
2014-12-31 12:01:21 +00:00
events/sdl/resvm-sdl-events.o \
2012-01-06 21:56:21 +00:00
graphics/sdl/sdl-graphics.o \
2011-07-20 04:58:19 +00:00
graphics/surfacesdl/surfacesdl-graphics.o \
2011-05-08 13:44:52 +00:00
mixer/doublebuffersdl/doublebuffersdl-mixer.o \
mixer/sdl/sdl-mixer.o \
mutex/sdl/sdl-mutex.o \
plugins/sdl/sdl-provider.o \
timer/sdl/sdl-timer.o
2013-07-07 13:29:33 +00:00
2015-12-21 23:24:01 +00:00
# SDL 2 removed audio CD support
2015-04-19 05:43:34 +00:00
ifndef USE_SDL2
2011-07-20 04:58:19 +00:00
MODULE_OBJS += \
audiocd/sdl/sdl-audiocd.o
endif
2011-06-09 09:17:15 +00:00
endif
2011-05-08 13:44:52 +00:00
2011-06-09 09:17:15 +00:00
ifdef POSIX
2011-05-08 13:44:52 +00:00
MODULE_OBJS += \
fs/posix/posix-fs.o \
fs/posix/posix-fs-factory.o \
plugins/posix/posix-provider.o \
2011-07-20 04:58:19 +00:00
saves/posix/posix-saves.o \
taskbar/unity/unity-taskbar.o
2011-05-08 13:44:52 +00:00
endif
ifdef MACOSX
MODULE_OBJS += \
midi/coreaudio.o \
2012-01-06 21:56:21 +00:00
midi/coremidi.o \
2014-04-05 16:18:42 +00:00
updates/macosx/macosx-updates.o \
taskbar/macosx/macosx-taskbar.o
2011-05-08 13:44:52 +00:00
endif
ifdef WIN32
MODULE_OBJS += \
fs/windows/windows-fs.o \
fs/windows/windows-fs-factory.o \
midi/windows.o \
2011-07-20 04:58:19 +00:00
plugins/win32/win32-provider.o \
2012-02-10 06:51:41 +00:00
saves/windows/windows-saves.o \
2011-07-20 04:58:19 +00:00
taskbar/win32/win32-taskbar.o
2011-05-08 13:44:52 +00:00
endif
ifdef AMIGAOS
MODULE_OBJS += \
fs/amigaos4/amigaos4-fs.o \
2012-11-18 18:07:46 +00:00
fs/amigaos4/amigaos4-fs-factory.o \
midi/camd.o
2011-05-08 13:44:52 +00:00
endif
2011-07-20 04:58:19 +00:00
ifdef PLAYSTATION3
MODULE_OBJS += \
fs/posix/posix-fs.o \
fs/posix/posix-fs-factory.o \
fs/ps3/ps3-fs-factory.o \
2015-12-21 23:24:01 +00:00
events/ps3sdl/ps3sdl-events.o
2011-07-20 04:58:19 +00:00
endif
2013-07-07 13:29:33 +00:00
ifeq ($(BACKEND),tizen)
2012-01-06 21:56:21 +00:00
MODULE_OBJS += \
2013-07-07 13:29:33 +00:00
timer/tizen/timer.o
2012-01-06 21:56:21 +00:00
endif
2011-04-11 13:40:01 +00:00
ifeq ($(BACKEND),ds)
MODULE_OBJS += \
2011-04-14 10:41:26 +00:00
fs/ds/ds-fs.o \
2011-05-08 13:44:52 +00:00
fs/ds/ds-fs-factory.o \
2011-04-14 10:41:26 +00:00
plugins/ds/ds-provider.o
2011-04-11 13:40:01 +00:00
endif
2011-05-08 13:44:52 +00:00
ifeq ($(BACKEND),dingux)
MODULE_OBJS += \
events/dinguxsdl/dinguxsdl-events.o \
graphics/dinguxsdl/dinguxsdl-graphics.o
endif
ifeq ($(BACKEND),gph)
MODULE_OBJS += \
events/gph/gph-events.o \
graphics/gph/gph-graphics.o
endif
ifeq ($(BACKEND),linuxmoto)
MODULE_OBJS += \
events/linuxmotosdl/linuxmotosdl-events.o \
graphics/linuxmotosdl/linuxmotosdl-graphics.o
endif
2012-01-06 21:56:21 +00:00
ifeq ($(BACKEND),maemo)
MODULE_OBJS += \
events/maemosdl/maemosdl-events.o \
graphics/maemosdl/maemosdl-graphics.o
endif
2011-04-11 13:40:01 +00:00
ifeq ($(BACKEND),n64)
MODULE_OBJS += \
2011-05-08 13:44:52 +00:00
fs/n64/n64-fs.o \
2011-04-11 13:40:01 +00:00
fs/n64/n64-fs-factory.o \
fs/n64/romfsstream.o
endif
2011-05-08 13:44:52 +00:00
ifeq ($(BACKEND),openpandora)
MODULE_OBJS += \
events/openpandora/op-events.o \
graphics/openpandora/op-graphics.o
endif
2011-04-11 13:40:01 +00:00
ifeq ($(BACKEND),ps2)
MODULE_OBJS += \
2011-05-08 13:44:52 +00:00
fs/ps2/ps2-fs.o \
2011-04-14 10:41:26 +00:00
fs/ps2/ps2-fs-factory.o \
plugins/ps2/ps2-provider.o
2011-04-11 13:40:01 +00:00
endif
ifeq ($(BACKEND),psp)
MODULE_OBJS += \
2011-05-08 13:44:52 +00:00
fs/psp/psp-fs.o \
2011-04-11 13:40:01 +00:00
fs/psp/psp-fs-factory.o \
fs/psp/psp-stream.o \
plugins/psp/psp-provider.o \
saves/psp/psp-saves.o \
timer/psp/timer.o
endif
2011-06-09 09:17:15 +00:00
ifeq ($(BACKEND),samsungtv)
2011-05-08 13:44:52 +00:00
MODULE_OBJS += \
2011-06-09 09:17:15 +00:00
events/samsungtvsdl/samsungtvsdl-events.o \
graphics/samsungtvsdl/samsungtvsdl-graphics.o
2011-05-08 13:44:52 +00:00
endif
ifeq ($(BACKEND),webos)
MODULE_OBJS += \
events/webossdl/webossdl-events.o
endif
ifeq ($(BACKEND),wince)
MODULE_OBJS += \
events/wincesdl/wincesdl-events.o \
fs/windows/windows-fs.o \
fs/windows/windows-fs-factory.o \
graphics/wincesdl/wincesdl-graphics.o \
2011-05-18 21:33:39 +00:00
mixer/wincesdl/wincesdl-mixer.o \
plugins/win32/win32-provider.o
2011-05-08 13:44:52 +00:00
endif
2011-04-11 13:40:01 +00:00
ifeq ($(BACKEND),wii)
MODULE_OBJS += \
2011-05-08 13:44:52 +00:00
fs/wii/wii-fs.o \
2011-04-14 10:41:26 +00:00
fs/wii/wii-fs-factory.o \
plugins/wii/wii-provider.o
2011-04-11 13:40:01 +00:00
endif
2013-07-07 13:29:33 +00:00
ifdef ENABLE_EVENTRECORDER
MODULE_OBJS += \
mixer/nullmixer/nullsdl-mixer.o \
saves/recorder/recorder-saves.o
endif
# Include common rules
include $(srcdir)/rules.mk