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 \
|
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 \
|
|
|
|
timer/default/default-timer.o
|
|
|
|
|
|
|
|
|
|
|
|
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 \
|
|
|
|
keymapper/keymap.o \
|
|
|
|
keymapper/keymapper.o \
|
|
|
|
keymapper/remap-dialog.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef USE_OPENGL
|
2011-05-31 00:18:31 +00:00
|
|
|
MODULE_OBJS += \
|
2011-05-30 22:35:27 +00:00
|
|
|
graphics/opengl/glerrorcheck.o \
|
|
|
|
graphics/opengl/gltexture.o \
|
|
|
|
graphics/opengl/opengl-graphics.o \
|
|
|
|
graphics/openglsdl/openglsdl-graphics.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
|
|
|
|
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-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
|
2011-06-02 08:03:01 +00:00
|
|
|
|
|
|
|
# SDL 1.3 removed audio CD support
|
|
|
|
ifndef USE_SDL13
|
|
|
|
MODULE_OBJS += \
|
|
|
|
audiocd/sdl/sdl-audiocd.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 \
|
|
|
|
saves/posix/posix-saves.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MACOSX
|
|
|
|
MODULE_OBJS += \
|
|
|
|
midi/coreaudio.o \
|
|
|
|
midi/coremidi.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef WIN32
|
|
|
|
MODULE_OBJS += \
|
|
|
|
fs/windows/windows-fs.o \
|
|
|
|
fs/windows/windows-fs-factory.o \
|
|
|
|
midi/windows.o \
|
|
|
|
plugins/win32/win32-provider.o
|
|
|
|
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 \
|
|
|
|
fs/ps3/ps3-fs-factory.o
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
2008-01-27 19:47:41 +00:00
|
|
|
# Include common rules
|
2006-06-24 08:48:11 +00:00
|
|
|
include $(srcdir)/rules.mk
|