aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2013-09-22 20:33:45 +0100
committerTom Stellard <[email protected]>2013-10-01 07:29:51 -0700
commit760c1a6e66149f95fa7108e81de46b1dc2ec2f19 (patch)
tree48e6f2409ac32ef1b9cddfd08e26c11f5c015c33 /src
parent4e9028b63818e7075fd3dc304e8ae3e8107b155f (diff)
st/gbm: consolidate C sources list into Makefile.sources
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/gbm/Makefile.am3
-rw-r--r--src/gallium/state_trackers/gbm/Makefile.sources2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/gbm/Makefile.am b/src/gallium/state_trackers/gbm/Makefile.am
index b113d0d03e5..16f58d86f90 100644
--- a/src/gallium/state_trackers/gbm/Makefile.am
+++ b/src/gallium/state_trackers/gbm/Makefile.am
@@ -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
index 00000000000..41e27903600
--- /dev/null
+++ b/src/gallium/state_trackers/gbm/Makefile.sources
@@ -0,0 +1,2 @@
+C_SOURCES := \
+ gbm_drm.c