diff options
author | Emil Velikov <[email protected]> | 2013-11-01 18:58:27 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2013-11-16 16:29:28 +0000 |
commit | 7dac1b470a9c1c977f79ecc301407681e200bd1a (patch) | |
tree | 39c8b75ac8223811cf006c87658c1b131e75cb0f /src/gallium/drivers/r300 | |
parent | ad501a535ad731447587b259afe2ea9c0a0a02f5 (diff) |
gallium/drivers: compact compiler flags into Automake.inc
* minimise flags duplication
* distingush between VISIBILITY C and CXX flags
* set only required flags - C and/or CXX
v2: add LLVM_CFLAGS back to AM_CFLAGS (add missing backslash)
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/Makefile.am | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/gallium/drivers/r300/Makefile.am b/src/gallium/drivers/r300/Makefile.am index 9d660038010..8aa6707c175 100644 --- a/src/gallium/drivers/r300/Makefile.am +++ b/src/gallium/drivers/r300/Makefile.am @@ -3,21 +3,19 @@ AUTOMAKE_OPTIONS = subdir-objects include Makefile.sources include $(top_srcdir)/src/gallium/Automake.inc -noinst_LTLIBRARIES = libr300.la libr300-helper.la -check_PROGRAMS = r300_compiler_tests -TESTS = r300_compiler_tests - AM_CFLAGS = \ - -I$(top_srcdir)/src/gallium/drivers \ -I$(top_srcdir)/src/mesa/program \ -I$(top_srcdir)/src/mesa \ -I$(top_srcdir)/src/glsl \ -I$(top_srcdir)/src/mapi \ - $(VISIBILITY_CFLAGS) \ - $(GALLIUM_CFLAGS) \ + $(GALLIUM_DRIVER_CFLAGS) \ $(LLVM_CFLAGS) \ $(RADEON_CFLAGS) +noinst_LTLIBRARIES = libr300.la libr300-helper.la +check_PROGRAMS = r300_compiler_tests +TESTS = r300_compiler_tests + r300_compiler_tests_LDADD = libr300.la libr300-helper.la \ $(top_builddir)/src/gallium/auxiliary/libgallium.la \ $(GALLIUM_DRI_LIB_DEPS) |