st/dri/sw: 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:
committed by
Tom Stellard
parent
f9ddeac213
commit
edd11ece38
@@ -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_CPPFLAGS = \
|
||||
@@ -34,8 +35,4 @@ AM_CPPFLAGS = \
|
||||
|
||||
noinst_LTLIBRARIES = libdrisw.la
|
||||
|
||||
libdrisw_la_SOURCES = \
|
||||
dri_context.c \
|
||||
dri_screen.c \
|
||||
dri_drawable.c \
|
||||
drisw.c
|
||||
libdrisw_la_SOURCES = $(C_SOURCES)
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
C_SOURCES := \
|
||||
dri_context.c \
|
||||
dri_screen.c \
|
||||
dri_drawable.c \
|
||||
drisw.c
|
||||
@@ -15,15 +15,8 @@ env.Append(CPPPATH = [
|
||||
|
||||
env.Append(CPPDEFINES = [('__NOT_HAVE_DRM_H', '1')])
|
||||
|
||||
sources = [
|
||||
'dri_context.c',
|
||||
'dri_drawable.c',
|
||||
'dri_screen.c',
|
||||
'drisw.c',
|
||||
]
|
||||
|
||||
st_drisw = env.ConvenienceLibrary(
|
||||
target = 'st_drisw',
|
||||
source = sources,
|
||||
source = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
|
||||
)
|
||||
Export('st_drisw')
|
||||
|
||||
Reference in New Issue
Block a user