[Mesa-dev] [PATCH 19/29] st/osmesa: consolidate C sources list into Makefile.sources

Emil Velikov emil.l.velikov at gmail.com
Sun Sep 22 13:29:42 PDT 2013


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/state_trackers/osmesa/Makefile.am      | 4 ++--
 src/gallium/state_trackers/osmesa/Makefile.sources | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 src/gallium/state_trackers/osmesa/Makefile.sources

diff --git a/src/gallium/state_trackers/osmesa/Makefile.am b/src/gallium/state_trackers/osmesa/Makefile.am
index 3182012..4ba6c20 100644
--- a/src/gallium/state_trackers/osmesa/Makefile.am
+++ b/src/gallium/state_trackers/osmesa/Makefile.am
@@ -19,6 +19,7 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 # DEALINGS IN THE SOFTWARE.
 
+include Makefile.sources
 include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = $(GALLIUM_CFLAGS)
@@ -37,5 +38,4 @@ AM_CPPFLAGS = \
 
 noinst_LTLIBRARIES = libosmesa.la
 
-libosmesa_la_SOURCES = \
-	osmesa.c
+libosmesa_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/state_trackers/osmesa/Makefile.sources b/src/gallium/state_trackers/osmesa/Makefile.sources
new file mode 100644
index 0000000..f8008ef
--- /dev/null
+++ b/src/gallium/state_trackers/osmesa/Makefile.sources
@@ -0,0 +1,2 @@
+C_SOURCES := \
+	osmesa.c
-- 
1.8.4



More information about the mesa-dev mailing list