2
1

sdl_gfx.mk 752 B

123456789101112131415161718192021222324252627
  1. #############################################################
  2. #
  3. # SDL_gfx addon for SDL
  4. #
  5. #############################################################
  6. SDL_GFX_VERSION:=2.0.19
  7. SDL_GFX_SOURCE:=SDL_gfx-$(SDL_GFX_VERSION).tar.gz
  8. SDL_GFX_SITE:=http://www.ferzkopp.net/Software/SDL_gfx-2.0/
  9. SDL_GFX_LIBTOOL_PATCH:=NO
  10. SDL_GFX_INSTALL_STAGING:=YES
  11. SDL_GFX_INSTALL_TARGET:=YES
  12. SDL_GFX_DEPENDENCIES:=sdl
  13. SDL_GFX_CONF_OPT = \
  14. --with-sdl-prefix=$(STAGING_DIR)/usr \
  15. --disable-sdltest \
  16. --enable-static
  17. # enable mmx for newer x86's
  18. ifeq ($(BR2_i386)$(BR2_x86_i386)$(BR2_x86_i486)$(BR2_x86_i586)$(BR2_x86_pentiumpro)$(BR2_x86_geode),y)
  19. SDL_GFX_CONF_OPT += --enable-mmx
  20. else
  21. SDL_GFX_CONF_OPT += --disable-mmx
  22. endif
  23. $(eval $(call AUTOTARGETS,package,sdl_gfx))