diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-05 20:56:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-05 20:56:20 +0300 |
commit | 102a7d4fe6e8874ad7dcdfe085a22b51de22999b (patch) | |
tree | 3dfdb542035ba1f6c871b6901461c81f11b1c6db /src/Makefile.am | |
parent | 0ca79840f3497375591a43b38d520ada03dfb2dd (diff) | |
download | plus-102a7d4fe6e8874ad7dcdfe085a22b51de22999b.tar.gz plus-102a7d4fe6e8874ad7dcdfe085a22b51de22999b.tar.bz2 plus-102a7d4fe6e8874ad7dcdfe085a22b51de22999b.tar.xz plus-102a7d4fe6e8874ad7dcdfe085a22b51de22999b.zip |
add configure option --without-internalsdlgfx for not use emdedded sdl2gfx.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 910ffb9e7..b62844381 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -143,17 +143,19 @@ manaplus_CXXFLAGS += -DENABLE_CHECKS endif if USE_SDL2 +if USE_INTERNALSDLGFX dyecmd_CXXFLAGS += -I$(srcdir)/sdl2gfx -DUSE_SDL2 -dyecmd_SOURCES += sdl2gfx/SDL_framerate.c \ - sdl2gfx/SDL_framerate.h \ - sdl2gfx/SDL_rotozoom.c \ - sdl2gfx/SDL_rotozoom.h +dyecmd_SOURCES += sdl2gfx/SDL2_framerate.c \ + sdl2gfx/SDL2_framerate.h \ + sdl2gfx/SDL2_rotozoom.c \ + sdl2gfx/SDL2_rotozoom.h manaplus_CXXFLAGS += -I$(srcdir)/sdl2gfx -DUSE_SDL2 -manaplus_SOURCES += sdl2gfx/SDL_framerate.c \ - sdl2gfx/SDL_framerate.h \ - sdl2gfx/SDL_rotozoom.c \ - sdl2gfx/SDL_rotozoom.h +manaplus_SOURCES += sdl2gfx/SDL2_framerate.c \ + sdl2gfx/SDL2_framerate.h \ + sdl2gfx/SDL2_rotozoom.c \ + sdl2gfx/SDL2_rotozoom.h +endif endif if USE_INTERNALGUICHAN |