=?j?q?=5BPATCH=200/4=5D=20Convert=20Nouveau=20gallium=20drivers=20to=20automake?=
Trivial series to convert Nouveau gallium drivers to automake in order to generate Makefiles.
This is just the general direction in which the MESA buildsystem is moving. Aside from this it makes the "make" output a lot more readable and therefore helps to spot compiler warnings more easily.
Lucas Stach (4):
nouveau: use automake to generate Makefile
nv30: use automake to generate Makefile
nv50: use automake to generate Makefile
nvc0: use automake to generate Makefile
configure.ac | 4 ++++ src/gallium/drivers/nouveau/Makefile | 16 ---------------- src/gallium/drivers/nouveau/Makefile.am | 16 ++++++++++++++++ src/gallium/drivers/nv30/Makefile | 12 ------------ src/gallium/drivers/nv30/Makefile.am | 16 ++++++++++++++++ src/gallium/drivers/nv50/Makefile | 12 ------------ src/gallium/drivers/nv50/Makefile.am | 25 +++++++++++++++++++++++++ src/gallium/drivers/nvc0/Makefile | 12 ------------ src/gallium/drivers/nvc0/Makefile.am | 25 +++++++++++++++++++++++++ 9 Dateien geändert, 86 Zeilen hinzugefügt(+), 52 Zeilen entfernt(-) delete mode 100644 src/gallium/drivers/nouveau/Makefile create mode 100644 src/gallium/drivers/nouveau/Makefile.am delete mode 100644 src/gallium/drivers/nv30/Makefile create mode 100644 src/gallium/drivers/nv30/Makefile.am delete mode 100644 src/gallium/drivers/nv50/Makefile create mode 100644 src/gallium/drivers/nv50/Makefile.am delete mode 100644 src/gallium/drivers/nvc0/Makefile create mode 100644 src/gallium/drivers/nvc0/Makefile.am
Signature · 1 line
1.7.11.2
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
=?j?q?=5BPATCH=201/4=5D=20nouveau=3A=20use=20automake=20to=20generate=20Makefile?=
--- configure.ac | 1 + src/gallium/drivers/nouveau/Makefile | 16 ---------------- src/gallium/drivers/nouveau/Makefile.am | 16 ++++++++++++++++ 3 Dateien geändert, 17 Zeilen hinzugefügt(+), 16 Zeilen entfernt(-) delete mode 100644 src/gallium/drivers/nouveau/Makefile create mode 100644 src/gallium/drivers/nouveau/Makefile.am
configure.ac +1 -0
@@ -2129,6 +2129,7 @@ AC_CONFIG_FILES([configs/current src/gallium/auxiliary/pipe-loader/Makefile src/gallium/state_trackers/clover/Makefile src/gallium/drivers/Makefile + src/gallium/drivers/nouveau/Makefile src/gallium/drivers/r300/Makefile src/gallium/drivers/r600/Makefile src/gallium/targets/opencl/Makefile
src/gallium/drivers/nouveau/Makefile deleted +0 -16
@@ -1,16 +0,0 @@ -TOP = ../../../.. -include $(TOP)/configs/current - -LIBNAME = nouveau - -LIBRARY_INCLUDES = \ - $(LIBDRM_CFLAGS) \ - -I$(TOP)/src/gallium/drivers/nouveau/include - -LIBRARY_INCLUDES += $(shell $(PKG_CONFIG) libdrm libdrm_nouveau --cflags-only-I) -LIBRARY_DEFINES += $(shell $(PKG_CONFIG) libdrm libdrm_nouveau --cflags-only-other) - -# get C_SOURCES -include Makefile.sources - -include ../../Makefile.template
src/gallium/drivers/nouveau/Makefile.am new file +16 -0
@@ -0,0 +1,16 @@ +include Makefile.sources + +noinst_LIBRARIES = libnouveau.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) + +libnouveau_a_SOURCES = \ + $(C_SOURCES)
Signature · 1 line
1.7.11.2
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
A message that is not in the archive (sent off-list or not yet received): 1343951590-31439-1-git-send-email-dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org
=?j?q?=5BPATCH=202/4=5D=20nv30=3A=20use=20automake=20to=20generate=20Makefile?=
--- 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
configure.ac +1 -0
@@ -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
src/gallium/drivers/nv30/Makefile deleted +0 -12
@@ -1,12 +0,0 @@ -TOP = ../../../.. -include $(TOP)/configs/current - -LIBNAME = nv30 - -include Makefile.sources - -LIBRARY_INCLUDES = \ - $(LIBDRM_CFLAGS) - -include ../../Makefile.template -# DO NOT DELETE
src/gallium/drivers/nv30/Makefile.am new file +16 -0
@@ -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)
Signature · 1 line
1.7.11.2
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
=?j?q?=5BPATCH=203/4=5D=20nv50=3A=20use=20automake=20to=20generate=20Makefile?=
In reply to Lucas Stach--- configure.ac | 1 + src/gallium/drivers/nv50/Makefile | 12 ------------ src/gallium/drivers/nv50/Makefile.am | 25 +++++++++++++++++++++++++ 3 Dateien geändert, 26 Zeilen hinzugefügt(+), 12 Zeilen entfernt(-) delete mode 100644 src/gallium/drivers/nv50/Makefile create mode 100644 src/gallium/drivers/nv50/Makefile.am
configure.ac +1 -0
@@ -2131,6 +2131,7 @@ AC_CONFIG_FILES([configs/current src/gallium/drivers/Makefile src/gallium/drivers/nouveau/Makefile src/gallium/drivers/nv30/Makefile + src/gallium/drivers/nv50/Makefile src/gallium/drivers/r300/Makefile src/gallium/drivers/r600/Makefile src/gallium/targets/opencl/Makefile
src/gallium/drivers/nv50/Makefile deleted +0 -12
@@ -1,12 +0,0 @@ -TOP = ../../../.. -include $(TOP)/configs/current - -LIBNAME = nv50 - -# get C/CPP_SOURCES -include Makefile.sources - -LIBRARY_INCLUDES = \ - $(LIBDRM_CFLAGS) - -include ../../Makefile.template
src/gallium/drivers/nv50/Makefile.am new file +25 -0
@@ -0,0 +1,25 @@ +include Makefile.sources + +noinst_LIBRARIES = libnv50.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) + +AM_CXXFLAGS = \ + -I$(top_srcdir)/src/gallium/include \ + -I$(top_srcdir)/src/gallium/auxiliary \ + -I$(top_srcdir)/src/gallium/drivers \ + $(DEFINES) \ + $(PIC_FLAGS) \ + $(VISIBILITY_CFLAGS) + +libnv50_a_SOURCES = \ + $(C_SOURCES) \ + $(CPP_SOURCES)
Signature · 1 line
1.7.11.2
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
=?j?q?=5BPATCH=204/4=5D=20nvc0=3A=20use=20automake=20to=20generate=20Makefile?=
In reply to Lucas Stach--- configure.ac | 1 + src/gallium/drivers/nvc0/Makefile | 12 ------------ src/gallium/drivers/nvc0/Makefile.am | 25 +++++++++++++++++++++++++ 3 Dateien geändert, 26 Zeilen hinzugefügt(+), 12 Zeilen entfernt(-) delete mode 100644 src/gallium/drivers/nvc0/Makefile create mode 100644 src/gallium/drivers/nvc0/Makefile.am
configure.ac +1 -0
@@ -2132,6 +2132,7 @@ AC_CONFIG_FILES([configs/current src/gallium/drivers/nouveau/Makefile src/gallium/drivers/nv30/Makefile src/gallium/drivers/nv50/Makefile + src/gallium/drivers/nvc0/Makefile src/gallium/drivers/r300/Makefile src/gallium/drivers/r600/Makefile src/gallium/targets/opencl/Makefile
src/gallium/drivers/nvc0/Makefile deleted +0 -12
@@ -1,12 +0,0 @@ -TOP = ../../../.. -include $(TOP)/configs/current - -LIBNAME = nvc0 - -# get C/CPP_SOURCES -include Makefile.sources - -LIBRARY_INCLUDES = \ - $(LIBDRM_CFLAGS) - -include ../../Makefile.template
src/gallium/drivers/nvc0/Makefile.am new file +25 -0
@@ -0,0 +1,25 @@ +include Makefile.sources + +noinst_LIBRARIES = libnvc0.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) + +AM_CXXFLAGS = \ + -I$(top_srcdir)/src/gallium/include \ + -I$(top_srcdir)/src/gallium/auxiliary \ + -I$(top_srcdir)/src/gallium/drivers \ + $(DEFINES) \ + $(PIC_FLAGS) \ + $(VISIBILITY_CFLAGS) + +libnvc0_a_SOURCES = \ + $(C_SOURCES) \ + $(CPP_SOURCES)
Signature · 1 line
1.7.11.2
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [PATCH 0/4] Convert Nouveau gallium drivers to automake
In reply to Lucas StachQuoted 7 lines · Lucas Stach
Trivial series to convert Nouveau gallium drivers to automake in order to generate Makefiles.
This is just the general direction in which the MESA buildsystem is moving. Aside from this it makes the "make" output a lot more readable and therefore helps to spot compiler warnings more easily.
Quoted 6 lines
Lucas Stach (4):
nouveau: use automake to generateMakefile
nv30: use automake to generateMakefile
nv50: use automake to generateMakefile
nvc0: use automake to generateMakefile
Hi Lucas,
I haven't had time to clean up these patches[1] yet, but there are examples in that series of how to build both .a and .la libraries at the same time (see [PATCH 3/6] r300g: Build a libtool archive), which will make it easier to transition the gallium targets to automake. You may want to do the same with the nouveau builds.
-Tom
[1]
http://www.mail-archive.com/[email protected]/msg23538.html
Quoted 27 lines
configure.ac | 4 ++++ src/gallium/drivers/nouveau/Makefile | 16 ---------------- src/gallium/drivers/nouveau/Makefile.am | 16 ++++++++++++++++ src/gallium/drivers/nv30/Makefile | 12 ------------ src/gallium/drivers/nv30/Makefile.am | 16 ++++++++++++++++ src/gallium/drivers/nv50/Makefile | 12 ------------ src/gallium/drivers/nv50/Makefile.am | 25 +++++++++++++++++++++++++ src/gallium/drivers/nvc0/Makefile | 12 ------------ src/gallium/drivers/nvc0/Makefile.am | 25 +++++++++++++++++++++++++ 9 Dateien geändert, 86 Zeilen hinzugefügt(+), 52 Zeilen entfernt(-) delete mode 100644 src/gallium/drivers/nouveau/Makefile create mode 100644 src/gallium/drivers/nouveau/Makefile.am delete mode 100644 src/gallium/drivers/nv30/Makefile create mode 100644 src/gallium/drivers/nv30/Makefile.am delete mode 100644 src/gallium/drivers/nv50/Makefile create mode 100644 src/gallium/drivers/nv50/Makefile.am delete mode 100644 src/gallium/drivers/nvc0/Makefile create mode 100644 src/gallium/drivers/nvc0/Makefile.amSignature · 7 lines
1.7.11.2 _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev