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 \
|
2015-10-16 12:36:16 +00:00
|
|
|
audiocd/audiocd-stream.o \
|
2010-06-13 20:33:54 +00:00
|
|
|
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 \
|
2017-08-14 15:28:19 +00:00
|
|
|
keymapper/action.o \
|
|
|
|
keymapper/hardware-input.o \
|
|
|
|
keymapper/input-watcher.o \
|
|
|
|
keymapper/keymap.o \
|
|
|
|
keymapper/keymapper.o \
|
|
|
|
keymapper/remap-widget.o \
|
2020-01-25 12:41:08 +00:00
|
|
|
keymapper/standard-actions.o \
|
2020-03-02 19:24:43 +00:00
|
|
|
keymapper/virtual-mouse.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
|
|
|
|
2016-10-17 16:45:12 +00:00
|
|
|
ifdef USE_CLOUD
|
|
|
|
|
2016-07-05 09:05:30 +00:00
|
|
|
ifdef USE_LIBCURL
|
2016-05-11 16:52:14 +00:00
|
|
|
MODULE_OBJS += \
|
2019-07-15 12:42:25 +00:00
|
|
|
cloud/basestorage.o \
|
2016-09-18 11:05:16 +00:00
|
|
|
cloud/cloudicon.o \
|
2016-06-01 10:22:42 +00:00
|
|
|
cloud/cloudmanager.o \
|
2016-05-23 18:14:24 +00:00
|
|
|
cloud/iso8601.o \
|
2016-05-31 08:18:32 +00:00
|
|
|
cloud/storage.o \
|
2016-05-21 18:04:00 +00:00
|
|
|
cloud/storagefile.o \
|
2016-05-24 05:57:49 +00:00
|
|
|
cloud/downloadrequest.o \
|
2016-05-27 14:59:40 +00:00
|
|
|
cloud/folderdownloadrequest.o \
|
2016-05-29 17:25:08 +00:00
|
|
|
cloud/savessyncrequest.o \
|
2016-07-12 18:33:35 +00:00
|
|
|
cloud/box/boxstorage.o \
|
2016-07-13 07:54:45 +00:00
|
|
|
cloud/box/boxlistdirectorybyidrequest.o \
|
2016-07-13 06:52:04 +00:00
|
|
|
cloud/box/boxtokenrefresher.o \
|
2016-07-13 14:05:56 +00:00
|
|
|
cloud/box/boxuploadrequest.o \
|
2016-05-23 18:14:24 +00:00
|
|
|
cloud/dropbox/dropboxstorage.o \
|
2016-05-31 14:54:41 +00:00
|
|
|
cloud/dropbox/dropboxcreatedirectoryrequest.o \
|
2016-07-19 09:27:26 +00:00
|
|
|
cloud/dropbox/dropboxinforequest.o \
|
2016-05-24 10:19:22 +00:00
|
|
|
cloud/dropbox/dropboxlistdirectoryrequest.o \
|
2021-01-04 08:28:29 +00:00
|
|
|
cloud/dropbox/dropboxtokenrefresher.o \
|
2016-05-29 20:23:29 +00:00
|
|
|
cloud/dropbox/dropboxuploadrequest.o \
|
2016-06-06 14:04:13 +00:00
|
|
|
cloud/googledrive/googledrivelistdirectorybyidrequest.o \
|
2016-06-03 09:14:12 +00:00
|
|
|
cloud/googledrive/googledrivestorage.o \
|
|
|
|
cloud/googledrive/googledrivetokenrefresher.o \
|
2016-06-08 10:46:18 +00:00
|
|
|
cloud/googledrive/googledriveuploadrequest.o \
|
2016-07-13 08:57:01 +00:00
|
|
|
cloud/id/idstorage.o \
|
2016-07-13 09:20:15 +00:00
|
|
|
cloud/id/idcreatedirectoryrequest.o \
|
2016-07-13 09:48:55 +00:00
|
|
|
cloud/id/iddownloadrequest.o \
|
2016-07-13 08:57:01 +00:00
|
|
|
cloud/id/idlistdirectoryrequest.o \
|
|
|
|
cloud/id/idresolveidrequest.o \
|
2016-07-13 09:48:55 +00:00
|
|
|
cloud/id/idstreamfilerequest.o \
|
2016-05-26 15:40:01 +00:00
|
|
|
cloud/onedrive/onedrivestorage.o \
|
2016-05-31 15:21:35 +00:00
|
|
|
cloud/onedrive/onedrivecreatedirectoryrequest.o \
|
2016-05-27 19:08:51 +00:00
|
|
|
cloud/onedrive/onedrivetokenrefresher.o \
|
2016-05-31 08:18:32 +00:00
|
|
|
cloud/onedrive/onedrivelistdirectoryrequest.o \
|
2016-10-17 16:45:12 +00:00
|
|
|
cloud/onedrive/onedriveuploadrequest.o
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef USE_LIBCURL
|
|
|
|
MODULE_OBJS += \
|
2016-05-15 19:05:40 +00:00
|
|
|
networking/curl/connectionmanager.o \
|
2016-05-16 19:19:49 +00:00
|
|
|
networking/curl/networkreadstream.o \
|
2016-05-24 05:57:49 +00:00
|
|
|
networking/curl/curlrequest.o \
|
2016-05-30 19:51:32 +00:00
|
|
|
networking/curl/curljsonrequest.o \
|
2019-10-23 21:09:50 +00:00
|
|
|
networking/curl/postrequest.o \
|
2021-11-16 20:40:06 +00:00
|
|
|
networking/curl/request.o \
|
|
|
|
networking/curl/session.o \
|
|
|
|
networking/curl/sessionrequest.o
|
2016-05-11 16:52:14 +00:00
|
|
|
endif
|
2011-05-30 22:35:27 +00:00
|
|
|
|
2016-06-15 10:38:37 +00:00
|
|
|
ifdef USE_SDL_NET
|
|
|
|
MODULE_OBJS += \
|
2016-06-15 15:36:20 +00:00
|
|
|
networking/sdl_net/client.o \
|
2016-06-15 17:54:53 +00:00
|
|
|
networking/sdl_net/getclienthandler.o \
|
2016-07-06 12:33:34 +00:00
|
|
|
networking/sdl_net/handlers/createdirectoryhandler.o \
|
2016-07-06 13:09:29 +00:00
|
|
|
networking/sdl_net/handlers/downloadfilehandler.o \
|
2016-07-19 06:15:51 +00:00
|
|
|
networking/sdl_net/handlers/filesajaxpagehandler.o \
|
2016-07-06 10:48:56 +00:00
|
|
|
networking/sdl_net/handlers/filesbasehandler.o \
|
|
|
|
networking/sdl_net/handlers/filespagehandler.o \
|
|
|
|
networking/sdl_net/handlers/indexpagehandler.o \
|
2016-07-18 13:00:14 +00:00
|
|
|
networking/sdl_net/handlers/listajaxhandler.o \
|
2016-07-06 10:48:56 +00:00
|
|
|
networking/sdl_net/handlers/resourcehandler.o \
|
2016-07-08 10:00:11 +00:00
|
|
|
networking/sdl_net/handlers/uploadfilehandler.o \
|
2016-07-09 09:49:18 +00:00
|
|
|
networking/sdl_net/handlerutils.o \
|
2016-07-08 07:42:48 +00:00
|
|
|
networking/sdl_net/localwebserver.o \
|
2016-07-09 09:49:18 +00:00
|
|
|
networking/sdl_net/reader.o \
|
|
|
|
networking/sdl_net/uploadfileclienthandler.o
|
2016-06-15 10:38:37 +00:00
|
|
|
endif
|
|
|
|
|
2022-10-20 08:59:40 +00:00
|
|
|
ifdef USE_ENET
|
|
|
|
MODULE_OBJS += \
|
2022-10-22 00:11:21 +00:00
|
|
|
networking/enet/enet.o \
|
2022-10-24 08:27:00 +00:00
|
|
|
networking/enet/host.o \
|
|
|
|
networking/enet/socket.o
|
2022-10-20 08:59:40 +00:00
|
|
|
endif
|
|
|
|
|
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_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 += \
|
2016-01-04 09:18:15 +00:00
|
|
|
graphics/opengl/framebuffer.o \
|
2013-08-16 03:29:56 +00:00
|
|
|
graphics/opengl/opengl-graphics.o \
|
2015-12-20 04:42:54 +00:00
|
|
|
graphics/opengl/shader.o \
|
2016-02-28 17:15:00 +00:00
|
|
|
graphics/opengl/texture.o \
|
2016-02-28 22:58:04 +00:00
|
|
|
graphics/opengl/pipelines/clut8.o \
|
2016-02-28 17:15:00 +00:00
|
|
|
graphics/opengl/pipelines/fixed.o \
|
|
|
|
graphics/opengl/pipelines/pipeline.o \
|
2021-04-18 14:40:46 +00:00
|
|
|
graphics/opengl/pipelines/libretro.o \
|
|
|
|
graphics/opengl/pipelines/libretro/parser.o \
|
2016-02-28 17:15:00 +00:00
|
|
|
graphics/opengl/pipelines/shader.o
|
2013-08-16 03:29:56 +00:00
|
|
|
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 += \
|
2020-03-02 19:24:42 +00:00
|
|
|
events/sdl/legacy-sdl-events.o \
|
2011-05-04 12:34:16 +00:00
|
|
|
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/sdl/sdl-mixer.o \
|
|
|
|
mutex/sdl/sdl-mutex.o \
|
|
|
|
timer/sdl/sdl-timer.o
|
2013-05-16 21:18:09 +00:00
|
|
|
|
2023-01-23 21:36:44 +00:00
|
|
|
ifndef RISCOS
|
|
|
|
ifndef KOLIBRIOS
|
|
|
|
MODULE_OBJS += plugins/sdl/sdl-provider.o
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-06-27 14:45:58 +00:00
|
|
|
# SDL 2 removed audio CD support
|
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
|
2013-08-18 14:56:34 +00:00
|
|
|
|
|
|
|
ifdef USE_OPENGL
|
|
|
|
MODULE_OBJS += \
|
2022-01-05 19:39:43 +00:00
|
|
|
graphics3d/opengl/framebuffer.o \
|
|
|
|
graphics3d/opengl/surfacerenderer.o \
|
|
|
|
graphics3d/opengl/texture.o \
|
2022-03-04 17:02:29 +00:00
|
|
|
graphics3d/opengl/tiledsurface.o
|
|
|
|
ifdef SDL_BACKEND
|
|
|
|
MODULE_OBJS += \
|
|
|
|
graphics/openglsdl/openglsdl-graphics.o \
|
2022-01-05 19:39:43 +00:00
|
|
|
graphics3d/openglsdl/openglsdl-graphics3d.o
|
2020-10-10 12:12:07 +00:00
|
|
|
endif
|
2022-03-04 17:02:29 +00:00
|
|
|
endif
|
2020-10-10 12:12:07 +00:00
|
|
|
|
2020-05-25 08:39:49 +00:00
|
|
|
ifdef USE_DISCORD
|
|
|
|
MODULE_OBJS += \
|
|
|
|
presence/discord/discord.o
|
|
|
|
endif
|
2011-05-30 22:25:40 +00:00
|
|
|
endif
|
2011-05-04 12:34:16 +00:00
|
|
|
|
2023-01-23 21:36:44 +00:00
|
|
|
ifdef KOLIBRIOS
|
|
|
|
MODULE_OBJS += \
|
|
|
|
fs/kolibrios/kolibrios-fs.o \
|
|
|
|
fs/kolibrios/kolibrios-fs-factory.o \
|
|
|
|
fs/posix/posix-iostream.o \
|
2023-01-23 10:41:43 +00:00
|
|
|
plugins/kolibrios/kolibrios-provider.o \
|
2023-01-23 21:36:44 +00:00
|
|
|
saves/kolibrios/kolibrios-saves.o
|
|
|
|
endif
|
|
|
|
|
2016-07-20 07:51:06 +00:00
|
|
|
ifdef POSIX
|
|
|
|
MODULE_OBJS += \
|
|
|
|
fs/posix/posix-fs.o \
|
|
|
|
fs/posix/posix-fs-factory.o \
|
POSIX: Use fstat instead of fseek / ftell to retrieve file stream sizes
fstat is generally faster as is does not cause the IO buffer to be
invalidated / refilled.
Benchmark results for the startup time of the SCI engine with Gabriel
Knight 1 CD:
- Linux, glibc, spinning HDD, fseek/ftell: 140 ms
- Linux, glibc, spinning HDD, fstat: 100 ms
- 3DS, newlib, SD card, fseek/ftell: 68 s
- 3DS, newlib, SD card, fstat: 11 s
2019-10-20 07:23:51 +00:00
|
|
|
fs/posix/posix-iostream.o \
|
2019-10-13 18:58:19 +00:00
|
|
|
fs/posix-drives/posix-drives-fs.o \
|
|
|
|
fs/posix-drives/posix-drives-fs-factory.o \
|
2016-07-20 07:51:06 +00:00
|
|
|
fs/chroot/chroot-fs-factory.o \
|
|
|
|
fs/chroot/chroot-fs.o \
|
|
|
|
plugins/posix/posix-provider.o \
|
|
|
|
saves/posix/posix-saves.o \
|
2020-03-18 15:59:32 +00:00
|
|
|
taskbar/unity/unity-taskbar.o \
|
|
|
|
dialogs/gtk/gtk-dialogs.o
|
2019-08-15 13:30:30 +00:00
|
|
|
|
2019-08-15 14:12:30 +00:00
|
|
|
ifdef USE_SPEECH_DISPATCHER
|
2019-08-15 13:30:30 +00:00
|
|
|
ifdef USE_TTS
|
|
|
|
MODULE_OBJS += \
|
|
|
|
text-to-speech/linux/linux-text-to-speech.o
|
|
|
|
endif
|
2019-08-15 14:12:30 +00:00
|
|
|
endif
|
2019-08-15 13:30:30 +00:00
|
|
|
|
2016-07-19 18:05:03 +00:00
|
|
|
endif
|
2011-05-04 12:34:16 +00:00
|
|
|
|
|
|
|
ifdef MACOSX
|
|
|
|
MODULE_OBJS += \
|
2012-12-30 18:38:56 +00:00
|
|
|
audiocd/macosx/macosx-audiocd.o \
|
2018-11-20 00:14:16 +00:00
|
|
|
dialogs/macosx/macosx-dialogs.o \
|
2011-05-04 12:34:16 +00:00
|
|
|
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 \
|
2016-07-18 09:42:02 +00:00
|
|
|
taskbar/macosx/macosx-taskbar.o
|
2019-08-15 13:30:30 +00:00
|
|
|
|
|
|
|
ifdef USE_TTS
|
|
|
|
MODULE_OBJS += \
|
|
|
|
text-to-speech/macosx/macosx-text-to-speech.o
|
|
|
|
endif
|
|
|
|
|
2022-05-06 17:01:58 +00:00
|
|
|
ifdef SDL_BACKEND
|
|
|
|
MODULE_OBJS += \
|
|
|
|
plugins/sdl/macosx/macosx-provider.o
|
|
|
|
endif
|
|
|
|
|
2011-05-04 12:34:16 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef WIN32
|
|
|
|
MODULE_OBJS += \
|
2015-09-29 21:47:57 +00:00
|
|
|
audiocd/win32/win32-audiocd.o \
|
2018-11-22 12:35:19 +00:00
|
|
|
dialogs/win32/win32-dialogs.o \
|
2011-05-04 12:34:16 +00:00
|
|
|
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 \
|
2016-05-22 15:52:33 +00:00
|
|
|
updates/win32/win32-updates.o \
|
2016-07-19 18:05:03 +00:00
|
|
|
taskbar/win32/win32-taskbar.o
|
2019-08-15 13:30:30 +00:00
|
|
|
|
|
|
|
ifdef USE_TTS
|
|
|
|
MODULE_OBJS += \
|
|
|
|
text-to-speech/windows/windows-text-to-speech.o
|
|
|
|
endif
|
|
|
|
|
2011-05-04 12:34:16 +00:00
|
|
|
endif
|
|
|
|
|
2021-08-24 22:53:21 +00:00
|
|
|
ifeq ($(BACKEND),3ds)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
mutex/3ds/3ds-mutex.o
|
|
|
|
endif
|
|
|
|
|
2019-04-10 22:16:49 +00:00
|
|
|
ifeq ($(BACKEND),android)
|
|
|
|
MODULE_OBJS += \
|
2023-01-08 11:44:33 +00:00
|
|
|
fs/android/android-fs-factory.o \
|
|
|
|
fs/android/android-posix-fs.o \
|
|
|
|
fs/android/android-saf-fs.o \
|
2021-08-14 21:17:52 +00:00
|
|
|
graphics/android/android-graphics.o \
|
|
|
|
graphics3d/android/android-graphics3d.o \
|
|
|
|
graphics3d/android/texture.o \
|
2022-01-05 19:39:43 +00:00
|
|
|
graphics3d/opengl/framebuffer.o \
|
|
|
|
graphics3d/opengl/surfacerenderer.o \
|
|
|
|
graphics3d/opengl/texture.o \
|
|
|
|
graphics3d/opengl/tiledsurface.o \
|
2019-04-10 22:16:49 +00:00
|
|
|
mutex/pthread/pthread-mutex.o
|
|
|
|
endif
|
|
|
|
|
2011-05-04 12:34:16 +00:00
|
|
|
ifdef AMIGAOS
|
|
|
|
MODULE_OBJS += \
|
2020-11-23 13:18:55 +00:00
|
|
|
dialogs/amigaos/amigaos-dialogs.o \
|
2020-11-26 14:10:01 +00:00
|
|
|
fs/amigaos/amigaos-fs.o \
|
|
|
|
fs/amigaos/amigaos-fs-factory.o \
|
2016-07-20 07:51:06 +00:00
|
|
|
midi/camd.o
|
2011-05-04 12:34:16 +00:00
|
|
|
endif
|
|
|
|
|
2019-05-12 08:56:40 +00:00
|
|
|
ifdef MORPHOS
|
|
|
|
MODULE_OBJS += \
|
|
|
|
fs/morphos/morphos-fs.o \
|
2020-10-31 08:44:55 +00:00
|
|
|
fs/morphos/morphos-fs-factory.o \
|
2021-01-23 07:17:49 +00:00
|
|
|
dialogs/morphos/morphos-dialogs.o \
|
2021-02-23 15:46:46 +00:00
|
|
|
midi/camd.o
|
2019-05-12 08:56:40 +00:00
|
|
|
endif
|
|
|
|
|
2017-09-14 16:40:22 +00:00
|
|
|
ifdef RISCOS
|
|
|
|
MODULE_OBJS += \
|
2019-04-15 18:09:33 +00:00
|
|
|
events/riscossdl/riscossdl-events.o \
|
2023-02-19 15:09:06 +00:00
|
|
|
graphics/riscossdl/riscossdl-graphics.o \
|
2017-09-14 16:40:22 +00:00
|
|
|
fs/riscos/riscos-fs.o \
|
2019-03-28 22:35:13 +00:00
|
|
|
fs/riscos/riscos-fs-factory.o \
|
2022-01-14 13:08:17 +00:00
|
|
|
midi/riscos.o \
|
2022-06-14 20:05:03 +00:00
|
|
|
plugins/riscos/riscos-provider.o
|
|
|
|
ifndef SDL_BACKEND
|
|
|
|
# This is needed for null backend but already included in SDL backend
|
|
|
|
MODULE_OBJS += \
|
2019-03-28 22:35:13 +00:00
|
|
|
platform/sdl/riscos/riscos-utils.o
|
2017-09-14 16:40:22 +00:00
|
|
|
endif
|
2022-06-14 20:05:03 +00:00
|
|
|
endif
|
2017-09-14 16:40:22 +00:00
|
|
|
|
2011-06-02 08:34:41 +00:00
|
|
|
ifdef PLAYSTATION3
|
|
|
|
MODULE_OBJS += \
|
|
|
|
fs/posix/posix-fs.o \
|
|
|
|
fs/posix/posix-fs-factory.o \
|
2019-11-22 17:42:40 +00:00
|
|
|
fs/posix/posix-iostream.o \
|
2011-06-02 17:43:44 +00:00
|
|
|
fs/ps3/ps3-fs-factory.o \
|
2016-07-20 07:51:06 +00:00
|
|
|
events/ps3sdl/ps3sdl-events.o
|
2015-07-22 11:00:45 +00:00
|
|
|
endif
|
|
|
|
|
2015-09-27 22:02:21 +00:00
|
|
|
ifdef USE_LINUXCD
|
|
|
|
MODULE_OBJS += \
|
|
|
|
audiocd/linux/linux-audiocd.o
|
|
|
|
endif
|
|
|
|
|
2019-12-01 16:19:50 +00:00
|
|
|
ifeq ($(BACKEND),3ds)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
plugins/3ds/3ds-provider.o
|
|
|
|
endif
|
|
|
|
|
2023-02-05 16:05:01 +00:00
|
|
|
ifeq ($(BACKEND),atari)
|
|
|
|
MODULE_OBJS += \
|
2023-02-06 22:15:58 +00:00
|
|
|
events/atari/atari-events.o \
|
2023-02-05 16:05:01 +00:00
|
|
|
graphics/atari/atari_c2p-asm.o \
|
|
|
|
graphics/atari/atari-graphics.o \
|
|
|
|
graphics/atari/atari-graphics-asm.o \
|
|
|
|
graphics/atari/videl-resolutions.o \
|
|
|
|
mixer/atari/atari-mixer.o
|
|
|
|
endif
|
|
|
|
|
2010-07-29 13:02:14 +00:00
|
|
|
ifeq ($(BACKEND),ds)
|
|
|
|
MODULE_OBJS += \
|
2020-08-06 14:04:24 +00:00
|
|
|
events/ds/ds-events.o \
|
2020-06-01 21:47:20 +00:00
|
|
|
fs/posix/posix-fs.o \
|
|
|
|
fs/posix/posix-fs-factory.o \
|
|
|
|
fs/posix/posix-iostream.o \
|
2020-06-05 18:50:43 +00:00
|
|
|
fs/posix-drives/posix-drives-fs.o \
|
|
|
|
fs/posix-drives/posix-drives-fs-factory.o \
|
|
|
|
fs/devoptab/devoptab-fs-factory.o \
|
2020-08-23 15:01:19 +00:00
|
|
|
mixer/maxmod/maxmod-mixer.o \
|
2016-07-20 07:51:06 +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 += \
|
2021-03-16 07:33:44 +00:00
|
|
|
events/dinguxsdl/dinguxsdl-events.o
|
2011-05-03 21:55:41 +00:00
|
|
|
endif
|
|
|
|
|
2011-05-04 12:34:16 +00:00
|
|
|
ifeq ($(BACKEND),gph)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
events/gph/gph-events.o \
|
2021-03-16 07:33:44 +00:00
|
|
|
graphics/gph/gph-graphics.o
|
2011-05-04 12:34:16 +00:00
|
|
|
endif
|
|
|
|
|
2020-11-08 15:57:50 +00:00
|
|
|
ifdef IPHONE
|
2020-09-04 12:28:52 +00:00
|
|
|
MODULE_OBJS += \
|
|
|
|
mutex/pthread/pthread-mutex.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 \
|
2016-07-20 07:51:06 +00:00
|
|
|
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 \
|
2016-07-20 07:51:06 +00:00
|
|
|
fs/n64/romfsstream.o
|
2010-07-29 13:02:14 +00:00
|
|
|
endif
|
|
|
|
|
2019-11-30 21:48:17 +00:00
|
|
|
ifeq ($(BACKEND),null)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
mixer/null/null-mixer.o
|
|
|
|
endif
|
2023-01-16 19:57:01 +00:00
|
|
|
|
2023-01-16 21:29:35 +00:00
|
|
|
ifdef MIYOO
|
|
|
|
ifeq ($(MIYOO_TARGET), miyoomini)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
graphics/miyoo/miyoomini-graphics.o
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2023-01-16 19:57:01 +00:00
|
|
|
ifdef OPENDINGUX
|
|
|
|
MODULE_OBJS += \
|
|
|
|
graphics/opendingux/opendingux-graphics.o
|
|
|
|
endif
|
2021-10-12 08:30:58 +00:00
|
|
|
|
2011-05-03 21:55:41 +00:00
|
|
|
ifeq ($(BACKEND),openpandora)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
events/openpandora/op-events.o \
|
2016-07-20 07:51:06 +00:00
|
|
|
graphics/openpandora/op-graphics.o
|
2011-05-03 21:55:41 +00:00
|
|
|
endif
|
|
|
|
|
2010-07-29 13:02:14 +00:00
|
|
|
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 \
|
2016-07-20 07:51:06 +00:00
|
|
|
timer/psp/timer.o
|
2010-07-29 13:02:14 +00:00
|
|
|
endif
|
|
|
|
|
2017-03-01 20:00:17 +00:00
|
|
|
ifeq ($(BACKEND),psp2)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
fs/posix/posix-fs.o \
|
2019-11-22 17:42:40 +00:00
|
|
|
fs/posix/posix-iostream.o \
|
2020-09-12 19:32:07 +00:00
|
|
|
fs/posix-drives/posix-drives-fs.o \
|
|
|
|
fs/posix-drives/posix-drives-fs-factory.o \
|
2022-07-18 17:25:57 +00:00
|
|
|
plugins/psp2/psp2-provider.o \
|
2021-04-12 00:53:39 +00:00
|
|
|
events/psp2sdl/psp2sdl-events.o
|
2017-03-01 20:00:17 +00:00
|
|
|
endif
|
|
|
|
|
2011-05-24 11:24:37 +00:00
|
|
|
ifeq ($(BACKEND),samsungtv)
|
2011-05-03 21:55:41 +00:00
|
|
|
MODULE_OBJS += \
|
2020-03-11 22:19:55 +00:00
|
|
|
events/samsungtvsdl/samsungtvsdl-events.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 \
|
2021-08-24 22:53:21 +00:00
|
|
|
mutex/wii/wii-mutex.o \
|
2016-07-20 07:51:06 +00:00
|
|
|
plugins/wii/wii-provider.o
|
2010-07-29 13:02:14 +00:00
|
|
|
endif
|
|
|
|
|
2018-09-20 14:33:08 +00:00
|
|
|
ifeq ($(BACKEND),switch)
|
|
|
|
MODULE_OBJS += \
|
|
|
|
events/switchsdl/switchsdl-events.o
|
|
|
|
endif
|
|
|
|
|
2013-05-16 21:18:09 +00:00
|
|
|
ifdef ENABLE_EVENTRECORDER
|
|
|
|
MODULE_OBJS += \
|
2019-11-30 16:03:46 +00:00
|
|
|
mixer/null/null-mixer.o \
|
2013-05-16 21:18:09 +00:00
|
|
|
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
|