2003-07-17 04:01:49 -04:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<!-- $Id$ -->
|
|
|
|
|
|
|
|
<makefile>
|
|
|
|
|
|
|
|
<!-- ================================================================= -->
|
|
|
|
<!-- OpenGL canvas library -->
|
|
|
|
<!-- ================================================================= -->
|
|
|
|
|
2003-07-17 09:16:24 -04:00
|
|
|
<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>
|
|
|
|
|
2003-07-17 04:01:49 -04:00
|
|
|
<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>
|
2003-07-27 05:50:55 -04:00
|
|
|
<msvc-headers>$(OPENGL_HDR)</msvc-headers>
|
2003-07-17 04:55:11 -04:00
|
|
|
|
|
|
|
<!-- link against base and core libs in multilib build: -->
|
2003-07-17 09:16:24 -04:00
|
|
|
<sys-lib>$(WXLIBGLDEP_CORE)</sys-lib>
|
|
|
|
<sys-lib>$(WXLIBGLDEP_BASE)</sys-lib>
|
2003-08-28 15:59:30 -04:00
|
|
|
<depends>basedll</depends>
|
|
|
|
<depends>coredll</depends>
|
2003-07-17 04:55:11 -04:00
|
|
|
<!-- link against the wxWin library in monolithic build: -->
|
|
|
|
<sys-lib>$(WXLIB_MONO)</sys-lib>
|
2003-07-17 04:01:49 -04:00
|
|
|
|
|
|
|
<if cond="FORMAT=='autoconf'">
|
2003-07-17 09:16:24 -04:00
|
|
|
<ldflags>$(EXTRALIBS_OPENGL)</ldflags>
|
2003-07-17 04:01:49 -04:00
|
|
|
</if>
|
2003-07-17 12:03:39 -04:00
|
|
|
<!-- system libraries on windows: -->
|
|
|
|
<if cond="FORMAT!='autoconf'">
|
|
|
|
<if cond="COMPILER=='wat' or COMPILER=='gcc'">
|
|
|
|
<sys-lib>opengl32</sys-lib>
|
|
|
|
<sys-lib>glu32</sys-lib>
|
|
|
|
</if>
|
|
|
|
</if>
|
2003-07-17 04:01:49 -04:00
|
|
|
</dll>
|
|
|
|
|
|
|
|
<lib id="gllib" template="wx_lib"
|
|
|
|
cond="SHARED=='0' and USE_GUI=='1' and USE_OPENGL=='1'">
|
|
|
|
<sources>$(OPENGL_SRC)</sources>
|
2003-07-27 05:50:55 -04:00
|
|
|
<msvc-headers>$(OPENGL_HDR)</msvc-headers>
|
2003-07-17 04:01:49 -04:00
|
|
|
</lib>
|
|
|
|
|
|
|
|
</makefile>
|