wxWidgets/build/bakefiles/opengl.bkl

33 lines
1.0 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" ?>
<!-- $Id$ -->
<makefile>
<!-- ================================================================= -->
<!-- OpenGL canvas library -->
<!-- ================================================================= -->
<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: -->
<wx-lib>coredll</wx-lib>
<wx-lib>basedll</wx-lib>
<!-- link against the wxWin library in monolithic build: -->
<sys-lib>$(WXLIB_MONO)</sys-lib>
<if cond="FORMAT=='autoconf'">
<ldflags>$(OPENGL_LIBS)</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>