]> git.saurik.com Git - wxWidgets.git/commitdiff
added opengl.bkl
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jul 2003 08:01:49 +0000 (08:01 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jul 2003 08:01:49 +0000 (08:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/opengl.bkl [new file with mode: 0644]

diff --git a/build/bakefiles/opengl.bkl b/build/bakefiles/opengl.bkl
new file mode 100644 (file)
index 0000000..6ecbe83
--- /dev/null
@@ -0,0 +1,28 @@
+<?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>
+        <library>coredll</library>
+        <library>basedll</library>
+
+        <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>