mapi: ENTRY_CURRENT_TABLE_GET should be stringified.
[mesa.git] / src / gallium / state_trackers / wgl / SConscript
1 import os
2
3 Import('*')
4
5 env = env.Clone()
6
7 env.Append(CPPPATH = [
8 '#src/mapi',
9 '#src/mesa',
10 '.',
11 ])
12
13 env.AppendUnique(CPPDEFINES = [
14 '_GDI32_', # prevent wgl* being declared __declspec(dllimport)
15 'BUILD_GL32', # declare gl* as __declspec(dllexport) in Mesa headers
16 'WIN32_LEAN_AND_MEAN', # http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx
17 ])
18
19 sources = [
20 'stw_context.c',
21 'stw_device.c',
22 'stw_ext_extensionsstring.c',
23 'stw_ext_gallium.c',
24 'stw_ext_pbuffer.c',
25 'stw_ext_pixelformat.c',
26 'stw_ext_swapinterval.c',
27 'stw_framebuffer.c',
28 'stw_getprocaddress.c',
29 'stw_pixelformat.c',
30 'stw_st.c',
31 'stw_tls.c',
32 'stw_wgl.c',
33 ]
34
35 wgl = env.ConvenienceLibrary(
36 target ='wgl',
37 source = sources,
38 )
39 Export('wgl')