r300g: Use gallium automake include file
authorTom Stellard <tstellar@gmail.com>
Fri, 24 Aug 2012 18:42:35 +0000 (11:42 -0700)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Thu, 10 Jan 2013 21:01:06 +0000 (22:01 +0100)
[mattst88] v2: Remove ARCH_FLAGS/OPT_FLAGS

src/gallium/drivers/r300/Makefile.am

index 020134985bf314fedf84dbd2b56573c2d73a7945..adf3bc380083a3fb043cb5dbbee7d93cb098ac5f 100644 (file)
@@ -1,4 +1,5 @@
 include Makefile.sources
+include $(top_srcdir)/src/gallium/Automake.inc
 
 noinst_LIBRARIES = libr300.a
 check_PROGRAMS = r300_compiler_tests
@@ -6,18 +7,15 @@ testdir = compiler/tests
 TESTS = r300_compiler_tests
 
 AM_CFLAGS = \
-       -I$(top_srcdir)/src/gallium/include \
-       -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/gallium/drivers \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/mesa \
        -I$(top_srcdir)/src/glsl \
        -I$(top_srcdir)/src/mapi \
        $(VISIBILITY_CFLAGS) \
+       $(GALLIUM_CFLAGS) \
        $(LLVM_CFLAGS) \
-       $(RADEON_CFLAGS) \
-       $(DEFINES) \
-       $(PIC_FLAGS)
+       $(RADEON_CFLAGS)
 
 libr300_a_SOURCES = \
        $(C_SOURCES) \