1 ###################################
2 # SConcscript file for dri targets
11 drienv.Replace(CPPPATH = [
12 '#src/mesa/drivers/dri/common',
14 '#include/GL/internal',
16 '#src/gallium/include',
17 '#src/gallium/auxiliary',
18 '#src/gallium/drivers',
19 '#src/gallium/winsys',
24 '#src/mesa/transform',
27 '#src/mesa/swrast_setup',
29 '#src/egl/drivers/dri',
32 drienv.ParseConfig('pkg-config --cflags --libs libdrm')
34 dri_common_utils = drienv.SharedObject(
36 source = '#src/mesa/drivers/dri/common/utils.c'
39 dri_common_xmlconfig = drienv.SharedObject(
40 target = 'xmlconfig.o',
41 source = '#src/mesa/drivers/dri/common/xmlconfig.c'
44 dri_common_vblank = drienv.SharedObject(
46 source = '#src/mesa/drivers/dri/common/vblank.c'
49 dri_common_dri_util = drienv.SharedObject(
50 target = 'dri_util.o',
51 source = '#src/mesa/drivers/dri/common/dri_util.c'
54 dri_common_drisw_util = drienv.SharedObject(
55 target = 'drisw_util.o',
56 source = '#src/mesa/drivers/dri/common/drisw_util.c'
60 COMMON_DRI_SW_OBJECTS = [
63 dri_common_drisw_util,
66 COMMON_DRI_DRM_OBJECTS = [
73 drienv.AppendUnique(LIBS = [
79 'COMMON_DRI_SW_OBJECTS',
80 'COMMON_DRI_DRM_OBJECTS',