summaryrefslogtreecommitdiffstats
path: root/src/gbm/Makefile.am
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2016-05-03 21:02:40 -0500
committerEmil Velikov <[email protected]>2016-05-23 12:07:46 +0100
commit7d79eec4561b992ab2e007a67ffd1c34beb60f5d (patch)
tree710a323c6367d53ce293dc4273b8b1c93c181f33 /src/gbm/Makefile.am
parentfc1806e041b4ce93ab9b5710164bf96d725437ba (diff)
gbm: split out source file to Makefile.sources
In preparation to add Android build support, split out the source file lists to Makefile.sources Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Eric Anholt <[email protected]> [Emil Velikov: Whitespace cleanup.] Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gbm/Makefile.am')
-rw-r--r--src/gbm/Makefile.am12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am
index 9ec6ea032ff..45fb762620a 100644
--- a/src/gbm/Makefile.am
+++ b/src/gbm/Makefile.am
@@ -1,3 +1,5 @@
+include Makefile.sources
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = main/gbm.pc
@@ -15,12 +17,7 @@ lib_LTLIBRARIES = libgbm.la
include_HEADERS = main/gbm.h
libgbm_la_SOURCES = \
- main/backend.c \
- main/backend.h \
- main/common_drm.h \
- main/gbm.c \
- main/gbm.h \
- main/gbmint.h
+ $(gbm_core_FILES)
libgbm_la_LDFLAGS = \
-no-undefined \
@@ -40,8 +37,7 @@ endif
if HAVE_DRI2
libgbm_la_SOURCES += \
- backends/dri/gbm_dri.c \
- backends/dri/gbm_driint.h
+ $(gbm_dri_FILES)
AM_CFLAGS += \
-DDEFAULT_DRIVER_DIR='"$(DRI_DRIVER_SEARCH_DIR)"' \