]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" ?> | |
2 | ||
3 | <makefile> | |
4 | ||
5 | <!-- ================================================================= --> | |
6 | <!-- OpenGL canvas library --> | |
7 | <!-- ================================================================= --> | |
8 | ||
9 | <set var="WXLIBGLDEP_CORE"> | |
10 | <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('core')))</if> | |
11 | </set> | |
12 | <set var="WXLIBGLDEP_BASE"> | |
13 | <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('base')))</if> | |
14 | </set> | |
15 | ||
16 | <dll id="gldll" template="wx_dll" | |
17 | cond="SHARED=='1' and USE_GUI=='1' and USE_OPENGL=='1'"> | |
18 | <define>WXUSINGDLL</define> | |
19 | <define>WXMAKINGDLL_GL</define> | |
20 | <sources>$(OPENGL_SRC)</sources> | |
21 | <msvc-headers>$(OPENGL_HDR)</msvc-headers> | |
22 | ||
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 | <depends>basedll</depends> | |
27 | <depends>coredll</depends> | |
28 | <!-- link against the wxWin library in monolithic build: --> | |
29 | <sys-lib>$(WXLIB_MONO)</sys-lib> | |
30 | <depends>monodll</depends> | |
31 | ||
32 | <ldlibs>$(EXTRALIBS_OPENGL)</ldlibs> | |
33 | </dll> | |
34 | ||
35 | <lib id="gllib" template="wx_lib" | |
36 | cond="SHARED=='0' and USE_GUI=='1' and USE_OPENGL=='1'"> | |
37 | <sources>$(OPENGL_SRC)</sources> | |
38 | <msvc-headers>$(OPENGL_HDR)</msvc-headers> | |
39 | </lib> | |
40 | ||
41 | <wxshortcut id="wxgl" cond="USE_GUI=='1' and USE_OPENGL=='1'"/> | |
42 | ||
43 | </makefile> |