5 <!-- ================================================================= -->
6 <!-- OpenGL canvas library -->
7 <!-- ================================================================= -->
9 <set var=
"WXLIBGLDEP_CORE">
10 <if cond=
"MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('core')))
</if>
12 <set var=
"WXLIBGLDEP_BASE">
13 <if cond=
"MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('base')))
</if>
16 <dll id=
"gldll" template=
"wx_dll"
17 cond=
"SHARED=='1' and USE_GUI=='1' and USE_OPENGL=='1'">
18 <define>WXUSINGDLL
</define>
19 <define>WXMAKINGDLL_GL
</define>
20 <sources>$(OPENGL_SRC)
</sources>
21 <msvc-headers>$(OPENGL_HDR)
</msvc-headers>
23 <!-- link against base and core libs in multilib build: -->
24 <sys-lib>$(WXLIBGLDEP_CORE)
</sys-lib>
25 <sys-lib>$(WXLIBGLDEP_BASE)
</sys-lib>
26 <depends>basedll
</depends>
27 <depends>coredll
</depends>
28 <!-- link against the wxWin library in monolithic build: -->
29 <sys-lib>$(WXLIB_MONO)
</sys-lib>
30 <depends>monodll
</depends>
32 <ldlibs>$(EXTRALIBS_OPENGL)
</ldlibs>
35 <lib id=
"gllib" template=
"wx_lib"
36 cond=
"SHARED=='0' and USE_GUI=='1' and USE_OPENGL=='1'">
37 <sources>$(OPENGL_SRC)
</sources>
38 <msvc-headers>$(OPENGL_HDR)
</msvc-headers>
41 <wxshortcut id=
"wxgl" cond=
"USE_GUI=='1' and USE_OPENGL=='1'"/>