sdl_gfx.mk 726 B

1234567891011121314151617181920212223242526
  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_INSTALL_STAGING:=YES
  10. SDL_GFX_INSTALL_TARGET:=YES
  11. SDL_GFX_DEPENDENCIES:=sdl
  12. SDL_GFX_CONF_OPT = \
  13. --with-sdl-prefix=$(STAGING_DIR)/usr \
  14. --disable-sdltest \
  15. --enable-static
  16. # enable mmx for newer x86's
  17. ifeq ($(BR2_i386)$(BR2_x86_i386)$(BR2_x86_i486)$(BR2_x86_i586)$(BR2_x86_pentiumpro)$(BR2_x86_geode),y)
  18. SDL_GFX_CONF_OPT += --enable-mmx
  19. else
  20. SDL_GFX_CONF_OPT += --disable-mmx
  21. endif
  22. $(eval $(call AUTOTARGETS,package,sdl_gfx))