[Nouveau] =?j?q?=5BPATCH=202/4=5D=20nv30=3A=20use=20automake=20to=20generate=20Makefile?=

Lucas Stach dev at lynxeye.de
Thu Aug 2 16:53:08 PDT 2012


---
 configure.ac                         |  1 +
 src/gallium/drivers/nv30/Makefile    | 12 ------------
 src/gallium/drivers/nv30/Makefile.am | 16 ++++++++++++++++
 3 Dateien geändert, 17 Zeilen hinzugefügt(+), 12 Zeilen entfernt(-)
 delete mode 100644 src/gallium/drivers/nv30/Makefile
 create mode 100644 src/gallium/drivers/nv30/Makefile.am

diff --git a/configure.ac b/configure.ac
index d1fc0f3..59b4b68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2130,6 +2130,7 @@ AC_CONFIG_FILES([configs/current
 		src/gallium/state_trackers/clover/Makefile
 		src/gallium/drivers/Makefile
 		src/gallium/drivers/nouveau/Makefile
+		src/gallium/drivers/nv30/Makefile
 		src/gallium/drivers/r300/Makefile
 		src/gallium/drivers/r600/Makefile
 		src/gallium/targets/opencl/Makefile
diff --git a/src/gallium/drivers/nv30/Makefile b/src/gallium/drivers/nv30/Makefile
deleted file mode 100644
index de521aa..0000000
--- a/src/gallium/drivers/nv30/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-TOP = ../../../..
-include $(TOP)/configs/current
-
-LIBNAME = nv30
-
-include Makefile.sources
-
-LIBRARY_INCLUDES = \
-	$(LIBDRM_CFLAGS)
-
-include ../../Makefile.template
-# DO NOT DELETE
diff --git a/src/gallium/drivers/nv30/Makefile.am b/src/gallium/drivers/nv30/Makefile.am
new file mode 100644
index 0000000..e4034168
--- /dev/null
+++ b/src/gallium/drivers/nv30/Makefile.am
@@ -0,0 +1,16 @@
+include Makefile.sources
+
+noinst_LIBRARIES = libnv30.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 \
+	$(NOUVEAU_CFLAGS) \
+	$(DEFINES) \
+	$(PIC_FLAGS) \
+	$(VISIBILITY_CFLAGS)
+
+libnv30_a_SOURCES = \
+	$(C_SOURCES)
\ No newline at end of file
-- 
1.7.11.2



More information about the Nouveau mailing list