summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-04-13 14:29:49 -0400
committerTom Stellard <[email protected]>2012-04-17 09:54:02 -0400
commit6077b347ae72af548667cc06cfff99e7e12c6d9f (patch)
tree69a6f292952e747a6870f2a1b2c6810af60ee72b /src
parent35f2fb70d3826df70fa2f53af05339137cddefc8 (diff)
r600g: Use automake to generate Makefile
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/Makefile17
-rw-r--r--src/gallium/drivers/r600/Makefile.am17
2 files changed, 17 insertions, 17 deletions
diff --git a/src/gallium/drivers/r600/Makefile b/src/gallium/drivers/r600/Makefile
deleted file mode 100644
index e15e2ff2667..00000000000
--- a/src/gallium/drivers/r600/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-TOP = ../../../..
-include $(TOP)/configs/current
-
-LIBNAME = r600
-
-#This is for libdrm include path
-CFLAGS+=$(RADEON_CFLAGS)
-
-LIBRARY_INCLUDES = -I$(TOP)/include
-
-# get C_SOURCES
-include Makefile.sources
-
-include ../../Makefile.template
-
-# FIXME: Remove when this driver is converted to automake.
-all: default
diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am
new file mode 100644
index 00000000000..8acd36ac865
--- /dev/null
+++ b/src/gallium/drivers/r600/Makefile.am
@@ -0,0 +1,17 @@
+include Makefile.sources
+
+noinst_LIBRARIES = libr600.a
+
+AM_CFLAGS = \
+ -I$(top_srcdir)/src/gallium/include \
+ -I$(top_srcdir)/src/gallium/auxiliary \
+ -I$(top_srcdir)/src/gallium/drivers \
+ -I$(top_srcdir)/include \
+ $(RADEON_CFLAGS) \
+ $(DEFINES) \
+ $(ASM_FLAGS) \
+ $(PIC_FLAGS) \
+ $(VISIBILITY_CFLAGS)
+
+libr600_a_SOURCES = \
+ $(C_SOURCES)