summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-apis/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/egl-apis/SConscript')
-rw-r--r--src/gallium/targets/egl-apis/SConscript33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-apis/SConscript b/src/gallium/targets/egl-apis/SConscript
new file mode 100644
index 00000000000..0ca3d1fb9e5
--- /dev/null
+++ b/src/gallium/targets/egl-apis/SConscript
@@ -0,0 +1,33 @@
+#######################################################################
+# SConscript for egl-apis target
+
+Import('*')
+
+if env['platform'] == 'windows':
+
+ env = env.Clone()
+
+ env.Append(CPPPATH = [
+ '#/src/gallium/state_trackers/vega',
+ ])
+
+ env.Append(LIBS = [
+ 'gdi32',
+ 'user32',
+ 'kernel32',
+ 'ws2_32',
+ ])
+
+ env['no_import_lib'] = 1
+
+ api_libs = {
+ 'OpenVG': vgapi + st_vega,
+ }
+
+ for name in api_libs.keys():
+ api = env.SharedLibrary(
+ target = 'api_' + name,
+ source = ['api_' + name + '.c'],
+ LIBS = api_libs[name] + gallium + env['LIBS'],
+ )
+ env.InstallSharedLibrary(api)