[Mesa-dev] [PATCH 17/29] st/gbm: consolidate C sources list into Makefile.sources
Emil Velikov
emil.l.velikov at gmail.com
Sun Sep 22 13:29:40 PDT 2013
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/gallium/state_trackers/gbm/Makefile.am | 3 ++-
src/gallium/state_trackers/gbm/Makefile.sources | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
create mode 100644 src/gallium/state_trackers/gbm/Makefile.sources
diff --git a/src/gallium/state_trackers/gbm/Makefile.am b/src/gallium/state_trackers/gbm/Makefile.am
index b113d0d..16f58d8 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 0000000..41e2790
--- /dev/null
+++ b/src/gallium/state_trackers/gbm/Makefile.sources
@@ -0,0 +1,2 @@
+C_SOURCES := \
+ gbm_drm.c
--
1.8.4
More information about the mesa-dev
mailing list