OSDN Git Service

Add an "all" target alias for "default" target.
[android-x86/external-mesa.git] / src / mesa / drivers / dri / SConscript
1 Import('*')
2
3 drienv = env.Clone()
4
5 drienv.Replace(CPPPATH = [
6         '#src/mesa/drivers/dri/common',
7         '#include',
8         '#include/GL/internal',
9         '#src/mesa',
10         '#src/mesa/main',
11         '#src/mesa/glapi',
12         '#src/mesa/math',
13         '#src/mesa/transform',
14         '#src/mesa/shader',
15         '#src/mesa/swrast',
16         '#src/mesa/swrast_setup',
17         '#src/egl/main',
18         '#src/egl/drivers/dri',
19 ])
20
21 drienv.ParseConfig('pkg-config --cflags --libs libdrm')
22
23 COMMON_GALLIUM_SOURCES = [
24         '../common/utils.c',
25         '../common/vblank.c',
26         '../common/dri_util.c',
27         '../common/xmlconfig.c',
28 ]
29
30 COMMON_BM_SOURCES = [
31         '../common/dri_bufmgr.c',
32         '../common/dri_drmpool.c',
33 ]
34
35 Export([
36         'drienv',
37         'COMMON_GALLIUM_SOURCES',
38         'COMMON_BM_SOURCES',
39 ])
40
41 # TODO: Installation
42 #install: $(LIBNAME)
43 #       $(INSTALL) -d $(DRI_DRIVER_INSTALL_DIR)
44 #       $(INSTALL) -m 755 $(LIBNAME) $(DRI_DRIVER_INSTALL_DIR)
45
46 SConscript([
47         'intel_winsys/SConscript',
48 ])