From 3534e34a1b68639a11ac0e643b372e873995368f Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 7 Aug 2003 13:11:41 +0000 Subject: [PATCH] added bakefile to build all demos git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- build/bakefiles/Makefile | 27 +++++++++++++++++++++++++++ build/bakefiles/regenMakefile.py | 10 +++++++++- demos/demos.bkl | 18 ++++++++++++++++++ 3 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 demos/demos.bkl diff --git a/build/bakefiles/Makefile b/build/bakefiles/Makefile index 4529909e91..34581b42a9 100644 --- a/build/bakefiles/Makefile +++ b/build/bakefiles/Makefile @@ -46,6 +46,7 @@ AUTOCONF_ALL = \ ../../contrib/src/svg/Makefile.in \ ../../contrib/src/xrc/Makefile.in \ ../../contrib/utils/wxrc/Makefile.in \ + ../../demos/Makefile.in \ ../../demos/bombs/Makefile.in \ ../../demos/dbbrowse/Makefile.in \ ../../demos/forty/Makefile.in \ @@ -173,6 +174,7 @@ BORLAND_ALL = \ ../../demos/forty/makefile.bcc \ ../../demos/fractal/makefile.bcc \ ../../demos/life/makefile.bcc \ + ../../demos/makefile.bcc \ ../../demos/poem/makefile.bcc \ ../../samples/access/makefile.bcc \ ../../samples/artprov/makefile.bcc \ @@ -297,6 +299,7 @@ MINGW_ALL = \ ../../demos/forty/makefile.gcc \ ../../demos/fractal/makefile.gcc \ ../../demos/life/makefile.gcc \ + ../../demos/makefile.gcc \ ../../demos/poem/makefile.gcc \ ../../samples/access/makefile.gcc \ ../../samples/artprov/makefile.gcc \ @@ -421,6 +424,7 @@ MSVC_ALL = \ ../../demos/forty/makefile.vc \ ../../demos/fractal/makefile.vc \ ../../demos/life/makefile.vc \ + ../../demos/makefile.vc \ ../../demos/poem/makefile.vc \ ../../samples/access/makefile.vc \ ../../samples/artprov/makefile.vc \ @@ -666,6 +670,7 @@ WATCOM_ALL = \ ../../demos/forty/makefile.wat \ ../../demos/fractal/makefile.wat \ ../../demos/life/makefile.wat \ + ../../demos/makefile.wat \ ../../demos/poem/makefile.wat \ ../../samples/access/makefile.wat \ ../../samples/artprov/makefile.wat \ @@ -798,6 +803,7 @@ clean: rm -f ../../contrib/src/svg/Makefile.in rm -f ../../contrib/src/xrc/Makefile.in rm -f ../../contrib/utils/wxrc/Makefile.in + rm -f ../../demos/Makefile.in rm -f ../../demos/bombs/Makefile.in rm -f ../../demos/dbbrowse/Makefile.in rm -f ../../demos/forty/Makefile.in @@ -924,6 +930,7 @@ clean: rm -f ../../demos/forty/makefile.bcc rm -f ../../demos/fractal/makefile.bcc rm -f ../../demos/life/makefile.bcc + rm -f ../../demos/makefile.bcc rm -f ../../demos/poem/makefile.bcc rm -f ../../samples/access/makefile.bcc rm -f ../../samples/artprov/makefile.bcc @@ -1047,6 +1054,7 @@ clean: rm -f ../../demos/forty/makefile.gcc rm -f ../../demos/fractal/makefile.gcc rm -f ../../demos/life/makefile.gcc + rm -f ../../demos/makefile.gcc rm -f ../../demos/poem/makefile.gcc rm -f ../../samples/access/makefile.gcc rm -f ../../samples/artprov/makefile.gcc @@ -1170,6 +1178,7 @@ clean: rm -f ../../demos/forty/makefile.vc rm -f ../../demos/fractal/makefile.vc rm -f ../../demos/life/makefile.vc + rm -f ../../demos/makefile.vc rm -f ../../demos/poem/makefile.vc rm -f ../../samples/access/makefile.vc rm -f ../../samples/artprov/makefile.vc @@ -1413,6 +1422,7 @@ clean: rm -f ../../demos/forty/makefile.wat rm -f ../../demos/fractal/makefile.wat rm -f ../../demos/life/makefile.wat + rm -f ../../demos/makefile.wat rm -f ../../demos/poem/makefile.wat rm -f ../../samples/access/makefile.wat rm -f ../../samples/artprov/makefile.wat @@ -2167,6 +2177,23 @@ Makefile: regenMakefile.py touch $@ +../../demos/Makefile.in: ../../demos/demos.bkl + $(BAKEFILE) -fautoconf -o$@ -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4 ../../demos/demos.bkl + touch $@ +../../demos/makefile.bcc: ../../demos/demos.bkl + $(BAKEFILE) -fborland -o$@ -DOPTIONS_FILE=../build/msw/config.bcc -DWRITE_OPTIONS_FILE=0 ../../demos/demos.bkl + touch $@ +../../demos/makefile.vc: ../../demos/demos.bkl + $(BAKEFILE) -fmsvc -o$@ -DOPTIONS_FILE=../build/msw/config.vc -DWRITE_OPTIONS_FILE=0 ../../demos/demos.bkl + touch $@ +../../demos/makefile.gcc: ../../demos/demos.bkl + $(BAKEFILE) -fmingw -o$@ -DOPTIONS_FILE=../build/msw/config.gcc -DWRITE_OPTIONS_FILE=0 ../../demos/demos.bkl + touch $@ +../../demos/makefile.wat: ../../demos/demos.bkl + $(BAKEFILE) -fwatcom -o$@ -DOPTIONS_FILE=../build/msw/config.wat -DWRITE_OPTIONS_FILE=0 ../../demos/demos.bkl + touch $@ + + ../../demos/forty/Makefile.in: $(SDEPS) ../../demos/forty/forty.bkl $(BAKEFILE) -fautoconf -o$@ -DWXTOPDIR=../../ -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4 ../../demos/forty/forty.bkl touch $@ diff --git a/build/bakefiles/regenMakefile.py b/build/bakefiles/regenMakefile.py index 578f743c1e..32962e5dba 100755 --- a/build/bakefiles/regenMakefile.py +++ b/build/bakefiles/regenMakefile.py @@ -13,6 +13,7 @@ import string, os.path, copy DONT_GENERATE = [ '../../samples/Makefile.in', '../../samples/samples.dsw', + '../../demos/demos.dsw', '../../samples/html/html_samples.dsw', '../../samples/opengl/opengl_samples.dsw', ] @@ -108,7 +109,14 @@ addMakefile('../../samples/samples.bkl', {'all':'../../samples'}, 'msvc':'-DOPTIONS_FILE=../build/msw/config.vc -DWRITE_OPTIONS_FILE=0', 'mingw':'-DOPTIONS_FILE=../build/msw/config.gcc -DWRITE_OPTIONS_FILE=0', 'watcom':'-DOPTIONS_FILE=../build/msw/config.wat -DWRITE_OPTIONS_FILE=0', - 'msvc6prj':None, + }) +addMakefile('../../demos/demos.bkl', {'all':'../../demos'}, + args={ + 'autoconf':'-DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4', + 'borland':'-DOPTIONS_FILE=../build/msw/config.bcc -DWRITE_OPTIONS_FILE=0', + 'msvc':'-DOPTIONS_FILE=../build/msw/config.vc -DWRITE_OPTIONS_FILE=0', + 'mingw':'-DOPTIONS_FILE=../build/msw/config.gcc -DWRITE_OPTIONS_FILE=0', + 'watcom':'-DOPTIONS_FILE=../build/msw/config.wat -DWRITE_OPTIONS_FILE=0', }) diff --git a/demos/demos.bkl b/demos/demos.bkl new file mode 100644 index 0000000000..1d3c86df7f --- /dev/null +++ b/demos/demos.bkl @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + -- 2.45.2