34b08d2cf5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
40 lines
1.3 KiB
XML
40 lines
1.3 KiB
XML
<?xml version="1.0" ?>
|
|
<!-- $Id$ -->
|
|
|
|
<makefile>
|
|
|
|
<!-- ================================================================= -->
|
|
<!-- OpenGL canvas library -->
|
|
<!-- ================================================================= -->
|
|
|
|
<set var="WXLIBGLDEP_CORE">
|
|
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('core')))</if>
|
|
</set>
|
|
<set var="WXLIBGLDEP_BASE">
|
|
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('base')))</if>
|
|
</set>
|
|
|
|
<dll id="gldll" template="wx_dll"
|
|
cond="SHARED=='1' and USE_GUI=='1' and USE_OPENGL=='1'">
|
|
<define>WXUSINGDLL</define>
|
|
<define>WXMAKINGDLL_GL</define>
|
|
<sources>$(OPENGL_SRC)</sources>
|
|
|
|
<!-- link against base and core libs in multilib build: -->
|
|
<sys-lib>$(WXLIBGLDEP_CORE)</sys-lib>
|
|
<sys-lib>$(WXLIBGLDEP_BASE)</sys-lib>
|
|
<!-- link against the wxWin library in monolithic build: -->
|
|
<sys-lib>$(WXLIB_MONO)</sys-lib>
|
|
|
|
<if cond="FORMAT=='autoconf'">
|
|
<ldflags>$(EXTRALIBS_OPENGL)</ldflags>
|
|
</if>
|
|
</dll>
|
|
|
|
<lib id="gllib" template="wx_lib"
|
|
cond="SHARED=='0' and USE_GUI=='1' and USE_OPENGL=='1'">
|
|
<sources>$(OPENGL_SRC)</sources>
|
|
</lib>
|
|
|
|
</makefile>
|