mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02: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
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = main/gbm.pc
|
pkgconfig_DATA = main/gbm.pc
|
||||||
|
|
||||||
|
|
@ -15,12 +17,7 @@ lib_LTLIBRARIES = libgbm.la
|
||||||
include_HEADERS = main/gbm.h
|
include_HEADERS = main/gbm.h
|
||||||
|
|
||||||
libgbm_la_SOURCES = \
|
libgbm_la_SOURCES = \
|
||||||
main/backend.c \
|
$(gbm_core_FILES)
|
||||||
main/backend.h \
|
|
||||||
main/common_drm.h \
|
|
||||||
main/gbm.c \
|
|
||||||
main/gbm.h \
|
|
||||||
main/gbmint.h
|
|
||||||
|
|
||||||
libgbm_la_LDFLAGS = \
|
libgbm_la_LDFLAGS = \
|
||||||
-no-undefined \
|
-no-undefined \
|
||||||
|
|
@ -40,8 +37,7 @@ endif
|
||||||
|
|
||||||
if HAVE_DRI2
|
if HAVE_DRI2
|
||||||
libgbm_la_SOURCES += \
|
libgbm_la_SOURCES += \
|
||||||
backends/dri/gbm_dri.c \
|
$(gbm_dri_FILES)
|
||||||
backends/dri/gbm_driint.h
|
|
||||||
|
|
||||||
AM_CFLAGS += \
|
AM_CFLAGS += \
|
||||||
-DDEFAULT_DRIVER_DIR='"$(DRI_DRIVER_SEARCH_DIR)"' \
|
-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