mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
BUILD: Compile backend specific files only if their backend is selected
This commit is contained in:
parent
971baf3585
commit
fc74fb357d
@ -6,38 +6,24 @@ MODULE_OBJS := \
|
|||||||
audiocd/default/default-audiocd.o \
|
audiocd/default/default-audiocd.o \
|
||||||
audiocd/sdl/sdl-audiocd.o \
|
audiocd/sdl/sdl-audiocd.o \
|
||||||
events/default/default-events.o \
|
events/default/default-events.o \
|
||||||
events/dinguxsdl/dinguxsdl-events.o \
|
|
||||||
events/gp2xsdl/gp2xsdl-events.o \
|
events/gp2xsdl/gp2xsdl-events.o \
|
||||||
events/gph/gph-events.o \
|
events/gph/gph-events.o \
|
||||||
events/linuxmotosdl/linuxmotosdl-events.o \
|
|
||||||
events/openpandora/op-events.o \
|
|
||||||
events/samsungtvsdl/samsungtvsdl-events.o \
|
|
||||||
events/sdl/sdl-events.o \
|
events/sdl/sdl-events.o \
|
||||||
events/symbiansdl/symbiansdl-events.o \
|
|
||||||
events/webossdl/webossdl-events.o \
|
|
||||||
events/wincesdl/wincesdl-events.o \
|
|
||||||
fs/abstract-fs.o \
|
fs/abstract-fs.o \
|
||||||
fs/stdiostream.o \
|
fs/stdiostream.o \
|
||||||
fs/amigaos4/amigaos4-fs.o \
|
fs/amigaos4/amigaos4-fs.o \
|
||||||
fs/amigaos4/amigaos4-fs-factory.o \
|
fs/amigaos4/amigaos4-fs-factory.o \
|
||||||
fs/posix/posix-fs.o \
|
fs/posix/posix-fs.o \
|
||||||
fs/posix/posix-fs-factory.o \
|
fs/posix/posix-fs-factory.o \
|
||||||
fs/symbian/symbian-fs.o \
|
|
||||||
fs/symbian/symbian-fs-factory.o \
|
|
||||||
fs/windows/windows-fs.o \
|
fs/windows/windows-fs.o \
|
||||||
fs/windows/windows-fs-factory.o \
|
fs/windows/windows-fs-factory.o \
|
||||||
graphics/dinguxsdl/dinguxsdl-graphics.o \
|
|
||||||
graphics/gp2xsdl/gp2xsdl-graphics.o \
|
graphics/gp2xsdl/gp2xsdl-graphics.o \
|
||||||
graphics/gph/gph-graphics.o \
|
graphics/gph/gph-graphics.o \
|
||||||
graphics/linuxmotosdl/linuxmotosdl-graphics.o \
|
|
||||||
graphics/opengl/glerrorcheck.o \
|
graphics/opengl/glerrorcheck.o \
|
||||||
graphics/opengl/gltexture.o \
|
graphics/opengl/gltexture.o \
|
||||||
graphics/opengl/opengl-graphics.o \
|
graphics/opengl/opengl-graphics.o \
|
||||||
graphics/openglsdl/openglsdl-graphics.o \
|
graphics/openglsdl/openglsdl-graphics.o \
|
||||||
graphics/openpandora/op-graphics.o \
|
|
||||||
graphics/sdl/sdl-graphics.o \
|
graphics/sdl/sdl-graphics.o \
|
||||||
graphics/symbiansdl/symbiansdl-graphics.o \
|
|
||||||
graphics/wincesdl/wincesdl-graphics.o \
|
|
||||||
keymapper/action.o \
|
keymapper/action.o \
|
||||||
keymapper/keymap.o \
|
keymapper/keymap.o \
|
||||||
keymapper/keymapper.o \
|
keymapper/keymapper.o \
|
||||||
@ -54,8 +40,6 @@ MODULE_OBJS := \
|
|||||||
midi/windows.o \
|
midi/windows.o \
|
||||||
mixer/doublebuffersdl/doublebuffersdl-mixer.o \
|
mixer/doublebuffersdl/doublebuffersdl-mixer.o \
|
||||||
mixer/sdl/sdl-mixer.o \
|
mixer/sdl/sdl-mixer.o \
|
||||||
mixer/symbiansdl/symbiansdl-mixer.o \
|
|
||||||
mixer/wincesdl/wincesdl-mixer.o \
|
|
||||||
mutex/sdl/sdl-mutex.o \
|
mutex/sdl/sdl-mutex.o \
|
||||||
plugins/elf/elf-loader.o \
|
plugins/elf/elf-loader.o \
|
||||||
plugins/elf/mips-loader.o \
|
plugins/elf/mips-loader.o \
|
||||||
@ -86,6 +70,18 @@ MODULE_OBJS += \
|
|||||||
plugins/ds/ds-provider.o
|
plugins/ds/ds-provider.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BACKEND),dingux)
|
||||||
|
MODULE_OBJS += \
|
||||||
|
events/dinguxsdl/dinguxsdl-events.o \
|
||||||
|
graphics/dinguxsdl/dinguxsdl-graphics.o
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BACKEND),linuxmoto)
|
||||||
|
MODULE_OBJS += \
|
||||||
|
events/linuxmotosdl/linuxmotosdl-events.o \
|
||||||
|
graphics/linuxmotosdl/linuxmotosdl-graphics.o
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BACKEND),n64)
|
ifeq ($(BACKEND),n64)
|
||||||
MODULE_OBJS += \
|
MODULE_OBJS += \
|
||||||
fs/n64/n64-fs.o \
|
fs/n64/n64-fs.o \
|
||||||
@ -93,6 +89,12 @@ MODULE_OBJS += \
|
|||||||
fs/n64/romfsstream.o
|
fs/n64/romfsstream.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BACKEND),openpandora)
|
||||||
|
MODULE_OBJS += \
|
||||||
|
events/openpandora/op-events.o \
|
||||||
|
graphics/openpandora/op-graphics.o
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BACKEND),ps2)
|
ifeq ($(BACKEND),ps2)
|
||||||
MODULE_OBJS += \
|
MODULE_OBJS += \
|
||||||
fs/ps2/ps2-fs.o \
|
fs/ps2/ps2-fs.o \
|
||||||
@ -110,6 +112,23 @@ MODULE_OBJS += \
|
|||||||
timer/psp/timer.o
|
timer/psp/timer.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BACKEND),samsungstv)
|
||||||
|
MODULE_OBJS += \
|
||||||
|
events/samsungtvsdl/samsungtvsdl-events.o
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BACKEND),webos)
|
||||||
|
MODULE_OBJS += \
|
||||||
|
events/webossdl/webossdl-events.o
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BACKEND),wince)
|
||||||
|
MODULE_OBJS += \
|
||||||
|
events/wincesdl/wincesdl-events.o \
|
||||||
|
graphics/wincesdl/wincesdl-graphics.o \
|
||||||
|
mixer/wincesdl/wincesdl-mixer.o
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BACKEND),wii)
|
ifeq ($(BACKEND),wii)
|
||||||
MODULE_OBJS += \
|
MODULE_OBJS += \
|
||||||
fs/wii/wii-fs.o \
|
fs/wii/wii-fs.o \
|
||||||
|
Loading…
Reference in New Issue
Block a user