]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/common_samples.bkl
initial creation invisible
[wxWidgets.git] / build / bakefiles / common_samples.bkl
index ce049f7410fcfb12b0ba22eac384ed456bf833e0..f9a5e3da58fdfc1d5f67af4bf2131994c63e9951 100644 (file)
@@ -13,7 +13,7 @@
     <if cond="FORMAT=='autoconf'">
         <set var="MACOSX_RESOURCES">
             <if cond="TOOLKIT=='MAC'">
-                Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).$(WXSOVERSION[0]).r $(SRCDIR)/$(WXTOPDIR)samples/sample.r
+                Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).$(WXSOVERSION[0]).r sample.r
             </if>
         </set>
     </if>
@@ -30,7 +30,7 @@
     <template id="wx_util" template="wx_util_b">
         <app-type>gui</app-type>
         <mac-res cond="FORMAT=='autoconf'">$(MACOSX_RESOURCES)</mac-res>
-        <include>$(WXTOPDIR)samples</include> <!-- for .rc files -->
+        <include>$(SRCDIR)/$(WXTOPDIR)samples</include> <!-- for .rc files -->
         <win32-res>$(WXTOPDIR)samples/sample.rc</win32-res>
     </template>
     
@@ -40,6 +40,7 @@
     
     <template id="wx_sample" template="wx_util">
         <if cond="FORMAT=='autoconf'">
+            <wx-mac-app-bundle/>
             <ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
             <__command>$(LF)$(SAMPLES_RPATH_POSTLINK)</__command>
         </if>
@@ -78,4 +79,8 @@
         -->
     </define-rule>
 
+    <if cond="FORMAT=='autoconf'">
+        <include file="mac_bundles.bkl"/>
+    </if>
+
 </makefile>