From: Michael Wetherell Date: Mon, 8 Aug 2005 13:08:45 +0000 (+0000) Subject: Add bakefile tag. Like except that in VC++ '.dsw' files X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2edad6fc48eb24235bbbb28345a568c1d859b15c?hp=460354e939bc52de1b5a749b6d88d6ef21f5827b Add bakefile tag. Like except that in VC++ '.dsw' files it creates a dependency on a '.dsp' file under contrib instead of under lib. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/build/bakefiles/common_contrib.bkl b/build/bakefiles/common_contrib.bkl index 1a374a441a..4c95e7d2ad 100644 --- a/build/bakefiles/common_contrib.bkl +++ b/build/bakefiles/common_contrib.bkl @@ -35,4 +35,16 @@ $(CONTRIB_HDR_DIR) $(INCLUDEDIR)/wx-$(WX_RELEASE)$(WX_FLAVOUR) + + + + $(wxwin.libToLink(value)) + $(wxwin.extraLdflags(value)) + + + $(wxwin.makeContribDspDependency(value)) + + + + diff --git a/build/bakefiles/wxwin.py b/build/bakefiles/wxwin.py index e607ed349e..0da8fe7cca 100644 --- a/build/bakefiles/wxwin.py +++ b/build/bakefiles/wxwin.py @@ -151,3 +151,7 @@ def headersOnly(files): def makeDspDependency(lib): """Returns suitable entry for for main libs.""" return '%s:$(nativePaths(WXTOPDIR))build\\msw\\wx_%s.dsp' % (lib,lib) + +def makeContribDspDependency(lib): + """Returns suitable entry for for contrib libs.""" + return '%s:$(nativePaths(WXTOPDIR))contrib\\build\\%s\\%s.dsp' % (lib,lib,lib) diff --git a/contrib/samples/animate/anitest.bkl b/contrib/samples/animate/anitest.bkl index 214f00dfcc..0de634af08 100644 --- a/contrib/samples/animate/anitest.bkl +++ b/contrib/samples/animate/anitest.bkl @@ -8,7 +8,7 @@ anitest.cpp - animate + animate core base anitest.rc diff --git a/contrib/samples/animate/anitest.dsw b/contrib/samples/animate/anitest.dsw index e1719c6d37..a60ec839a6 100644 --- a/contrib/samples/animate/anitest.dsw +++ b/contrib/samples/animate/anitest.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "animate"=..\..\build\animate\animate.dsp - Package Owner=<4> +Project: "animate"=..\..\..\contrib\build\animate\animate.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/deprecated/proplist/proplist.bkl b/contrib/samples/deprecated/proplist/proplist.bkl index 675c5786ee..e2bd9fff9a 100644 --- a/contrib/samples/deprecated/proplist/proplist.bkl +++ b/contrib/samples/deprecated/proplist/proplist.bkl @@ -8,7 +8,7 @@ proplist.cpp - deprecated + deprecated core base proplist.rc diff --git a/contrib/samples/deprecated/proplist/proplist.dsw b/contrib/samples/deprecated/proplist/proplist.dsw index 40c3d7f295..18a97b9968 100644 --- a/contrib/samples/deprecated/proplist/proplist.dsw +++ b/contrib/samples/deprecated/proplist/proplist.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "deprecated"=..\..\..\build\deprecated\deprecated.dsp - Package Owner=<4> +Project: "deprecated"=..\..\..\..\contrib\build\deprecated\deprecated.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/deprecated/resource/resource.bkl b/contrib/samples/deprecated/resource/resource.bkl index e5ea6a8137..ea2cc2bf5e 100644 --- a/contrib/samples/deprecated/resource/resource.bkl +++ b/contrib/samples/deprecated/resource/resource.bkl @@ -9,7 +9,7 @@ resource.cpp - deprecated + deprecated core base resource.rc diff --git a/contrib/samples/deprecated/resource/resource.dsw b/contrib/samples/deprecated/resource/resource.dsw index 4e0944daf0..eb6a517a06 100644 --- a/contrib/samples/deprecated/resource/resource.dsw +++ b/contrib/samples/deprecated/resource/resource.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "deprecated"=..\..\..\build\deprecated\deprecated.dsp - Package Owner=<4> +Project: "deprecated"=..\..\..\..\contrib\build\deprecated\deprecated.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/deprecated/treelay/treelay.bkl b/contrib/samples/deprecated/treelay/treelay.bkl index 814769fa50..d6aab6e621 100644 --- a/contrib/samples/deprecated/treelay/treelay.bkl +++ b/contrib/samples/deprecated/treelay/treelay.bkl @@ -9,7 +9,7 @@ treelay.cpp - deprecated + deprecated core base treelay.rc diff --git a/contrib/samples/deprecated/treelay/treelay.dsw b/contrib/samples/deprecated/treelay/treelay.dsw index 68ed3d6c62..86b0f37a01 100644 --- a/contrib/samples/deprecated/treelay/treelay.dsw +++ b/contrib/samples/deprecated/treelay/treelay.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "deprecated"=..\..\..\build\deprecated\deprecated.dsp - Package Owner=<4> +Project: "deprecated"=..\..\..\..\contrib\build\deprecated\deprecated.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/fl/fl.bkl b/contrib/samples/fl/fl.bkl index 49b34d19b4..9747dfa47c 100644 --- a/contrib/samples/fl/fl.bkl +++ b/contrib/samples/fl/fl.bkl @@ -9,7 +9,7 @@ BMP_DIR="bitmaps/" $(id).cpp $(id).rc - fl + fl core base diff --git a/contrib/samples/fl/fl.dsw b/contrib/samples/fl/fl.dsw index ad55c8d39f..fbb5c0d97b 100644 --- a/contrib/samples/fl/fl.dsw +++ b/contrib/samples/fl/fl.dsw @@ -107,7 +107,7 @@ End Project Dependency ############################################################################### -Project: "fl"=..\..\build\fl\fl.dsp - Package Owner=<4> +Project: "fl"=..\..\..\contrib\build\fl\fl.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/foldbar/extended/extended.bkl b/contrib/samples/foldbar/extended/extended.bkl index f6b407e9b5..f48efaa3ad 100644 --- a/contrib/samples/foldbar/extended/extended.bkl +++ b/contrib/samples/foldbar/extended/extended.bkl @@ -8,7 +8,7 @@ extended.cpp - foldbar + foldbar adv core base diff --git a/contrib/samples/foldbar/extended/extended.dsw b/contrib/samples/foldbar/extended/extended.dsw index 28d65e3490..e62368a5c6 100644 --- a/contrib/samples/foldbar/extended/extended.dsw +++ b/contrib/samples/foldbar/extended/extended.dsw @@ -26,7 +26,7 @@ End Project Dependency ############################################################################### -Project: "foldbar"=..\..\..\build\foldbar\foldbar.dsp - Package Owner=<4> +Project: "foldbar"=..\..\..\..\contrib\build\foldbar\foldbar.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/foldbar/foldpanelbar/foldtest.bkl b/contrib/samples/foldbar/foldpanelbar/foldtest.bkl index 0d4049adb0..5498b90463 100644 --- a/contrib/samples/foldbar/foldpanelbar/foldtest.bkl +++ b/contrib/samples/foldbar/foldpanelbar/foldtest.bkl @@ -11,7 +11,7 @@ layouttest.cpp test.cpp - foldbar + foldbar core base foldpanelbartest.rc diff --git a/contrib/samples/foldbar/foldpanelbar/foldtest.dsw b/contrib/samples/foldbar/foldpanelbar/foldtest.dsw index c25acef39e..37905b27f9 100644 --- a/contrib/samples/foldbar/foldpanelbar/foldtest.dsw +++ b/contrib/samples/foldbar/foldpanelbar/foldtest.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "foldbar"=..\..\..\build\foldbar\foldbar.dsp - Package Owner=<4> +Project: "foldbar"=..\..\..\..\contrib\build\foldbar\foldbar.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/gizmos/dynsash/dynsash.bkl b/contrib/samples/gizmos/dynsash/dynsash.bkl index 640ba00078..c4c2618ab1 100644 --- a/contrib/samples/gizmos/dynsash/dynsash.bkl +++ b/contrib/samples/gizmos/dynsash/dynsash.bkl @@ -8,7 +8,7 @@ dynsash.cpp - gizmos + gizmos html core base diff --git a/contrib/samples/gizmos/dynsash/dynsash.dsw b/contrib/samples/gizmos/dynsash/dynsash.dsw index dc51717e47..000b50aa7c 100644 --- a/contrib/samples/gizmos/dynsash/dynsash.dsw +++ b/contrib/samples/gizmos/dynsash/dynsash.dsw @@ -26,7 +26,7 @@ End Project Dependency ############################################################################### -Project: "gizmos"=..\..\..\build\gizmos\gizmos.dsp - Package Owner=<4> +Project: "gizmos"=..\..\..\..\contrib\build\gizmos\gizmos.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/gizmos/dynsash_switch/dynsash_switch.bkl b/contrib/samples/gizmos/dynsash_switch/dynsash_switch.bkl index 70c4179733..4843a97f3a 100644 --- a/contrib/samples/gizmos/dynsash_switch/dynsash_switch.bkl +++ b/contrib/samples/gizmos/dynsash_switch/dynsash_switch.bkl @@ -8,7 +8,7 @@ dynsash_switch.cpp - gizmos + gizmos core base diff --git a/contrib/samples/gizmos/dynsash_switch/dynsash_switch.dsw b/contrib/samples/gizmos/dynsash_switch/dynsash_switch.dsw index 4e256fe77f..3a82252088 100644 --- a/contrib/samples/gizmos/dynsash_switch/dynsash_switch.dsw +++ b/contrib/samples/gizmos/dynsash_switch/dynsash_switch.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "gizmos"=..\..\..\build\gizmos\gizmos.dsp - Package Owner=<4> +Project: "gizmos"=..\..\..\..\contrib\build\gizmos\gizmos.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/gizmos/editlbox/editlbox.bkl b/contrib/samples/gizmos/editlbox/editlbox.bkl index 72019758c8..0df2855ab2 100644 --- a/contrib/samples/gizmos/editlbox/editlbox.bkl +++ b/contrib/samples/gizmos/editlbox/editlbox.bkl @@ -8,7 +8,7 @@ test.cpp - gizmos + gizmos core base diff --git a/contrib/samples/gizmos/editlbox/editlbox.dsw b/contrib/samples/gizmos/editlbox/editlbox.dsw index ffa5fcd8b5..915478de90 100644 --- a/contrib/samples/gizmos/editlbox/editlbox.dsw +++ b/contrib/samples/gizmos/editlbox/editlbox.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "gizmos"=..\..\..\build\gizmos\gizmos.dsp - Package Owner=<4> +Project: "gizmos"=..\..\..\..\contrib\build\gizmos\gizmos.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/gizmos/led/led.bkl b/contrib/samples/gizmos/led/led.bkl index c478f02b65..8a41662be1 100644 --- a/contrib/samples/gizmos/led/led.bkl +++ b/contrib/samples/gizmos/led/led.bkl @@ -8,7 +8,7 @@ led.cpp - gizmos + gizmos core base diff --git a/contrib/samples/gizmos/led/led.dsw b/contrib/samples/gizmos/led/led.dsw index fe5d9e3892..c736fcbaf9 100644 --- a/contrib/samples/gizmos/led/led.dsw +++ b/contrib/samples/gizmos/led/led.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "gizmos"=..\..\..\build\gizmos\gizmos.dsp - Package Owner=<4> +Project: "gizmos"=..\..\..\..\contrib\build\gizmos\gizmos.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/gizmos/multicell/multicell.bkl b/contrib/samples/gizmos/multicell/multicell.bkl index 75b8f846f1..e59e4d9311 100644 --- a/contrib/samples/gizmos/multicell/multicell.bkl +++ b/contrib/samples/gizmos/multicell/multicell.bkl @@ -8,7 +8,7 @@ mtest.cpp - gizmos + gizmos core base diff --git a/contrib/samples/gizmos/multicell/multicell.dsw b/contrib/samples/gizmos/multicell/multicell.dsw index ad6321dc25..1695ef5655 100644 --- a/contrib/samples/gizmos/multicell/multicell.dsw +++ b/contrib/samples/gizmos/multicell/multicell.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "gizmos"=..\..\..\build\gizmos\gizmos.dsp - Package Owner=<4> +Project: "gizmos"=..\..\..\..\contrib\build\gizmos\gizmos.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/gizmos/splittree/splittree.bkl b/contrib/samples/gizmos/splittree/splittree.bkl index 33a447e4fa..87d3a66639 100644 --- a/contrib/samples/gizmos/splittree/splittree.bkl +++ b/contrib/samples/gizmos/splittree/splittree.bkl @@ -8,7 +8,7 @@ tree.cpp - gizmos + gizmos core base diff --git a/contrib/samples/gizmos/splittree/splittree.dsw b/contrib/samples/gizmos/splittree/splittree.dsw index 67a4ab06ce..4ec7bbc5a9 100644 --- a/contrib/samples/gizmos/splittree/splittree.dsw +++ b/contrib/samples/gizmos/splittree/splittree.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "gizmos"=..\..\..\build\gizmos\gizmos.dsp - Package Owner=<4> +Project: "gizmos"=..\..\..\..\contrib\build\gizmos\gizmos.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/mmedia/mmboard.bkl b/contrib/samples/mmedia/mmboard.bkl index e4b5962b3e..4b1c94cad1 100644 --- a/contrib/samples/mmedia/mmboard.bkl +++ b/contrib/samples/mmedia/mmboard.bkl @@ -13,7 +13,7 @@ mmboard.cpp mmbman.cpp - mmedia + mmedia $(EXTRALIBS_ESD) core base diff --git a/contrib/samples/mmedia/mmboard.dsw b/contrib/samples/mmedia/mmboard.dsw index 8c56be10d3..38f9e0145d 100644 --- a/contrib/samples/mmedia/mmboard.dsw +++ b/contrib/samples/mmedia/mmboard.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "mmedia"=..\..\build\mmedia\mmedia.dsp - Package Owner=<4> +Project: "mmedia"=..\..\..\contrib\build\mmedia\mmedia.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/ogl/ogledit/ogledit.bkl b/contrib/samples/ogl/ogledit/ogledit.bkl index 0b161ddf84..4b72d1cb63 100644 --- a/contrib/samples/ogl/ogledit/ogledit.bkl +++ b/contrib/samples/ogl/ogledit/ogledit.bkl @@ -12,8 +12,8 @@ view.cpp palette.cpp - ogl - deprecated + ogl + deprecated core base ogledit.rc diff --git a/contrib/samples/ogl/ogledit/ogledit.dsw b/contrib/samples/ogl/ogledit/ogledit.dsw index 3f93ca6de3..9c9665d5f8 100644 --- a/contrib/samples/ogl/ogledit/ogledit.dsw +++ b/contrib/samples/ogl/ogledit/ogledit.dsw @@ -26,7 +26,7 @@ End Project Dependency ############################################################################### -Project: "ogl"=..\..\..\build\ogl\ogl.dsp - Package Owner=<4> +Project: "ogl"=..\..\..\..\contrib\build\ogl\ogl.dsp - Package Owner=<4> Package=<5> {{{ @@ -38,7 +38,7 @@ Package=<4> ############################################################################### -Project: "deprecated"=..\..\..\build\deprecated\deprecated.dsp - Package Owner=<4> +Project: "deprecated"=..\..\..\..\contrib\build\deprecated\deprecated.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/ogl/studio/studio.bkl b/contrib/samples/ogl/studio/studio.bkl index da36eac77e..1f41e42b5b 100644 --- a/contrib/samples/ogl/studio/studio.bkl +++ b/contrib/samples/ogl/studio/studio.bkl @@ -18,8 +18,8 @@ dialogs.cpp csprint.cpp - ogl - deprecated + ogl + deprecated adv html core diff --git a/contrib/samples/ogl/studio/studio.dsw b/contrib/samples/ogl/studio/studio.dsw index e80241e047..b99cd69543 100644 --- a/contrib/samples/ogl/studio/studio.dsw +++ b/contrib/samples/ogl/studio/studio.dsw @@ -32,7 +32,7 @@ End Project Dependency ############################################################################### -Project: "ogl"=..\..\..\build\ogl\ogl.dsp - Package Owner=<4> +Project: "ogl"=..\..\..\..\contrib\build\ogl\ogl.dsp - Package Owner=<4> Package=<5> {{{ @@ -44,7 +44,7 @@ Package=<4> ############################################################################### -Project: "deprecated"=..\..\..\build\deprecated\deprecated.dsp - Package Owner=<4> +Project: "deprecated"=..\..\..\..\contrib\build\deprecated\deprecated.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/plot/plot.bkl b/contrib/samples/plot/plot.bkl index 8e1518a07b..cfef76512d 100644 --- a/contrib/samples/plot/plot.bkl +++ b/contrib/samples/plot/plot.bkl @@ -8,7 +8,7 @@ plot.cpp - plot + plot core base plot.rc diff --git a/contrib/samples/plot/plot.dsw b/contrib/samples/plot/plot.dsw index 72e176402e..7be3c56ff3 100644 --- a/contrib/samples/plot/plot.dsw +++ b/contrib/samples/plot/plot.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "plot"=..\..\build\plot\plot.dsp - Package Owner=<4> +Project: "plot"=..\..\..\contrib\build\plot\plot.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/stc/stctest.bkl b/contrib/samples/stc/stctest.bkl index ace1810616..a02c4fd40e 100644 --- a/contrib/samples/stc/stctest.bkl +++ b/contrib/samples/stc/stctest.bkl @@ -10,7 +10,7 @@ edit.cpp prefs.cpp - stc + stc core base diff --git a/contrib/samples/stc/stctest.dsw b/contrib/samples/stc/stctest.dsw index 7d28f25943..a765423dba 100644 --- a/contrib/samples/stc/stctest.dsw +++ b/contrib/samples/stc/stctest.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "stc"=..\..\build\stc\stc.dsp - Package Owner=<4> +Project: "stc"=..\..\..\contrib\build\stc\stc.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/contrib/samples/svg/svgtest.bkl b/contrib/samples/svg/svgtest.bkl index 6796c6e488..59724bd0a6 100644 --- a/contrib/samples/svg/svgtest.bkl +++ b/contrib/samples/svg/svgtest.bkl @@ -8,7 +8,7 @@ svgtest.cpp - svg + svg core base diff --git a/contrib/samples/svg/svgtest.dsw b/contrib/samples/svg/svgtest.dsw index e5613b5e97..92d6ea22c5 100644 --- a/contrib/samples/svg/svgtest.dsw +++ b/contrib/samples/svg/svgtest.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "svg"=..\..\build\svg\svg.dsp - Package Owner=<4> +Project: "svg"=..\..\..\contrib\build\svg\svg.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/samples/stc/stctest.bkl b/samples/stc/stctest.bkl index ace1810616..a02c4fd40e 100644 --- a/samples/stc/stctest.bkl +++ b/samples/stc/stctest.bkl @@ -10,7 +10,7 @@ edit.cpp prefs.cpp - stc + stc core base diff --git a/samples/stc/stctest.dsw b/samples/stc/stctest.dsw index 7d28f25943..a765423dba 100644 --- a/samples/stc/stctest.dsw +++ b/samples/stc/stctest.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "stc"=..\..\build\stc\stc.dsp - Package Owner=<4> +Project: "stc"=..\..\..\contrib\build\stc\stc.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/samples/svg/svgtest.bkl b/samples/svg/svgtest.bkl index 6796c6e488..59724bd0a6 100644 --- a/samples/svg/svgtest.bkl +++ b/samples/svg/svgtest.bkl @@ -8,7 +8,7 @@ svgtest.cpp - svg + svg core base diff --git a/samples/svg/svgtest.dsw b/samples/svg/svgtest.dsw index e5613b5e97..92d6ea22c5 100644 --- a/samples/svg/svgtest.dsw +++ b/samples/svg/svgtest.dsw @@ -23,7 +23,7 @@ End Project Dependency ############################################################################### -Project: "svg"=..\..\build\svg\svg.dsp - Package Owner=<4> +Project: "svg"=..\..\..\contrib\build\svg\svg.dsp - Package Owner=<4> Package=<5> {{{