summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/SConscript
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-05-31 12:38:21 +0800
committerChia-I Wu <[email protected]>2010-05-31 13:28:01 +0800
commite5b5d84e8a87a5603a84f8c4625592a278bcf9af (patch)
treea5d482b763b9844676445bcaa469fb6f65bad3ee /src/gallium/state_trackers/vega/SConscript
parenta2f311530790d7499cec3ee22132d7f391c850f3 (diff)
st/vega: Use SConscript for Windows build.
Fix several portability issues and add SConscript for Windows build.
Diffstat (limited to 'src/gallium/state_trackers/vega/SConscript')
-rw-r--r--src/gallium/state_trackers/vega/SConscript51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/SConscript b/src/gallium/state_trackers/vega/SConscript
new file mode 100644
index 00000000000..548053eb646
--- /dev/null
+++ b/src/gallium/state_trackers/vega/SConscript
@@ -0,0 +1,51 @@
+#######################################################################
+# SConscript for vega state_tracker
+
+Import('*')
+
+if 'egl' in env['statetrackers']:
+
+ env = env.Clone()
+
+ env.Append(CPPPATH = [
+ '#/src/mapi',
+ ])
+
+ vega_sources = [
+ 'api.c',
+ 'api_context.c',
+ 'api_filters.c',
+ 'api_images.c',
+ 'api_masks.c',
+ 'api_misc.c',
+ 'api_paint.c',
+ 'api_params.c',
+ 'api_path.c',
+ 'api_text.c',
+ 'api_transform.c',
+ 'vgu.c',
+ 'vg_context.c',
+ 'vg_manager.c',
+ 'vg_state.c',
+ 'vg_translate.c',
+ 'polygon.c',
+ 'bezier.c',
+ 'path.c',
+ 'paint.c',
+ 'arc.c',
+ 'image.c',
+ 'renderer.c',
+ 'stroker.c',
+ 'mask.c',
+ 'shader.c',
+ 'shaders_cache.c',
+ ]
+
+ # vgapi_header must be generated first
+ env.Depends(vega_sources, vgapi_header)
+
+ st_vega = env.ConvenienceLibrary(
+ target = 'st_vega',
+ source = vega_sources,
+ )
+ Export('st_vega')