]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/common_samples.bkl
use hand-written samples/Makefile.in
[wxWidgets.git] / build / bakefiles / common_samples.bkl
index 6d9d4aa53c1266d72d98327c79841dadabe08c74..4fd44dd3cd0c0a641a63f1289d53ccffc9a68f37 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
+                Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).$(WXSOVERSION[0]).r $(WXTOPDIR)samples/sample.r
             </if>
         </set>
     </if>
         <if cond="SHARED=='1'">WXUSINGDLL</if>
     </set>
     
-    <template id="wx_sample_b" template="wx">
+    <template id="wx_util_b" template="wx">
         <include>$(SRCDIR)</include>
-        <ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
         <define>$(DLLFLAG)</define>
     </template>
     
-    <template id="wx_sample" template="wx_sample_b">
+    <template id="wx_util" template="wx_util_b">
         <app-type>gui</app-type>
         <mac-res cond="FORMAT=='autoconf'">$(MACOSX_RESOURCES)</mac-res>
+        <win32-res>$(WXTOPDIR)samples/sample.rc</win32-res>
     </template>
     
-    <template id="wx_sample_console" template="wx_sample_b">
+    <template id="wx_util_console" template="wx_util_b">
         <app-type>console</app-type>
     </template>
+    
+    <template id="wx_sample" template="wx_util">
+        <ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
+    </template>
+    <template id="wx_sample_console" template="wx_util_console">
+        <ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
+    </template>
 
     
     <!-- =============================================================== -->