automake: convert libglsl
authorJon TURNEY <jon.turney@dronecode.org.uk>
Thu, 28 Jun 2012 22:15:48 +0000 (23:15 +0100)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Fri, 13 Jul 2012 11:43:41 +0000 (12:43 +0100)
commit68e04cc6014bf7a2c9bd0b3b783b4ec12aa2e824
tree41ca584f01c57b781d41d703f044f4452ba4e644
parent284325d97b3049e59e64daf784e2b3858f0ffcf5
automake: convert libglsl

v2: Use AM_V_GEN to silence generated code rules. Add BUILT_SOURCES to CLEANFILES
v3:
- Fix an accidental // in a path
- Use automake make rules for lex/yacc rather than writing our own
- Update .gitignore appropriately
- Build a libglcpp convenience library rather than awkwardly including
the files in libglsl and delegating the generation
- Remove libglsl.a compatibility link on clean
v4:
- Automake's rules for lex/yacc make .cc if source is .ll or .yy, and apparently we
must use those extensions "because of scons", so update everywhere glsl_parser.cpp
-> glsl_parser.cc and glsl_lexer.cpp -> glsl_lexer.cc. This fixes 'make tarballs'
and building with dricore enabled.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Matt Turner <mattst88@gmail.com>
Makefile.am
configure.ac
src/glsl/.gitignore
src/glsl/Makefile [deleted file]
src/glsl/Makefile.am [new file with mode: 0644]
src/glsl/Makefile.sources
src/glsl/glcpp/.gitignore
src/glsl/glcpp/Makefile.am [new file with mode: 0644]
src/glsl/tests/Makefile.am
src/mesa/drivers/osmesa/Makefile.am