automake: convert libglapi
authorJon TURNEY <jon.turney@dronecode.org.uk>
Fri, 29 Jun 2012 17:09:37 +0000 (18:09 +0100)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Fri, 13 Jul 2012 11:44:07 +0000 (12:44 +0100)
commitb2a37e242ea60fde6d616814a30b89325875d0df
treee1b3080f675b836e6d8eab38259f0354accb788e
parent1e48dfeee6007b87b45cb3817aa375aa46e9c249
automake: convert libglapi

* "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: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Matt Turner <mattst88@gmail.com>
configs/current.in
configure.ac
src/egl/main/Makefile.am
src/glx/Makefile.am
src/mapi/glapi/.gitignore
src/mapi/glapi/Makefile [deleted file]
src/mapi/glapi/Makefile.am [new file with mode: 0644]
src/mapi/glapi/tests/Makefile.am
src/mesa/drivers/osmesa/Makefile.am
src/mesa/drivers/x11/Makefile.am