st/osmesa: consolidate C sources list into Makefile.sources
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 22 Sep 2013 19:35:21 +0000 (20:35 +0100)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 1 Oct 2013 14:29:51 +0000 (07:29 -0700)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/state_trackers/osmesa/Makefile.am
src/gallium/state_trackers/osmesa/Makefile.sources [new file with mode: 0644]

index 318201200fadfb51da78c66e83e77cf1871465e1..4ba6c207498e95a381b3780d363ee9587967ad95 100644 (file)
@@ -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 (file)
index 0000000..f8008ef
--- /dev/null
@@ -0,0 +1,2 @@
+C_SOURCES := \
+       osmesa.c