]> git.saurik.com Git - wxWidgets.git/commitdiff
don't build memcheck (fails in release) and MFC (fails if MFC is not available) sampl...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Oct 2008 15:29:00 +0000 (15:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Oct 2008 15:29:00 +0000 (15:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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

index 40ad637370e47246bab2995c98b196ee9a05eb69..1806d00a9d500e5a435b8322b1241245b2e546c4 100644 (file)
@@ -44,7 +44,7 @@ MAKEARGS = -DCC="$(CC)" -DCXX="$(CXX)" -DCFLAGS="$(CFLAGS)" \
 
 ### Targets: ###
 
-all: access animate artprov aui calendar caret collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer memcheck menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer mfc
+all: access animate artprov aui calendar caret collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer
 
 clean: 
        -if exist .\*.obj del .\*.obj
@@ -198,10 +198,6 @@ clean:
        @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>mediaplayer.bat
        call mediaplayer.bat
        @del mediaplayer.bat
-       @echo cd memcheck >memcheck.bat
-       @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>memcheck.bat
-       call memcheck.bat
-       @del memcheck.bat
        @echo cd menu >menu.bat
        @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>menu.bat
        call menu.bat
@@ -346,6 +342,10 @@ clean:
        @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
+       @del memcheck.bat
 
 access: 
        @echo cd access >access.bat
@@ -569,12 +569,6 @@ mediaplayer:
        call mediaplayer.bat
        @del mediaplayer.bat
 
-memcheck: 
-       @echo cd memcheck >memcheck.bat
-       @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>memcheck.bat
-       call memcheck.bat
-       @del memcheck.bat
-
 menu: 
        @echo cd menu >menu.bat
        @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>menu.bat
@@ -791,3 +785,9 @@ mfc:
        call mfc.bat
        @del mfc.bat
 
+memcheck: 
+       @echo cd memcheck >memcheck.bat
+       @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>memcheck.bat
+       call memcheck.bat
+       @del memcheck.bat
+
index 5e5f0961ff2ccb33adba612354a9cd3a679948ea..7a0cd93ef1ef95614cc95335d7b7ad2cb712c58a 100644 (file)
@@ -35,7 +35,7 @@ MAKEARGS = LINK_DLL_FLAGS="$(LINK_DLL_FLAGS)" \
 
 ### Targets: ###
 
-all: access animate artprov aui calendar caret collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer memcheck menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer mfc
+all: access animate artprov aui calendar caret collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer
 
 clean: 
        -if exist .\*.o del .\*.o
@@ -77,7 +77,6 @@ clean:
        $(MAKE) -C listctrl -f makefile.gcc $(MAKEARGS) clean
        $(MAKE) -C mdi -f makefile.gcc $(MAKEARGS) clean
        $(MAKE) -C mediaplayer -f makefile.gcc $(MAKEARGS) clean
-       $(MAKE) -C memcheck -f makefile.gcc $(MAKEARGS) clean
        $(MAKE) -C menu -f makefile.gcc $(MAKEARGS) clean
        $(MAKE) -C minimal -f makefile.gcc $(MAKEARGS) clean
        $(MAKE) -C mobile -f makefile.gcc $(MAKEARGS) clean
@@ -114,6 +113,7 @@ clean:
        $(MAKE) -C wizard -f makefile.gcc $(MAKEARGS) clean
        $(MAKE) -C wrapsizer -f makefile.gcc $(MAKEARGS) clean
        $(MAKE) -C mfc -f makefile.gcc $(MAKEARGS) clean
+       $(MAKE) -C memcheck -f makefile.gcc $(MAKEARGS) clean
 
 access: 
        $(MAKE) -C access -f makefile.gcc $(MAKEARGS) all
@@ -226,9 +226,6 @@ mdi:
 mediaplayer: 
        $(MAKE) -C mediaplayer -f makefile.gcc $(MAKEARGS) all
 
-memcheck: 
-       $(MAKE) -C memcheck -f makefile.gcc $(MAKEARGS) all
-
 menu: 
        $(MAKE) -C menu -f makefile.gcc $(MAKEARGS) all
 
@@ -337,7 +334,10 @@ wrapsizer:
 mfc: 
        $(MAKE) -C mfc -f makefile.gcc $(MAKEARGS) all
 
-.PHONY: all clean access animate artprov aui calendar caret collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer memcheck menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer mfc
+memcheck: 
+       $(MAKE) -C memcheck -f makefile.gcc $(MAKEARGS) all
+
+.PHONY: all clean access animate artprov aui calendar caret collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer mfc memcheck
 
 
 SHELL := $(COMSPEC)
index 83c3ca79cc33b04e24d82e3cab86f8fa839d54a0..c6eb7996bc712291180c55b7f283afa79af2151d 100644 (file)
@@ -34,7 +34,7 @@ MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
 
 ### Targets: ###
 
-all: sub_access sub_animate sub_artprov sub_aui sub_calendar sub_caret sub_collpane sub_config sub_combo sub_console sub_controls sub_dataview sub_dialogs sub_dialup sub_display sub_dnd sub_docview sub_dragimag sub_drawing sub_erase sub_event sub_exec sub_except sub_font sub_grid sub_help sub_htlbox sub_html sub_image sub_internat sub_ipc sub_joytest sub_keyboard sub_layout sub_listctrl sub_mdi sub_mediaplayer sub_memcheck sub_menu sub_minimal sub_mobile sub_nativdlg sub_notebook sub_oleauto sub_opengl sub_ownerdrw sub_popup sub_printing sub_propgrid sub_regtest sub_render sub_richtext sub_sashtest sub_scroll sub_scrollsub sub_shaped sub_sockets sub_sound sub_splash sub_splitter sub_statbar sub_stc sub_taskbar sub_text sub_thread sub_toolbar sub_treectrl sub_typetest sub_validate sub_vscroll sub_widgets sub_wizard sub_wrapsizer sub_mfc
+all: sub_access sub_animate sub_artprov sub_aui sub_calendar sub_caret sub_collpane sub_config sub_combo sub_console sub_controls sub_dataview sub_dialogs sub_dialup sub_display sub_dnd sub_docview sub_dragimag sub_drawing sub_erase sub_event sub_exec sub_except sub_font sub_grid sub_help sub_htlbox sub_html sub_image sub_internat sub_ipc sub_joytest sub_keyboard sub_layout sub_listctrl sub_mdi sub_mediaplayer sub_menu sub_minimal sub_mobile sub_nativdlg sub_notebook sub_oleauto sub_opengl sub_ownerdrw sub_popup sub_printing sub_propgrid sub_regtest sub_render sub_richtext sub_sashtest sub_scroll sub_scrollsub sub_shaped sub_sockets sub_sound sub_splash sub_splitter sub_statbar sub_stc sub_taskbar sub_text sub_thread sub_toolbar sub_treectrl sub_typetest sub_validate sub_vscroll sub_widgets sub_wizard sub_wrapsizer
 
 clean: 
        -if exist .\*.obj del .\*.obj
@@ -151,9 +151,6 @@ clean:
        cd mediaplayer
        $(MAKE) -f makefile.vc $(MAKEARGS) clean
        cd "$(MAKEDIR)"
-       cd memcheck
-       $(MAKE) -f makefile.vc $(MAKEARGS) clean
-       cd "$(MAKEDIR)"
        cd menu
        $(MAKE) -f makefile.vc $(MAKEARGS) clean
        cd "$(MAKEDIR)"
@@ -262,6 +259,9 @@ clean:
        cd mfc
        $(MAKE) -f makefile.vc $(MAKEARGS) clean
        cd "$(MAKEDIR)"
+       cd memcheck
+       $(MAKE) -f makefile.vc $(MAKEARGS) clean
+       cd "$(MAKEDIR)"
 
 sub_access: 
        cd access
@@ -448,11 +448,6 @@ sub_mediaplayer:
        $(MAKE) -f makefile.vc $(MAKEARGS) all
        cd "$(MAKEDIR)"
 
-sub_memcheck: 
-       cd memcheck
-       $(MAKE) -f makefile.vc $(MAKEARGS) all
-       cd "$(MAKEDIR)"
-
 sub_menu: 
        cd menu
        $(MAKE) -f makefile.vc $(MAKEARGS) all
@@ -633,3 +628,8 @@ sub_mfc:
        $(MAKE) -f makefile.vc $(MAKEARGS) all
        cd "$(MAKEDIR)"
 
+sub_memcheck: 
+       cd memcheck
+       $(MAKE) -f makefile.vc $(MAKEARGS) all
+       cd "$(MAKEDIR)"
+
index 92e5acb772db49a2bd85b9c0f49a9a9dd11c28d3..2243d08b622981be3c24e20608f09525ced02c1d 100644 (file)
@@ -48,7 +48,7 @@ MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" &
 
 ### Targets: ###
 
-all : .SYMBOLIC access animate artprov aui calendar caret collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer memcheck menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer mfc
+all : .SYMBOLIC access animate artprov aui calendar caret collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer
 
 clean : .SYMBOLIC 
        -if exist .\*.obj del .\*.obj
@@ -167,9 +167,6 @@ clean : .SYMBOLIC
        cd mediaplayer
        wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
        cd $(WATCOM_CWD)
-       cd memcheck
-       wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
-       cd $(WATCOM_CWD)
        cd menu
        wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
        cd $(WATCOM_CWD)
@@ -278,6 +275,9 @@ clean : .SYMBOLIC
        cd mfc
        wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
        cd $(WATCOM_CWD)
+       cd memcheck
+       wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean
+       cd $(WATCOM_CWD)
 
 access : .SYMBOLIC 
        cd access
@@ -464,11 +464,6 @@ mediaplayer : .SYMBOLIC
        wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
        cd $(WATCOM_CWD)
 
-memcheck : .SYMBOLIC 
-       cd memcheck
-       wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
-       cd $(WATCOM_CWD)
-
 menu : .SYMBOLIC 
        cd menu
        wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
@@ -649,3 +644,8 @@ mfc : .SYMBOLIC
        wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
        cd $(WATCOM_CWD)
 
+memcheck : .SYMBOLIC 
+       cd memcheck
+       wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all
+       cd $(WATCOM_CWD)
+
index 72aa66c28fd73fb4da5f837035af8034bce0c9fa..eef819235a813049a2375ccd733b28076e99ba62 100644 (file)
@@ -4,8 +4,11 @@
 
     <include file="../build/bakefiles/config.bkl"/>
 
-    <template id="sub">
+    <template id="optsub">
         <dir>$(id)</dir>
+    </template>
+
+    <template id="sub" template="optsub">
         <dependency-of>all</dependency-of>
     </template>
 
@@ -47,7 +50,6 @@
     <subproject id="listctrl" template="sub"/>
     <subproject id="mdi" template="sub"/>
     <subproject id="mediaplayer" template="sub"/>
-    <subproject id="memcheck" template="sub"/>
     <subproject id="menu" template="sub"/>
     <subproject id="minimal" template="sub"/>
     <subproject id="mobile" template="sub"/>
@@ -83,7 +85,8 @@
     <subproject id="widgets" template="sub"/>
     <subproject id="wizard" template="sub"/>
     <subproject id="wrapsizer" template="sub"/>
-    <!-- Put samples most likely to fail at the end -->
-    <subproject id="mfc" template="sub"/>
+    <!-- These samples don't always build so don't build them by default -->
+    <subproject id="mfc" template="optsub"/>
+    <subproject id="memcheck" template="optsub"/>
 
 </makefile>