]> git.saurik.com Git - wxWidgets.git/commitdiff
don't build flash and mfc samples with non-MSVC compilers (closes #10622)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 21 Mar 2009 15:39:15 +0000 (15:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 21 Mar 2009 15:39:15 +0000 (15:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/makefile.bcc
samples/makefile.gcc
samples/makefile.wat
samples/samples.bkl

index 94404d517add2a3d84a00d07d3418f85d43e6311..c78943370d8b3a1a5d82e326e049031ede6ba7bd 100644 (file)
@@ -334,14 +334,6 @@ clean:
        @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>wrapsizer.bat
        call wrapsizer.bat
        @del wrapsizer.bat
-       @echo cd flash >flash.bat
-       @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>flash.bat
-       call flash.bat
-       @del flash.bat
-       @echo cd mfc >mfc.bat
-       @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>mfc.bat
-       call mfc.bat
-       @del mfc.bat
        @echo cd memcheck >memcheck.bat
        @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>memcheck.bat
        call memcheck.bat
@@ -773,18 +765,6 @@ wrapsizer:
        call wrapsizer.bat
        @del wrapsizer.bat
 
-flash: 
-       @echo cd flash >flash.bat
-       @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>flash.bat
-       call flash.bat
-       @del flash.bat
-
-mfc: 
-       @echo cd mfc >mfc.bat
-       @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>mfc.bat
-       call mfc.bat
-       @del mfc.bat
-
 memcheck: 
        @echo cd memcheck >memcheck.bat
        @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>memcheck.bat
index 3d26542e14de3391310bee437e20559599d0bfeb..b676a27c07ec860e70836020a7c57a3fd73ab4a7 100644 (file)
@@ -111,8 +111,6 @@ clean:
        $(MAKE) -C widgets -f makefile.gcc $(MAKEARGS) clean
        $(MAKE) -C wizard -f makefile.gcc $(MAKEARGS) clean
        $(MAKE) -C wrapsizer -f makefile.gcc $(MAKEARGS) clean
-       $(MAKE) -C flash -f makefile.gcc $(MAKEARGS) clean
-       $(MAKE) -C mfc -f makefile.gcc $(MAKEARGS) clean
        $(MAKE) -C memcheck -f makefile.gcc $(MAKEARGS) clean
 
 access: 
@@ -328,12 +326,6 @@ wizard:
 wrapsizer: 
        $(MAKE) -C wrapsizer -f makefile.gcc $(MAKEARGS) all
 
-flash: 
-       $(MAKE) -C flash -f makefile.gcc $(MAKEARGS) all
-
-mfc: 
-       $(MAKE) -C mfc -f makefile.gcc $(MAKEARGS) all
-
 memcheck: 
        $(MAKE) -C memcheck -f makefile.gcc $(MAKEARGS) all
 
@@ -343,7 +335,7 @@ memcheck:
        keyboard layout listctrl mdi mediaplayer menu minimal nativdlg notebook oleauto \
        opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll \
        shaped sockets sound splash splitter statbar stc taskbar text thread toolbar \
-       treectrl typetest validate vscroll widgets wizard wrapsizer flash mfc memcheck
+       treectrl typetest validate vscroll widgets wizard wrapsizer memcheck
 
 
 SHELL := $(COMSPEC)
index fb09d259e846d079ae551bf6f334e5ae7ff0ab8c..61b06d4b6d374cfd420192b4a2a55f98fa6164a2 100644 (file)
@@ -269,12 +269,6 @@ clean : .SYMBOLIC
        cd wrapsizer
        wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
        cd $(WATCOM_CWD)
-       cd flash
-       wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
-       cd $(WATCOM_CWD)
-       cd mfc
-       wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
-       cd $(WATCOM_CWD)
        cd memcheck
        wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
        cd $(WATCOM_CWD)
@@ -634,16 +628,6 @@ wrapsizer : .SYMBOLIC
        wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
        cd $(WATCOM_CWD)
 
-flash : .SYMBOLIC 
-       cd flash
-       wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
-       cd $(WATCOM_CWD)
-
-mfc : .SYMBOLIC 
-       cd mfc
-       wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
-       cd $(WATCOM_CWD)
-
 memcheck : .SYMBOLIC 
        cd memcheck
        wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
index 4bc61d34dd67271bb4cec1d12b5ac54df574feed..892b7abca8118a40e36ff901b8ce63b3d6f815af 100644 (file)
     <subproject id="widgets" template="sub"/>
     <subproject id="wizard" template="sub"/>
     <subproject id="wrapsizer" template="sub"/>
-    <!-- These samples don't always build so don't build them by default -->
-    <subproject id="flash" template="optsub"/>
-    <subproject id="mfc" template="optsub"/>
+
+    <!--
+        These samples don't always build (they need non-default wxWidgets
+        configuration or some 3rd party library being installed) so don't build
+        them by default by using "optsub" template instead of "sub" one and
+        some of them also requite MSVC compiler so don't use them with the
+        other ones.
+     -->
+    <if cond="FORMAT[:3] == 'msv'">
+        <subproject id="flash" template="optsub"/>
+        <subproject id="mfc" template="optsub"/>
+    </if>
     <subproject id="memcheck" template="optsub"/>
 
 </makefile>