Skip to content
  • Jon Turney's avatar
    automake: convert libglapi · b2a37e24
    Jon Turney authored
    
    
    * "configure substitutions are not allowed in _SOURCES variables" in automake,
    so remove the AC_SUBST'ed GLAPI_ASM_SOURCES and instead use some AM_CONDITIONALS
    to choose which asm sources are used
    
    * Change GLAPI_LIB to point to the .la file in other Makefile.am files, and make a link
    to the .a file for the convenience of other Makefiles which have not yet been converted
    to automake
    
    v2:
    - Use AM_CPPFLAGS for cleaner build output
    - EXTRA_SOURCES is not needed
    - Remove libglapi.a compatibility link on clean
    
    Signed-off-by: default avatarJon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: default avatarEric Anholt <eric@anholt.net>
    Tested-by: default avatarMatt Turner <mattst88@gmail.com>
    b2a37e24