mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-26 13:17:47 +00:00
galahad: consolidate C sources list into Makefile.sources
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
parent
38d80c01d0
commit
1918c37008
@ -2003,6 +2003,7 @@ AC_CONFIG_FILES([Makefile
|
||||
src/gallium/drivers/freedreno/Makefile
|
||||
src/gallium/drivers/freedreno/a2xx/Makefile
|
||||
src/gallium/drivers/freedreno/a3xx/Makefile
|
||||
src/gallium/drivers/galahad/Makefile
|
||||
src/gallium/drivers/i915/Makefile
|
||||
src/gallium/drivers/identity/Makefile
|
||||
src/gallium/drivers/ilo/Makefile
|
||||
|
@ -1,26 +1,7 @@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src/gallium/include \
|
||||
-I$(top_srcdir)/src/gallium/auxiliary \
|
||||
-I$(top_srcdir)/src/gallium/drivers \
|
||||
$(DEFINES)
|
||||
|
||||
AM_CFLAGS = $(VISIBILITY_CFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES =
|
||||
|
||||
SUBDIRS = . identity noop trace rbug
|
||||
|
||||
################################################################################
|
||||
|
||||
noinst_LTLIBRARIES += galahad/libgalahad.la
|
||||
|
||||
galahad_libgalahad_la_SOURCES = \
|
||||
galahad/glhd_objects.c \
|
||||
galahad/glhd_context.c \
|
||||
galahad/glhd_screen.c
|
||||
SUBDIRS = . galahad identity noop trace rbug
|
||||
|
||||
################################################################################
|
||||
|
||||
|
16
src/gallium/drivers/galahad/Makefile.am
Normal file
16
src/gallium/drivers/galahad/Makefile.am
Normal file
@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
|
||||
# Meta-driver which combines whichever software rasterizers have been
|
||||
# built into a single convenience library.
|
||||
|
||||
include Makefile.sources
|
||||
include $(top_srcdir)/src/gallium/Automake.inc
|
||||
|
||||
AM_CFLAGS = \
|
||||
-I$(top_srcdir)/src/gallium/drivers \
|
||||
$(GALLIUM_CFLAGS) \
|
||||
$(VISIBILITY_CFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libgalahad.la
|
||||
|
||||
libgalahad_la_SOURCES = $(C_SOURCES)
|
4
src/gallium/drivers/galahad/Makefile.sources
Normal file
4
src/gallium/drivers/galahad/Makefile.sources
Normal file
@ -0,0 +1,4 @@
|
||||
C_SOURCES := \
|
||||
glhd_objects.c \
|
||||
glhd_context.c \
|
||||
glhd_screen.c
|
@ -4,11 +4,8 @@ env = env.Clone()
|
||||
|
||||
galahad = env.ConvenienceLibrary(
|
||||
target = 'galahad',
|
||||
source = [
|
||||
'glhd_context.c',
|
||||
'glhd_objects.c',
|
||||
'glhd_screen.c',
|
||||
])
|
||||
source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
|
||||
)
|
||||
|
||||
env.Alias('galahad', galahad)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user