gallium: Fix build with llvm installed in non-standard location
authorChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Fri, 11 Jun 2010 10:33:44 +0000 (20:33 +1000)
committerJakob Bornecrantz <jakob@vmware.com>
Fri, 23 Jul 2010 22:38:07 +0000 (23:38 +0100)
commit1874cb7e82a566079219a571d6a30a74581c611e
tree82d2d49f1df1b82493c594ec0db009bd2ca82eac
parentcf864fd58b2a4780482a108cd3ff86779e8fa965
gallium: Fix build with llvm installed in non-standard location

The es1, es2 and gl state trackers include draw_pipe.h, which includes
the llvm headers if MESA_LLVM is true, so we also need to add the
llvm seachpaths.

Similarly, gallivm and other gallium drivers need LLVM_CFLAGS to build when enabled.

Also fix xorg drivers, they didn't include LDFLAGS.
src/gallium/Makefile.template
src/gallium/targets/Makefile.xorg
src/mesa/Makefile