6 <!-- ================================================================= -->
7 <!-- OpenGL canvas library -->
8 <!-- ================================================================= -->
10 <set var=
"WXLIBGLDEP_CORE">
11 <if cond=
"MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('core')))
</if>
13 <set var=
"WXLIBGLDEP_BASE">
14 <if cond=
"MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('base')))
</if>
17 <dll id=
"gldll" template=
"wx_dll"
18 cond=
"SHARED=='1' and USE_GUI=='1' and USE_OPENGL=='1'">
19 <define>WXUSINGDLL
</define>
20 <define>WXMAKINGDLL_GL
</define>
21 <sources>$(OPENGL_SRC)
</sources>
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 <!-- link against the wxWin library in monolithic build: -->
27 <sys-lib>$(WXLIB_MONO)
</sys-lib>
29 <if cond=
"FORMAT=='autoconf'">
30 <ldflags>$(EXTRALIBS_OPENGL)
</ldflags>
34 <lib id=
"gllib" template=
"wx_lib"
35 cond=
"SHARED=='0' and USE_GUI=='1' and USE_OPENGL=='1'">
36 <sources>$(OPENGL_SRC)
</sources>