mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
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 <robh@kernel.org> Reviewed-by: Eric Anholt <eric@anholt.net> [Emil Velikov: Whitespace cleanup.] Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
fc1806e041
commit
7d79eec456
2 changed files with 15 additions and 8 deletions
|
|
@ -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)"' \
|
||||
|
|
|
|||
11
src/gbm/Makefile.sources
Normal file
11
src/gbm/Makefile.sources
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
Loading…
Add table
Reference in a new issue