Skip to content
  • Jon Turney's avatar
    automake: convert libglsl · 68e04cc6
    Jon Turney authored
    
    
    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: default avatarJon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: default avatarEric Anholt <eric@anholt.net>
    Tested-by: default avatarMatt Turner <mattst88@gmail.com>
    68e04cc6