st/gbm: consolidate C sources list into Makefile.sources
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 22 Sep 2013 19:33:45 +0000 (20:33 +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/gbm/Makefile.am
src/gallium/state_trackers/gbm/Makefile.sources [new file with mode: 0644]

index b113d0d03e540d0938c0a1845ee0ead84cde8f40..16f58d86f90ec1c4361a7a008afee0c8e27f82f7 100644 (file)
@@ -20,6 +20,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)
@@ -33,4 +34,4 @@ endif
 
 noinst_LTLIBRARIES = libgbm.la
 
-libgbm_la_SOURCES = gbm_drm.c
+libgbm_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/state_trackers/gbm/Makefile.sources b/src/gallium/state_trackers/gbm/Makefile.sources
new file mode 100644 (file)
index 0000000..41e2790
--- /dev/null
@@ -0,0 +1,2 @@
+C_SOURCES := \
+       gbm_drm.c