added opengl.bkl
[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         <library>coredll</library>
16         <library>basedll</library>
17
18         <if cond="FORMAT=='autoconf'">
19             <ldflags>$(OPENGL_LIBS)</ldflags>
20         </if>
21     </dll>
22     
23     <lib id="gllib" template="wx_lib"
24          cond="SHARED=='0' and USE_GUI=='1' and USE_OPENGL=='1'">
25         <sources>$(OPENGL_SRC)</sources>
26     </lib>
27
28 </makefile>