6 <!-- ================================================================= -->
7 <!-- OpenGL canvas library -->
8 <!-- ================================================================= -->
10 <dll id="gldll" template="wx_dll"
11 cond="SHARED=='1' and USE_GUI=='1' and USE_OPENGL=='1'">
12 <define>WXUSINGDLL</define>
13 <define>WXMAKINGDLL_GL</define>
14 <sources>$(OPENGL_SRC)</sources>
16 <!-- link against base and core libs in multilib build: -->
17 <library>coredll</library>
18 <library>basedll</library>
19 <!-- link against the wxWin library in monolithic build: -->
20 <sys-lib>$(WXLIB_MONO)</sys-lib>
22 <if cond="FORMAT=='autoconf'">
23 <ldflags>$(OPENGL_LIBS)</ldflags>
27 <lib id="gllib" template="wx_lib"
28 cond="SHARED=='0' and USE_GUI=='1' and USE_OPENGL=='1'">
29 <sources>$(OPENGL_SRC)</sources>