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-07-09 19:45:56 +00:00
|
|
|
graphics/opengl/glerrorcheck.o \
|
2010-07-13 04:31:15 +00:00
|
|
|
graphics/opengl/gltexture.o \
|
2010-07-09 19:45:56 +00:00
|
|
|
graphics/opengl/opengl-graphics.o \
|
|
|
|
graphics/openglsdl/openglsdl-graphics.o \
|
2009-01-18 14:46:53 +00:00
|
|
|
keymapper/action.o \
|
|
|
|
keymapper/keymap.o \
|
|
|
|
keymapper/keymapper.o \
|
|
|
|
keymapper/remap-dialog.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 \
|
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 \
|
2010-09-15 07:44:08 +00:00
|
|
|
plugins/elf/version.o \
|
2006-06-30 22:06:45 +00:00
|
|
|
saves/savefile.o \
|
2006-06-24 10:08:43 +00:00
|
|
|
saves/default/default-saves.o \
|
2009-01-20 00:03:35 +00:00
|
|
|
timer/default/default-timer.o \
|
|
|
|
vkeybd/image-map.o \
|
|
|
|
vkeybd/polygon.o \
|
|
|
|
vkeybd/virtual-keyboard.o \
|
|
|
|
vkeybd/virtual-keyboard-gui.o \
|
|
|
|
vkeybd/virtual-keyboard-parser.o
|
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.
|
|
|
|
# TODO: Add SDL_BACKEND to config.mk; this would match the fact that
|
|
|
|
# we also add -DSDL_BACKEND to the DEFINES.
|
|
|
|
# However, the latter is only done for *most* SDL based stuff, not always
|
|
|
|
# so we really should unify the relevant code in configure.
|
|
|
|
MODULE_OBJS += \
|
|
|
|
audiocd/sdl/sdl-audiocd.o \
|
|
|
|
events/sdl/sdl-events.o \
|
|
|
|
graphics/sdl/sdl-graphics.o \
|
|
|
|
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-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
|
|
|
|
|
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
|
|
|
|
|
|
|
|
# TODO/FIXME: The gp2xsdl files are only compiled if GP2X_OLD is defined,
|
|
|
|
# which currently is never the case (unless the user manually requests it).
|
|
|
|
# ifeq ($(BACKEND),gp2x)
|
|
|
|
# MODULE_OBJS += \
|
|
|
|
# events/gp2xsdl/gp2xsdl-events.o \
|
|
|
|
# graphics/gp2xsdl/gp2xsdl-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
|