fixes for monolib build
[wxWidgets.git] / build / bakefiles / opengl.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <makefile>
5     
6     <!-- ================================================================= -->
7     <!--                         OpenGL canvas library                     -->
8     <!-- ================================================================= -->
9     
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>
15
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>
21
22         <if cond="FORMAT=='autoconf'">
23             <ldflags>$(OPENGL_LIBS)</ldflags>
24         </if>
25     </dll>
26     
27     <lib id="gllib" template="wx_lib"
28          cond="SHARED=='0' and USE_GUI=='1' and USE_OPENGL=='1'">
29         <sources>$(OPENGL_SRC)</sources>
30     </lib>
31
32 </makefile>