]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/opengl.bkl
added library target to regen only lib makefiles
[wxWidgets.git] / build / bakefiles / opengl.bkl
CommitLineData
957130ca
VS
1<?xml version="1.0" ?>
2<!-- $Id$ -->
3
4<makefile>
5
6 <!-- ================================================================= -->
7 <!-- OpenGL canvas library -->
8 <!-- ================================================================= -->
9
34b08d2c
VS
10 <set var="WXLIBGLDEP_CORE">
11 <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('core')))</if>
12 </set>
13 <set var="WXLIBGLDEP_BASE">
14 <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('base')))</if>
15 </set>
16
957130ca
VS
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>
496d012a
VS
22
23 <!-- link against base and core libs in multilib build: -->
34b08d2c
VS
24 <sys-lib>$(WXLIBGLDEP_CORE)</sys-lib>
25 <sys-lib>$(WXLIBGLDEP_BASE)</sys-lib>
496d012a
VS
26 <!-- link against the wxWin library in monolithic build: -->
27 <sys-lib>$(WXLIB_MONO)</sys-lib>
957130ca
VS
28
29 <if cond="FORMAT=='autoconf'">
34b08d2c 30 <ldflags>$(EXTRALIBS_OPENGL)</ldflags>
957130ca 31 </if>
d6a6b744
VS
32 <!-- system libraries on windows: -->
33 <if cond="FORMAT!='autoconf'">
34 <if cond="COMPILER=='wat' or COMPILER=='gcc'">
35 <sys-lib>opengl32</sys-lib>
36 <sys-lib>glu32</sys-lib>
37 </if>
38 </if>
957130ca
VS
39 </dll>
40
41 <lib id="gllib" template="wx_lib"
42 cond="SHARED=='0' and USE_GUI=='1' and USE_OPENGL=='1'">
43 <sources>$(OPENGL_SRC)</sources>
44 </lib>
45
46</makefile>