diff options
author | Max Horn | 2011-05-31 00:25:40 +0200 |
---|---|---|
committer | Max Horn | 2011-05-31 00:25:40 +0200 |
commit | 127a6f920a649e4f981ba6d3333dac516dfbb258 (patch) | |
tree | ae83d94c99ab2ba037b56d20272ecb6f82e6edbe /backends/module.mk | |
parent | f7e94e90b67dd21058ede1ae69283592a88bed7d (diff) | |
download | scummvm-rg350-127a6f920a649e4f981ba6d3333dac516dfbb258.tar.gz scummvm-rg350-127a6f920a649e4f981ba6d3333dac516dfbb258.tar.bz2 scummvm-rg350-127a6f920a649e4f981ba6d3333dac516dfbb258.zip |
BUILD: Add SDL_BACKEND=1 to config.mk for all SDL based backends
Diffstat (limited to 'backends/module.mk')
-rw-r--r-- | backends/module.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/backends/module.mk b/backends/module.mk index 07a8cbbb3f..e91c0917a4 100644 --- a/backends/module.mk +++ b/backends/module.mk @@ -41,10 +41,7 @@ MODULE_OBJS := \ # 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. +ifdef SDL_BACKEND MODULE_OBJS += \ audiocd/sdl/sdl-audiocd.o \ events/sdl/sdl-events.o \ @@ -54,6 +51,7 @@ MODULE_OBJS += \ mutex/sdl/sdl-mutex.o \ plugins/sdl/sdl-provider.o \ timer/sdl/sdl-timer.o +endif ifdef POSIX MODULE_OBJS += \ |