2002-11-21 04:08:37 +00:00
|
|
|
MODULE := backends
|
|
|
|
|
2003-09-17 21:53:13 +00:00
|
|
|
MODULE_OBJS := \
|
2009-01-30 03:35:47 +00:00
|
|
|
base-backend.o \
|
2010-06-13 20:33:54 +00:00
|
|
|
modular-backend.o \
|
|
|
|
audiocd/default/default-audiocd.o \
|
2009-01-18 14:46:53 +00:00
|
|
|
events/default/default-events.o \
|
2008-08-27 20:31:22 +00:00
|
|
|
fs/abstract-fs.o \
|
2008-09-03 11:49:02 +00:00
|
|
|
fs/stdiostream.o \
|
2010-11-24 00:08:26 +00:00
|
|
|
log/log.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
midi/alsa.o \
|
2011-05-03 21:58:04 +00:00
|
|
|
midi/dmedia.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
midi/seq.o \
|
2012-05-14 13:37:30 +00:00
|
|
|
midi/sndio.o \
|
2008-08-27 18:52:21 +00:00
|
|
|
midi/stmidi.o \
|
2007-11-02 16:01:52 +00:00
|
|
|
midi/timidity.o \
|
2011-05-30 22:35:27 +00:00
|
|
|
saves/savefile.o \
|
|
|
|
saves/default/default-saves.o \
|
2011-08-03 01:00:57 +00:00
|
|
|
timer/default/default-timer.o
|
2011-05-30 22:35:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
ifdef USE_ELF_LOADER
|
2011-05-31 00:18:31 +00:00
|
|
|
MODULE_OBJS += \
|
2010-09-05 12:51:25 +00:00
|
|
|
plugins/elf/arm-loader.o \
|
2011-05-03 21:58:04 +00:00
|
|
|
plugins/elf/elf-loader.o \
|
2010-09-05 12:51:25 +00:00
|
|
|
plugins/elf/elf-provider.o \
|
2010-12-22 14:48:51 +00:00
|
|
|
plugins/elf/memory-manager.o \
|
2011-05-03 21:58:04 +00:00
|
|
|
plugins/elf/mips-loader.o \
|
|
|
|
plugins/elf/ppc-loader.o \
|
|
|
|
plugins/elf/shorts-segment-manager.o \
|
2011-05-30 22:35:27 +00:00
|
|
|
plugins/elf/version.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef ENABLE_KEYMAPPER
|
2011-05-31 00:18:31 +00:00
|
|
|
MODULE_OBJS += \
|
2011-05-30 22:35:27 +00:00
|
|
|
keymapper/action.o \
|
2012-02-27 19:28:40 +00:00
|
|
|
keymapper/hardware-input.o \
|
2011-05-30 22:35:27 +00:00
|
|
|
keymapper/keymap.o \
|
|
|
|
keymapper/keymapper.o \
|
|
|
|
keymapper/remap-dialog.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef ENABLE_VKEYBD
|
2011-05-31 00:18:31 +00:00
|
|
|
MODULE_OBJS += \
|
2009-01-20 00:03:35 +00:00
|
|
|
vkeybd/image-map.o \
|
|
|
|
vkeybd/polygon.o \
|
|
|
|
vkeybd/virtual-keyboard.o \
|
|
|
|
vkeybd/virtual-keyboard-gui.o \
|
|
|
|
vkeybd/virtual-keyboard-parser.o
|
2011-05-30 22:35:27 +00:00
|
|
|
endif
|
2002-11-21 04:08:37 +00:00
|
|
|
|
2013-08-16 03:29:56 +00:00
|
|
|
# OpenGL specific source files.
|
|
|
|
ifdef USE_OPENGL
|
|
|
|
MODULE_OBJS += \
|
|
|
|
graphics/opengl/debug.o \
|
|
|
|
graphics/opengl/extensions.o \
|
|
|
|
graphics/opengl/opengl-graphics.o \
|
|
|
|
graphics/opengl/texture.o
|
|
|
|
endif
|
|
|
|
|
2011-05-04 12:34:16 +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-05-30 22:25:40 +00:00
|
|
|
ifdef SDL_BACKEND
|
2011-05-04 12:34:16 +00:00
|
|
|
MODULE_OBJS += \
|
|
|
|
events/sdl/sdl-events.o \
|
2011-08-08 19:43:53 +00:00
|
|
|
graphics/sdl/sdl-graphics.o \
|
2011-06-19 18:08:55 +00:00
|
|
|
graphics/surfacesdl/surfacesdl-graphics.o \
|
2011-05-04 12:34:16 +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-05-16 21:18:09 +00:00
|
|
|
|
2011-06-02 08:03:01 +00:00
|
|
|
# SDL 1.3 removed audio CD support
|
|
|
|
ifndef USE_SDL13
|
2015-01-25 00:34:57 +00:00
|
|
|
ifndef USE_SDL2
|
2011-06-02 08:03:01 +00:00
|
|
|
MODULE_OBJS += \
|
|
|
|
audiocd/sdl/sdl-audiocd.o
|
|
|
|
endif
|
2015-01-25 00:34:57 +00:00
|
|
|
endif
|
2013-08-18 14:56:34 +00:00
|
|
|
|
|
|
|
ifdef USE_OPENGL
|
|
|
|
MODULE_OBJS += \
|
|
|
|
graphics/openglsdl/openglsdl-graphics.o
|
|
|
|
endif
|
2011-05-30 22:25:40 +00:00
|
|
|
endif
|
2011-05-04 12:34:16 +00:00
|
|
|
|
2011-05-05 13:38:54 +00:00
|
|
|
ifdef POSIX
|
2011-05-04 12:34:16 +00:00
|
|
|
MODULE_OBJS += \
|
|
|
|
fs/posix/posix-fs.o \
|
|
|
|
fs/posix/posix-fs-factory.o \
|
|
|
|
plugins/posix/posix-provider.o \
|
2011-04-01 05:04:46 +00:00
|
|
|
saves/posix/posix-saves.o \
|
|
|
|
taskbar/unity/unity-taskbar.o
|
2011-05-04 12:34:16 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MACOSX
|
|
|
|
MODULE_OBJS += \
|
|
|
|
midi/coreaudio.o \
|
2011-07-03 21:01:17 +00:00
|
|
|
midi/coremidi.o \
|
2014-01-26 20:40:36 +00:00
|
|
|
updates/macosx/macosx-updates.o \
|
|
|
|
taskbar/macosx/macosx-taskbar.o
|
2011-05-04 12:34:16 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef WIN32
|
|
|
|
MODULE_OBJS += \
|
|
|
|
fs/windows/windows-fs.o \
|
|
|
|
fs/windows/windows-fs-factory.o \
|
|
|
|
midi/windows.o \
|
2011-04-26 16:48:01 +00:00
|
|
|
plugins/win32/win32-provider.o \
|
2012-01-23 12:17:55 +00:00
|
|
|
saves/windows/windows-saves.o \
|
2011-04-26 16:48:01 +00:00
|
|
|
taskbar/win32/win32-taskbar.o
|
2011-05-04 12:34:16 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef AMIGAOS
|
|
|
|
MODULE_OBJS += \
|
|
|
|
fs/amigaos4/amigaos4-fs.o \
|
|
|
|
fs/amigaos4/amigaos4-fs-factory.o \
|
|
|
|
midi/camd.o
|
|
|
|
endif
|
|
|
|
|
2011-06-02 08:34:41 +00:00
|
|
|
ifdef PLAYSTATION3
|
|
|
|
MODULE_OBJS += \
|
|
|
|
fs/posix/posix-fs.o \
|
|
|
|
fs/posix/posix-fs-factory.o \
|
2011-06-02 17:43:44 +00:00
|
|
|
fs/ps3/ps3-fs-factory.o \
|
2011-06-04 10:54:37 +00:00
|
|
|
events/ps3sdl/ps3sdl-events.o \
|
2011-06-02 17:43:44 +00:00
|
|
|
mixer/sdl13/sdl13-mixer.o
|
2011-06-02 08:34:41 +00:00
|
|
|
endif
|
|
|
|
|
2013-06-25 11:08:55 +00:00
|
|
|
ifeq ($(BACKEND),tizen)
|
2011-08-20 00:41:32 +00:00
|
|
|
MODULE_OBJS += \
|
2013-06-25 11:08:55 +00:00
|
|
|
timer/tizen/timer.o
|
2011-08-20 00:41:32 +00:00
|
|
|
endif
|
|
|
|
|
2010-07-29 13:02:14 +00:00
|
|
|
ifeq ($(BACKEND),ds)
|
|
|
|
MODULE_OBJS += \
|
2010-09-05 12:52:17 +00:00
|
|
|
fs/ds/ds-fs.o \
|
2011-05-03 08:33:03 +00:00
|
|
|
fs/ds/ds-fs-factory.o \
|
2010-09-05 12:52:17 +00:00
|
|
|
plugins/ds/ds-provider.o
|
2010-07-29 13:02:14 +00:00
|
|
|
endif
|
|
|
|
|
2011-05-03 21:55:41 +00:00
|
|
|
ifeq ($(BACKEND),dingux)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
events/dinguxsdl/dinguxsdl-events.o \
|
|
|
|
graphics/dinguxsdl/dinguxsdl-graphics.o
|
|
|
|
endif
|
|
|
|
|
2011-05-04 12:34:16 +00:00
|
|
|
ifeq ($(BACKEND),gph)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
events/gph/gph-events.o \
|
|
|
|
graphics/gph/gph-graphics.o
|
|
|
|
endif
|
|
|
|
|
2011-05-03 21:55:41 +00:00
|
|
|
ifeq ($(BACKEND),linuxmoto)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
events/linuxmotosdl/linuxmotosdl-events.o \
|
|
|
|
graphics/linuxmotosdl/linuxmotosdl-graphics.o
|
|
|
|
endif
|
|
|
|
|
2011-07-05 05:25:56 +00:00
|
|
|
ifeq ($(BACKEND),maemo)
|
|
|
|
MODULE_OBJS += \
|
2011-11-29 19:38:17 +00:00
|
|
|
events/maemosdl/maemosdl-events.o \
|
|
|
|
graphics/maemosdl/maemosdl-graphics.o
|
2011-07-05 05:25:56 +00:00
|
|
|
endif
|
|
|
|
|
2010-07-29 13:02:14 +00:00
|
|
|
ifeq ($(BACKEND),n64)
|
|
|
|
MODULE_OBJS += \
|
2011-05-03 08:33:03 +00:00
|
|
|
fs/n64/n64-fs.o \
|
2010-07-29 13:02:14 +00:00
|
|
|
fs/n64/n64-fs-factory.o \
|
|
|
|
fs/n64/romfsstream.o
|
|
|
|
endif
|
|
|
|
|
2011-05-03 21:55:41 +00:00
|
|
|
ifeq ($(BACKEND),openpandora)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
events/openpandora/op-events.o \
|
|
|
|
graphics/openpandora/op-graphics.o
|
|
|
|
endif
|
|
|
|
|
2010-07-29 13:02:14 +00:00
|
|
|
ifeq ($(BACKEND),ps2)
|
|
|
|
MODULE_OBJS += \
|
2011-05-03 08:33:03 +00:00
|
|
|
fs/ps2/ps2-fs.o \
|
2010-09-05 12:52:17 +00:00
|
|
|
fs/ps2/ps2-fs-factory.o \
|
|
|
|
plugins/ps2/ps2-provider.o
|
2010-07-29 13:02:14 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BACKEND),psp)
|
|
|
|
MODULE_OBJS += \
|
2011-05-03 08:33:03 +00:00
|
|
|
fs/psp/psp-fs.o \
|
2010-07-29 13:02:14 +00:00
|
|
|
fs/psp/psp-fs-factory.o \
|
|
|
|
fs/psp/psp-stream.o \
|
2010-09-05 12:52:17 +00:00
|
|
|
plugins/psp/psp-provider.o \
|
2010-07-29 13:02:14 +00:00
|
|
|
saves/psp/psp-saves.o \
|
|
|
|
timer/psp/timer.o
|
|
|
|
endif
|
|
|
|
|
2011-05-24 11:24:37 +00:00
|
|
|
ifeq ($(BACKEND),samsungtv)
|
2011-05-03 21:55:41 +00:00
|
|
|
MODULE_OBJS += \
|
2011-05-23 16:11:40 +00:00
|
|
|
events/samsungtvsdl/samsungtvsdl-events.o \
|
|
|
|
graphics/samsungtvsdl/samsungtvsdl-graphics.o
|
2011-05-03 21:55:41 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BACKEND),webos)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
events/webossdl/webossdl-events.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BACKEND),wince)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
events/wincesdl/wincesdl-events.o \
|
2011-05-05 08:57:35 +00:00
|
|
|
fs/windows/windows-fs.o \
|
|
|
|
fs/windows/windows-fs-factory.o \
|
2011-05-03 21:55:41 +00:00
|
|
|
graphics/wincesdl/wincesdl-graphics.o \
|
2011-05-07 00:11:47 +00:00
|
|
|
mixer/wincesdl/wincesdl-mixer.o \
|
|
|
|
plugins/win32/win32-provider.o
|
2011-05-03 21:55:41 +00:00
|
|
|
endif
|
|
|
|
|
2010-07-29 13:02:14 +00:00
|
|
|
ifeq ($(BACKEND),wii)
|
|
|
|
MODULE_OBJS += \
|
2011-05-03 08:33:03 +00:00
|
|
|
fs/wii/wii-fs.o \
|
2010-09-05 12:52:17 +00:00
|
|
|
fs/wii/wii-fs-factory.o \
|
|
|
|
plugins/wii/wii-provider.o
|
2010-07-29 13:02:14 +00:00
|
|
|
endif
|
|
|
|
|
2013-05-16 21:18:09 +00:00
|
|
|
ifdef ENABLE_EVENTRECORDER
|
|
|
|
MODULE_OBJS += \
|
|
|
|
mixer/nullmixer/nullsdl-mixer.o \
|
|
|
|
saves/recorder/recorder-saves.o
|
|
|
|
endif
|
|
|
|
|
2008-01-27 19:47:41 +00:00
|
|
|
# Include common rules
|
2006-06-24 08:48:11 +00:00
|
|
|
include $(srcdir)/rules.mk
|