]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/files.bkl
more monobuild fixes
[wxWidgets.git] / build / bakefiles / files.bkl
index 2ff35a2b32fee9223368e7f762b9d1f416791bd2..06506792b9d570593df50377b49d475e68871730 100644 (file)
 </set>
 
 
 </set>
 
 
+<!-- ====================================================================== -->
+<!--                             OpenGL canvas                              -->
+<!-- ====================================================================== -->
+
+<set var="OPENGL_SRC">
+    <if cond="TOOLKIT=='MAC'">src/mac/glcanvas.cpp</if>
+    <if cond="TOOLKIT=='GTK'">src/gtk/glcanvas.cpp</if>
+    <if cond="TOOLKIT=='MSW'">src/msw/glcanvas.cpp</if>
+    <if cond="TOOLKIT=='MOTIF'">src/motif/glcanvas.cpp</if>
+    <if cond="TOOLKIT=='X11'">src/x11/glcanvas.cpp</if>
+</set>
+
+<set var="OPENGL_HDR">
+    <if cond="TOOLKIT=='MAC'">wx/mac/glcanvas.h</if>
+    <if cond="TOOLKIT=='GTK'">wx/gtk/glcanvas.h</if>
+    <if cond="TOOLKIT=='MSW'">wx/msw/glcanvas.h</if>
+    <if cond="TOOLKIT=='MOTIF'">wx/motif/glcanvas.h</if>
+    <if cond="TOOLKIT=='X11'">wx/x11/glcanvas.h</if>
+</set>
+
 
 
 <!-- ====================================================================== -->
 
 
 <!-- ====================================================================== -->
         </if>
     </set>
 
         </if>
     </set>
 
+
+    <set var="ALL_GUI_HEADERS">
+        <if cond="USE_GUI=='1' and WXUNIV=='0'">
+            $(GUI_CMN_HDR) $(LOWLEVEL_HDR) $(GUI_HDR)
+        </if>
+        <if cond="USE_GUI=='1' and WXUNIV=='1'">
+            $(GUI_CMN_HDR) $(LOWLEVEL_HDR) $(UNIV_HDR)
+        </if>
+    </set>
+    
     <set var="ALL_HEADERS">
         $(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)
     <set var="ALL_HEADERS">
         $(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)
-        $(GUI_CMN_HDR) $(GUI_HDR) $(LOWLEVEL_HDR)
+        $(ALL_GUI_HEADERS)
         $(HTML_HDR)
     </set>
 
         $(HTML_HDR)
     </set>