Commit 7d79eec4 authored by Rob Herring's avatar Rob Herring Committed by Emil Velikov

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's avatarRob Herring <robh@kernel.org>
Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>

[Emil Velikov: Whitespace cleanup.]
Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
parent fc1806e0
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)"' \
......
gbm_core_FILES = \
main/backend.c \
main/backend.h \
main/common_drm.h \
main/gbm.c \
main/gbm.h \
main/gbmint.h
gbm_dri_FILES = \
backends/dri/gbm_dri.c \
backends/dri/gbm_driint.h
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment