From: Francesco <fr...@us...> - 2005-06-12 18:29:30
|
Update of /cvsroot/wxlua/wxLua/modules/build/bakefiles In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25491/modules/build/bakefiles Added Files: .cvsignore Bakefiles.bkgen modules.bkl options.bkl regen.bat Log Message: Initial upload of bakefile build system --- NEW FILE: options.bkl --- <?xml version="1.0" ?> <!-- Author: Francesco Montorsi <fr...@us...> --> <!-- RCS-ID: $Id: options.bkl,v 1.1 2005/06/12 18:29:20 frm Exp $ --> <!-- --> <!-- WXLUA OPTIONS BAKEFILE --> <!-- --> <makefile> <!-- --> <!-- The list of wxArt2d OPTIONS DEFAULTS --> <!-- --> <!-- module enable/disable option defaults --> <set var="A2D_AGGDRAWER_DEFAULT">1</set> <set var="A2D_ARTBASE_DEFAULT">1</set> <set var="A2D_CANEXTOBJ_DEFAULT">1</set> <set var="A2D_CANVAS_DEFAULT">1</set> <set var="A2D_CURVES_DEFAULT">1</set> <set var="A2D_DOCVIEW_DEFAULT">1</set> <set var="A2D_EDITOR_DEFAULT">1</set> <set var="A2D_GDSIO_DEFAULT">1</set> <set var="A2D_KBOOL_DEFAULT">1</set> <set var="A2D_KEYIO_DEFAULT">1</set> <set var="A2D_LUAWRAPS_DEFAULT">0</set> <set var="A2D_STSL_DEFAULT">1</set> <set var="A2D_SVGIO_DEFAULT">1</set> <set var="A2D_XMLPARSE_DEFAULT">1</set> <!-- miscellaneous --> <set var="A2D_SAMPLES_DEFAULT">1</set> <set var="A2D_CVGIO_DEFAULT">1</set> <!-- --> <!-- The list of wxLua OPTIONS --> <!-- --> <!-- options not tied to a specific module --> <if cond="TARGETING_IDE=='0'"> <option name="SAMPLES"> <values>0,1</values> <default-value>$(A2D_SAMPLES_DEFAULT)</default-value> <description>Does the samples need to be compiled ?</description> </option> <option name="WXART2D_USE_CVGIO"> <values>0,1</values> <default-value>$(A2D_CVGIO_DEFAULT)</default-value> <description>Does the CVG support need to be compiled ?</description> </option> </if> <if cond="TARGETING_IDE=='1'"> <set var="SAMPLES">$(A2D_SAMPLES_DEFAULT)</set> </if> <!-- module enable/disable options --> <if cond="TARGETING_IDE=='0'"> <option name="WXART2D_USE_AGGDRAWER"> <values>0,1</values> <default-value>$(A2D_AGGDRAWER_DEFAULT)</default-value> <description>Does AGGDRAWER module need to be compiled ?</description> </option> <option name="WXART2D_USE_ARTBASE"> <values>0,1</values> <default-value>$(A2D_ARTBASE_DEFAULT)</default-value> <description>Does ARTBAES module need to be compiled ?</description> </option> <option name="WXART2D_USE_CANEXTOBJ"> <values>0,1</values> <default-value>$(A2D_CANEXTOBJ_DEFAULT)</default-value> <description>Does CANEXTOBJ module need to be compiled ?</description> </option> <option name="WXART2D_USE_CANVAS"> <values>0,1</values> <default-value>$(A2D_CANVAS_DEFAULT)</default-value> <description>Does CANVAS module need to be compiled ?</description> </option> <option name="WXART2D_USE_CURVES"> <values>0,1</values> <default-value>$(A2D_CURVES_DEFAULT)</default-value> <description>Does CURVES module need to be compiled ?</description> </option> <option name="WXART2D_USE_DOCVIEW"> <values>0,1</values> <default-value>$(A2D_DOCVIEW_DEFAULT)</default-value> <description>Does DOCVIEW module need to be compiled ?</description> </option> <option name="WXART2D_USE_EDITOR"> <values>0,1</values> <default-value>$(A2D_EDITOR_DEFAULT)</default-value> <description>Does EDITOR module need to be compiled ?</description> </option> <option name="WXART2D_USE_GDSIO"> <values>0,1</values> <default-value>$(A2D_GDSIO_DEFAULT)</default-value> <description>Does GDSIO module need to be compiled ?</description> </option> <option name="WXART2D_USE_KBOOL"> <values>0,1</values> <default-value>$(A2D_KBOOL_DEFAULT)</default-value> <description>Does KBOOL module need to be compiled ?</description> </option> <option name="WXART2D_USE_KEYIO"> <values>0,1</values> <default-value>$(A2D_KEYIO_DEFAULT)</default-value> <description>Does KEYIO module need to be compiled ?</description> </option> <option name="WXART2D_USE_LUAWRAPS"> <values>0,1</values> <default-value>$(A2D_LUAWRAPS_DEFAULT)</default-value> <description>Does LUAWRAPS module need to be compiled ?</description> </option> <option name="WXART2D_USE_STSL"> <values>0,1</values> <default-value>$(A2D_STSL_DEFAULT)</default-value> <description>Does STSL module need to be compiled ?</description> </option> <option name="WXART2D_USE_SVGIO"> <values>0,1</values> <default-value>$(A2D_SVGIO_DEFAULT)</default-value> <description>Does SVGIO module need to be compiled ?</description> </option> <option name="WXART2D_USE_XMLPARSE"> <values>0,1</values> <default-value>$(A2D_XMLPARSE_DEFAULT)</default-value> <description>Does XMLPARSE module need to be compiled ?</description> </option> </if> <if cond="TARGETING_IDE=='1'"> <!-- this one does not make Bakefile skip any target so it can also be zero... --> <set var="WXART2D_USE_CVGIO">$(A2D_CVGIO_DEFAULT)</set> <!-- here we are forced to use all '1' because otherwise Bakefile would simply skip some target and do not generate DSP files for that one. We don't want this: we want to generate DSP for all modules: the choice of the modules to compile will be left to the user... --> <set var="WXART2D_USE_AGGDRAWER">1</set> <set var="WXART2D_USE_ARTBASE">1</set> <set var="WXART2D_USE_CANEXTOBJ">1</set> <set var="WXART2D_USE_CANVAS">1</set> <set var="WXART2D_USE_CURVES">1</set> <set var="WXART2D_USE_DOCVIEW">1</set> <set var="WXART2D_USE_EDITOR">1</set> <set var="WXART2D_USE_GDSIO">1</set> <set var="WXART2D_USE_KBOOL">1</set> <set var="WXART2D_USE_KEYIO">1</set> <set var="WXART2D_USE_LUAWRAPS">1</set> <set var="WXART2D_USE_STSL">1</set> <set var="WXART2D_USE_SVGIO">1</set> <set var="WXART2D_USE_XMLPARSE">1</set> </if> <define-tag name="ide-modules-defines" rules="lib,dll"> <define>wxART2D_USE_CVGIO=$(A2D_CVGIO_DEFAULT)</define> <define>wxART2D_USE_AGGDRAWER=$(A2D_AGGDRAWER_DEFAULT)</define> <define>wxART2D_USE_ARTBASE=$(A2D_ARTBASE_DEFAULT)</define> <define>wxART2D_USE_CANEXTOBJ=$(A2D_CANEXTOBJ_DEFAULT)</define> <define>wxART2D_USE_CANVAS=$(A2D_CANVAS_DEFAULT)</define> <define>wxART2D_USE_CURVES=$(A2D_CURVES_DEFAULT)</define> <define>wxART2D_USE_DOCVIEW=$(A2D_DOCVIEW_DEFAULT)</define> <define>wxART2D_USE_EDITOR=$(A2D_EDITOR_DEFAULT)</define> <define>wxART2D_USE_GDSIO=$(A2D_GDSIO_DEFAULT)</define> <define>wxART2D_USE_KBOOL=$(A2D_KBOOL_DEFAULT)</define> <define>wxART2D_USE_KEYIO=$(A2D_KEYIO_DEFAULT)</define> <define>wxART2D_USE_LUAWRAPS=$(A2D_LUAWRAPS_DEFAULT)</define> <define>wxART2D_USE_STSL=$(A2D_STSL_DEFAULT)</define> <define>wxART2D_USE_SVGIO=$(A2D_SVGIO_DEFAULT)</define> <define>wxART2D_USE_XMLPARSE=$(A2D_XMLPARSE_DEFAULT)</define> <define>wxART2D_USING_IDE</define> </define-tag> <!-- --> <!-- SOME OPTIONS-DEPENDENT STUFF --> <!-- --> <if cond="TARGETING_IDE=='0'"><set var="INCLUDE_SWITCH">$(__INCLUDE_ARG)</set></if> <if cond="TARGETING_IDE=='0'"><set var="LIBPATH_SWITCH">$(__LIBDIR_ARG)</set></if> <if cond="TARGETING_IDE=='0'"><set var="DEFINE_SWITCH">$(__DEFINE_ARG)</set></if> <!-- for the SHARED defines --> <if cond="TARGETING_IDE=='0'"> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_AGGDRAWER=='1'">$(DEFINE_SWITCH)A2DAGGDRAWERMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_ARTBASE=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DARTBASEMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_CANEXTOBJ=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DCANEXTOBJMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_CANVAS=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DCANVASMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_CURVES=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DCURVESMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_DOCVIEW=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DDOCVIEWMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_EDITOR=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DEDITORMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DGENERALMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_GDSIO=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DGDSIOMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_KBOOL=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DKBOOLMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_KEYIO=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DKEYIOMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_LUAWRAPS=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DLUAWRAPSMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_STSL=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DSTSLMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_SVGIO=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DSVGIOMAKINGDLL</if></set> <set var="SHARED_DEFINES"><if cond="WX_SHARED=='1' and WXART2D_USE_XMLPARSE=='1'">$(SHARED_DEFINES) $(DEFINE_SWITCH)A2DXMLPARSEMAKINGDLL</if></set> <define-tag name="shared-defines" rules="lib,dll,exe"> <cppflags>$(SHARED_DEFINES)</cppflags> </define-tag> </if> <if cond="TARGETING_IDE=='1'"> <define-tag name="shared-defines" rules="lib,dll,exe"> <if cond="WX_SHARED=='1'"><define>A2DAGGDRAWERMAKINGDLL</define></if> </define-tag> </if> <!-- for the thirdyparty paths --> <set var="AGG_INCLUDE_PATH"> $(WXART2D_BASEDIR)$(DIRSEP)thirdparty$(DIRSEP)agg2$(DIRSEP)include </set> <set var="EXPAT_INCLUDE_PATH"> $(WXART2D_BASEDIR)$(DIRSEP)thirdparty$(DIRSEP)expat$(DIRSEP)include </set> <set var="FREETYPE_INCLUDE_PATH"> $(WXART2D_BASEDIR)$(DIRSEP)thirdparty$(DIRSEP)freetype$(DIRSEP)include </set> <set var="LUA_INCLUDE_PATH"> $(WXART2D_BASEDIR)$(DIRSEP)thirdparty$(DIRSEP)wxLua$(DIRSEP)include </set> <set var="AGG_LIB_PATH"> $(WXART2D_BASEDIR)$(DIRSEP)thirdparty$(DIRSEP)agg2$(DIRSEP)lib </set> <set var="EXPAT_LIB_PATH"> $(WXART2D_BASEDIR)$(DIRSEP)thirdparty$(DIRSEP)expat$(DIRSEP)lib </set> <set var="FREETYPE_LIB_PATH"> $(WXART2D_BASEDIR)$(DIRSEP)thirdparty$(DIRSEP)freetype$(DIRSEP)lib </set> <set var="LUA_LIB_PATH"> $(WXART2D_BASEDIR)$(DIRSEP)thirdparty$(DIRSEP)wxLua$(DIRSEP)lib </set> <if cond="TARGETING_IDE=='1'"> <!-- IDEs are less flexible: we always need to include all paths --> <define-tag name="thirdparty-include-paths" rules="lib,dll,exe"> <include>$(AGG_INCLUDE_PATH)</include> <include>$(EXPAT_INCLUDE_PATH)</include> <include>$(FREETYPE_INCLUDE_PATH)</include> <include>$(LUA_INCLUDE_PATH)</include> </define-tag> <define-tag name="thirdparty-lib-paths" rules="lib,dll,exe"> <lib-path>$(AGG_LIB_PATH)</lib-path> <lib-path>$(EXPAT_LIB_PATH)</lib-path> <lib-path>$(FREETYPE_LIB_PATH)</lib-path> <lib-path>$(LUA_LIB_PATH)</lib-path> </define-tag> <!-- the following IFs contains weak conditions since WXART2D_USE_Xxxx are not options when working with IDEs, just simple variables... --> <define-tag name="a2d-req-libs" rules="lib,dll,exe"> <if cond="WXART2D_USE_AGG=='1'"><sys-lib>agg</sys-lib></if> <if cond="WXART2D_USE_FREETYPE=='1'"><sys-lib>freetype</sys-lib></if> <if cond="WXART2D_USE_EXPAT=='1'"><sys-lib>expat</sys-lib></if> <if cond="WXART2D_USE_LUA=='1'"><sys-lib>wxlua</sys-lib></if> </define-tag> </if> <if cond="TARGETING_IDE=='0'"> <!-- we can include only the required paths --> <set var="THIRDPARTY_INCLUDE_PATH"> <if cond="WXART2D_USE_AGG=='1'">$(INCLUDE_SWITCH)$(AGG_INCLUDE_PATH)</if> </set> <set var="THIRDPARTY_INCLUDE_PATH"> <if cond="WXART2D_USE_EXPAT=='1'">$(THIRDPARTY_INCLUDE_PATH) $(INCLUDE_SWITCH)$(EXPAT_INCLUDE_PATH)</if> </set> <set var="THIRDPARTY_INCLUDE_PATH"> <if cond="WXART2D_USE_FREETYPE=='1'">$(THIRDPARTY_INCLUDE_PATH) $(INCLUDE_SWITCH)$(FREETYPE_INCLUDE_PATH)</if> </set> <set var="THIRDPARTY_INCLUDE_PATH"> <if cond="WXART2D_USE_LUA=='1'">$(THIRDPARTY_INCLUDE_PATH) $(INCLUDE_SWITCH)$(LUA_INCLUDE_PATH)</if> </set> <set var="THIRDPARTY_LIB_PATH"> <if cond="WXART2D_USE_AGG=='1'">$(LIBPATH_SWITCH)$(AGG_LIB_PATH)</if> </set> <set var="THIRDPARTY_LIB_PATH"> <if cond="WXART2D_USE_EXPAT=='1'">$(THIRDPARTY_LIB_PATH) $(LIBPATH_SWITCH)$(EXPAT_LIB_PATH)</if> </set> <set var="THIRDPARTY_LIB_PATH"> <if cond="WXART2D_USE_FREETYPE=='1'">$(THIRDPARTY_LIB_PATH) $(LIBPATH_SWITCH)$(FREETYPE_LIB_PATH)</if> </set> <set var="THIRDPARTY_LIB_PATH"> <if cond="WXART2D_USE_LUA=='1'">$(THIRDPARTY_LIB_PATH) $(LIBPATH_SWITCH)$(LUA_LIB_PATH)</if> </set> <set var="THIRDPARTY_AGG_LIB"> <if cond="WXART2D_USE_AGG=='1'">agg</if> </set> <set var="THIRDPARTY_EXPAT_LIB"> <if cond="WXART2D_USE_EXPAT=='1'">expat</if> </set> <set var="THIRDPARTY_FREETYPE_LIB"> <if cond="WXART2D_USE_FREETYPE=='1'">freetype</if> </set> <set var="THIRDPARTY_WXLUA_LIB"> <if cond="WXART2D_USE_LUA=='1'">wxlua</if> </set> <define-tag name="thirdparty-include-paths" rules="lib,dll,exe"> <cppflags>$(THIRDPARTY_INCLUDE_PATH)</cppflags> </define-tag> <define-tag name="thirdparty-lib-paths" rules="lib,dll,exe"> <ldflags>$(THIRDPARTY_LIB_PATH)</ldflags> </define-tag> <define-tag name="a2d-req-libs" rules="lib,dll,exe"> <sys-lib>$(THIRDPARTY_AGG_LIB)</sys-lib> <sys-lib>$(THIRDPARTY_EXPAT_LIB)</sys-lib> <sys-lib>$(THIRDPARTY_FREETYPE_LIB)</sys-lib> <sys-lib>$(THIRDPARTY_WXLUA_LIB)</sys-lib> </define-tag> </if> </makefile> --- NEW FILE: regen.bat --- @echo off REM REM MAKEFILE REGENERATION SCRIPT (for WinXP) REM REM author: Francesco Montorsi (fr...@us...) REM RCS-ID: $Id: regen.bat,v 1.1 2005/06/12 18:29:20 frm Exp $ echo. echo. echo Regenerating makefiles... echo. bakefile_gen echo. echo Regeneration completed. echo. echo. pause --- NEW FILE: Bakefiles.bkgen --- <?xml version="1.0" ?> <!-- $Id: Bakefiles.bkgen,v 1.1 2005/06/12 18:29:20 frm Exp $ --> <bakefile-gen> <disable-formats>gnu,dmars,cbx_unix,cbuilderx</disable-formats> <input>modules.bkl</input> <!-- required since wxArt2d uses wx presets stored in wxWidgets subfolders... --> <add-flags>-I%WXWIN%\build\bakefiles\wxpresets</add-flags> <!-- List of output formats to generate: --> <add-formats> msvc<!--autoconf,borland,dmars,mingw,msvc,msvc6prj,watcom,cbuilderx,cbx_unix,gnu --> </add-formats> <!-- Directories where msw makefiles should go: --> <add-flags formats="borland"> -o../msw/makefile.bcc </add-flags> <add-flags formats="dmars_smake"> -o../msw/makefile.dms </add-flags> <add-flags formats="dmars"> -o../msw/makefile.dmc </add-flags> <add-flags formats="mingw"> -o../msw/makefile.gcc </add-flags> <add-flags formats="msvc"> -o../msw/makefile.vc </add-flags> <add-flags formats="watcom"> -o../msw/makefile.wat </add-flags> <add-flags formats="msvc6prj"> <!-- the name of the DSW must be lowercase otherwise output libname will be lowercase for some targets and for some others it will be mixed... --> -o../msw/modules.dsw </add-flags> <!-- Directory where AUTOCONF files should go: --> <add-flags formats="autoconf"> -o../../Makefile.in </add-flags> <add-flags formats="autoconf"> <!-- bakefile will merge the conditions required by our Makefile.in with the conditions required by the others Makefile.in files of the project; wonderful ! --> -DAUTOCONF_MACROS_FILE=../../../autoconf_inc.m4 </add-flags> </bakefile-gen> --- NEW FILE: modules.bkl --- <?xml version="1.0" ?> <!-- Author: Francesco Montorsi <fr...@us...> --> <!-- RCS-ID: $Id: modules.bkl,v 1.1 2005/06/12 18:29:20 frm Exp $ --> <!-- --> <!-- WXLUA BAKEFILE --> <!-- --> <!-- The bakefile used to build all the modules. --> <!-- --> <makefile> <!-- This is a bakefile, that is, a generic template used to --> <!-- generate makefiles ALL supported compilers. --> <!-- To use this project file type something like: --> <!-- bakefile -fmsvc modules.bkl --> <!-- See http://bakefile.sourceforge.net for more info. --> <!-- This file contains the wxLua template --> <include file="../../../build/bakefiles/wxluabase.bkl"/> <!-- This one contains the lists of all source & header files --> <include file="sources.bkl"/> <!-- --> <!-- VARIABLES --> <!-- --> <!-- All the source files & header files linked above are relative to our base dir --> <if cond="FORMAT!='autoconf'"><set var="WXLUA_MODULEDIR">..$(DIRSEP)..</set></if> <if cond="FORMAT=='autoconf'"><set var="WXLUA_MODULEDIR">.</set></if> <set var="WXLUA_BASEDIR">$(WXLUA_MODULEDIR)$(DIRSEP)..</set> <!-- Put all the objects files generated by --> <!-- the compilation in a subfolder of BUILD --> <if cond="FORMAT!='autoconf'"><set var="BUILDDIR">$(FORMAT)$(WXLUA_LIBPOSTFIX)</set></if> <!-- Creates the following custom build rule for MSVC6PRJ file: copies $(WXLUA_BASEDIR)\include\msw\$(value).h into $(WXLUA_BASEDIR)\include\$(value).h NOTE: this tag must be used before the <sources> tag if you want that the configuration file will be created before any other source file is compiled... --> <define-tag name="msvc-copy-setup-h" rules="dll,lib,action"> <if cond="FORMAT=='msvc6prj'"> <set var="__hfilename">$(value)</set> <set var="__hfile">$(value).h</set> <set var="__updir">..</set> <set var="__updir_underscored">__</set> <set var="__destdir">..\..\..</set> <headers>..\include\msw\$(__hfile)</headers> <set var="_custom_build_files" append="1">$(__updir)\include\msw\$(__hfile)</set> <set var="_custom_build_$(__updir_underscored)_include_msw_$(__hfilename)_h"> Creating the configuration file $(__updir)\include\$(__hfile) from $(__updir)\include\msw\$(__hfile) InputPath=$(__updir)\include\msw\$(__hfile) "$(__updir)\include\$(__hfile)" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)" $(TAB)copy "$(DOLLAR)(InputPath)" $(__destdir)\include\$(__hfile) </set> </if> </define-tag> <!-- --> <!-- The list of wxLua OPTIONS --> <!-- --> <!-- third-party libs options --> <include file="../../../thirdparty/build/bakefiles/options.bkl"/> <!-- modules-specific options --> <include file="options.bkl"/> <!-- --> <!-- TEMPLATES --> <!-- --> <template id="a2d_lib" template="wxart2d-lib"> <dirname>$(WXLUA_BASEDIR)$(DIRSEP)$(WXLUA_LIBOUTPUT_FOLDER)</dirname> <thirdparty-include-paths/> <!-- IDEs are less flexible so we use a lot of wxART2D_USE_XXX defines and we avoid to use a art2dsetup.h file which we use instead for win32 command-line makefiles --> <if cond="TARGETING_IDE=='1'"> <ide-thirdparty-defines/> <ide-modules-defines/> </if> </template> <template id="a2d_dll" template="wxart2d"> <dirname>$(WXLUA_BASEDIR)$(DIRSEP)$(WXLUA_DLLOUTPUT_FOLDER)</dirname> <!-- <cppflags>$(SHARED_DEFINES)</cppflags> --> <thirdparty-include-paths/> <thirdparty-lib-paths/> <!-- The DLL version --> <version>$(WXLUA_VERSION)</version> <so_version>$(WXLUA_SOVERSION)</so_version> <mac_version>$(WXLUA_MACVERSION)</mac_version> <!-- Libraries must be put in the right order ! --> <a2d-req-libs/> <wx-lib>adv</wx-lib> <wx-lib>xml</wx-lib> <!-- in case we're using the XML layout load/save system --> <wx-lib>core</wx-lib> <wx-lib>base</wx-lib> </template> <template id="a2d_sample" template="wxart2d"> <thirdparty-include-paths/> <thirdparty-lib-paths/> <!-- Libraries must be put in the right order ! --> <a2d-req-libs/> <wx-lib>adv</wx-lib> <wx-lib>xml</wx-lib> <!-- in case we're using the XML layout load/save system --> <wx-lib>core</wx-lib> <wx-lib>base</wx-lib> </template> <!-- --> <!-- NEW RULES --> <!-- with these ones, each module/sample target takes few lines only --> <!-- --> <define-rule name="a2d_lib" extends="lib"> <template> <set var="__modname"/> </template> <define-tag name="module-name"> <set var="__modname">$(value)</set> <set var="__modnamelow">$(__modname.lower())</set> <set var="__modsrc">$(mk.evalExpr('$(' + __modnamelow + '_src)'))</set> <set var="__modsrc" append="1">$(mk.evalExpr('$(' + __modnamelow + '_specific_src)'))</set> <set var="__modhdr">$(mk.evalExpr('$(' + __modnamelow + '_hdr)'))</set> <!-- <set var="__modhdr" append="1">$(mk.evalExpr('$(' + __modnamelow + '_specific_hdr)'))</set> --> <libname>$(__modnamelow)</libname> <sources>$(__modsrc)</sources> <headers>$(__modhdr)</headers> <!-- to make MSVC6PRJ output look better... --> <msvc-file-group>$(__modname) sources:*.cpp</msvc-file-group> <msvc-file-group>$(__modname) headers:*.h</msvc-file-group> <if cond="FORMAT!='autoconf'"> <precomp-headers>on</precomp-headers> <precomp-headers-header>a2dprec</precomp-headers-header> <precomp-headers-file>a2dprec</precomp-headers-file> </if> </define-tag> </define-rule> <define-rule name="a2d_dll" extends="dll"> <template> <set var="__modname"/> </template> <define-tag name="module-name"> <set var="__modname">$(value)</set> <set var="__modnamelow">$(__modname.lower())</set> <set var="__modsrc">$(mk.evalExpr('$(' + __modnamelow + '_src)'))</set> <set var="__modsrc" append="1">$(mk.evalExpr('$(' + __modnamelow + '_specific_src)'))</set> <set var="__modhdr">$(mk.evalExpr('$(' + __modnamelow + '_hdr)'))</set> <!-- <set var="__modhdr" append="1">$(mk.evalExpr('$(' + __modnamelow + '_specific_hdr)'))</set> --> <libname>$(__modnamelow)</libname> <sources>$(__modsrc)</sources> <headers>$(__modhdr)</headers> <!-- to make MSVC6PRJ output look better... --> <msvc-file-group>$(__modname) sources:*.cpp</msvc-file-group> <msvc-file-group>$(__modname) headers:*.h</msvc-file-group> <!-- now, shared stuff --> <define>A2D$(__modname)MAKINGDLL</define> </define-tag> </define-rule> <define-rule name="a2d_sample" extends="exe"> <template> <set var="__modowner"/> <set var="__sampname"/> </template> <define-tag name="name"> <set var="__sampname">$(value)</set> <exename>$(__sampname)</exename> <sources>$(__modowner)/samples/$(__sampname)/$(__sampname).cpp</sources> <headers>$(__modowner)/samples/$(__sampname)/$(__sampname).h</headers> <dirname>$(WXLUA_MODULEDIR)$(DIRSEP)$(__modowner)/samples/$(__sampname)</dirname> </define-tag> <define-tag name="module-dep"> <if cond="TARGETING_IDE=='1'"> <depends>$(value.lower())_lib</depends> </if> <a2d-lib>$(value.lower())</a2d-lib> </define-tag> <define-tag name="owner"> <set var="__modowner">$(value.lower())</set> <!-- we always depend both from our owner and from GENERAL modules --> <module-dep>$(value)</module-dep> <module-dep>GENERAL</module-dep> <!-- our name always matches the ID of this target... --> <if cond="FORMAT=='msvc6prj'"> <!-- except with MSVC6PRJ: in this case we need to make it begin with 'samp_' so to make easier for the user to recognize the sample projects and the module projects --> <name>$(id)</name> <set var="id">samp_$(__modowner)_$(id)</set> </if> <if cond="FORMAT!='msvc6prj'"> <name>$(id)</name> </if> </define-tag> <define-tag name="thirdyparty-dep"> </define-tag> </define-rule> <!-- --> <!-- AUXILIARY TARGETS --> <!-- --> <if cond="TARGETING_IDE=='0' and TARGETING_WIN32=='1'"> <!-- the two folders where output will be stored --> <mkdir id="setuplibdir"> <dependency-of>all</dependency-of> <dir>$(WXLUA_BASEDIR)$(DIRSEP)$(WXLUA_LIBOUTPUT_FOLDER)</dir> </mkdir> <mkdir id="setupdlldir"> <dependency-of>all</dependency-of> <dir>$(WXLUA_BASEDIR)$(DIRSEP)$(WXLUA_DLLOUTPUT_FOLDER)</dir> </mkdir> <!-- the file where all wxART2D_USE_XXXX defined symbols will be written --> <set var="SETUP_FILENAME">art2dsetup.h</set> <set var="SETUP_FILE">$(WXLUA_BASEDIR)$(DIRSEP)include$(DIRSEP)$(SETUP_FILENAME)</set> <!-- a little helper --> <set var="CMD_PREFIX">@</set> <!-- a little shortcut for the target below --> <define-tag name="setupdef" rules="action"> <!-- VERY IMPORTANT: we cannot use the '#' symbol in a makefile since it's interpreted as comment marker, even when quoted ! So, we cannot use echo or any other program to write #define commands; instead we write 'define wxART2D_USE_XXXXX 1/0' and then we add the '#' symbol using a batch file (which allows a safe use of '#' symbols). --> <command>$(CMD_PREFIX)echo define wxART2D_USE_$(value)$(TAB)$(mk.evalExpr('$(WXLUA_USE_' + value + ')')) >>$(SETUP_FILE)</command> </define-tag> <!-- when running this target, we are sure we are on win32 --> <action id="setup"> <dependency-of>all</dependency-of> <command>@$(RM) $(SETUP_FILE) >NUL</command> <!-- tell the user what we are doing --> <command>$(CMD_PREFIX)echo ==============================================================</command> <command>$(CMD_PREFIX)echo Writing the new $(SETUP_FILE) file...</command> <command>$(CMD_PREFIX)echo ==============================================================</command> <!-- write a small intro in the setup file --> <command>$(CMD_PREFIX)echo // $(SETUP_FILENAME) >>$(SETUP_FILE)</command> <command>$(CMD_PREFIX)echo // This is an automatically generated file... >>$(SETUP_FILE)</command> <command>$(CMD_PREFIX)echo // Do not modify; all changes will be overwritten ! >>$(SETUP_FILE)</command> <!-- now, dump our options values so all wxLua code can access them --> <setupdef>AGGDRAWER</setupdef> <setupdef>ARTBASE</setupdef> <setupdef>CANEXTOBJ</setupdef> <setupdef>CANVAS</setupdef> <setupdef>CURVES</setupdef> <setupdef>DOCVIEW</setupdef> <setupdef>EDITOR</setupdef> <setupdef>GDSIO</setupdef> <setupdef>KBOOL</setupdef> <setupdef>KEYIO</setupdef> <setupdef>LUAWRAPS</setupdef> <setupdef>STSL</setupdef> <setupdef>SVGIO</setupdef> <setupdef>XMLPARSE</setupdef> <!-- do not try to use echo to write empty lines: this is not safe & portable ! --> <command>$(CMD_PREFIX)echo // >>$(SETUP_FILE)</command> <command>$(CMD_PREFIX)echo // external dependencies... >>$(SETUP_FILE)</command> <setupdef>CVGIO</setupdef> <setupdef>FREETYPE</setupdef> <setupdef>EXPAT</setupdef> <setupdef>LUA</setupdef> <setupdef>AGG</setupdef> <!-- run this batch file to replace the 'define' strings with '#define' strings in the just written file --> <command>CALL makesetup.bat $(SETUP_FILENAME)</command> </action> </if> <!-- --> <!-- The list of wxLua MODULES --> <!-- --> <!-- all the sources listed into sources.bkl contain path relative to our MODULES dir --> <set var="SRCDIR">$(WXLUA_MODULEDIR)</set> <wxlua_lib id="" template="a2d_lib" cond="WX_SHARED=='0' and WXLUA_USE_XMLPARSE=='1'"><module-name>XMLPARSE</module-name></a2d_lib> <wxlua_dll id="aggdrawer_dll" template="a2d_dll" cond="WX_SHARED=='1' and WXLUA_USE_AGGDRAWER=='1'"><module-name>AGGDRAWER</module-name></a2d_dll> <!-- since all the previous targets would generate each one a different DSP project (i.e. a lot of project files), we instead tell Bakefile to merge the LIBS & DLLS targets so to generate only half of the DSP files --> <!-- NOTE: we use 'mod_' as prefix so that when opening the DSW file, the user immediately gets a good idea about what is a MODULE and what is a SAMPLE (see the a2d_sample rule) --> <set var="MSVC6PRJ_MERGED_TARGETS"> mod_aggdrawer=aggdrawer_lib+aggdrawer_dll mod_artbase=artbase_lib+artbase_dll mod_canextobj=canextobj_lib+canextobj_dll mod_canvas=canvas_lib+canvas_dll mod_curves=curves_lib+curves_dll mod_docview=docview_lib+docview_dll mod_editor=editor_lib+editor_dll mod_gdsio=gdsio_lib+gdsio_dll mod_kbool=kbool_lib+kbool_dll mod_keyio=keyio_lib+keyio_dll mod_luawraps=luawraps_lib+luawraps_dll mod_stsl=stsl_lib+stsl_dll mod_svgio=svgio_lib+svgio_dll mod_xmlparse=xmlparse_lib+xmlparse_dll mod_general=general_lib+general_dll <!-- don't forget the GENERAL module --> </set> <!-- --> <!-- The list of wxLua SAMPLES --> <!-- --> <!-- AGGDRAWER samples --> <a2d_sample id="directdrawagg" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_AGGDRAWER=='1'"> <owner>AGGDRAWER</owner> <module-dep>XMLPARSE</module-dep> <module-dep>ARTBASE</module-dep> </a2d_sample> <a2d_sample id="tutoagg" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_AGGDRAWER=='1'"> <owner>AGGDRAWER</owner> <module-dep>ARTBASE</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>EDITOR</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>SVGIO</module-dep> </a2d_sample> <!-- ARTBASE samples --> <a2d_sample id="directdraw" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_ARTBASE=='1' and WXLUA_USE_XMLPARSE=='1'"> <owner>ARTBASE</owner> <module-dep>XMLPARSE</module-dep> </a2d_sample> <a2d_sample id="drawtest" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_ARTBASE=='1' and WXLUA_USE_AGGDRAWER=='1'"> <owner>ARTBASE</owner> <module-dep>XMLPARSE</module-dep> <module-dep>AGGDRAWER</module-dep> </a2d_sample> <!-- CANVAS samples --> <a2d_sample id="boolop" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_CANVAS=='1'"> <owner>CANVAS</owner> <module-dep>KBOOL</module-dep> <module-dep>ARTBASE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>SVGIO</module-dep> </a2d_sample> <a2d_sample id="canmdi" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_CANVAS=='1'"> <owner>CANVAS</owner> <module-dep>ARTBASE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>SVGIO</module-dep> </a2d_sample> <a2d_sample id="cansim" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_CANVAS=='1'"> <owner>CANVAS</owner> <module-dep>KBOOL</module-dep> <module-dep>ARTBASE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>SVGIO</module-dep> </a2d_sample> <a2d_sample id="simple" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_CANVAS=='1'"> <owner>CANVAS</owner> <module-dep>KBOOL</module-dep> <module-dep>ARTBASE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>SVGIO</module-dep> </a2d_sample> <a2d_sample id="split" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_CANVAS=='1'"> <owner>CANVAS</owner> <module-dep>KBOOL</module-dep> <module-dep>ARTBASE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>SVGIO</module-dep> </a2d_sample> <!-- CURVES samples --> <a2d_sample id="curtuto1" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_CURVES=='1'"> <owner>CURVES</owner> <module-dep>ARTBASE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANVAS</module-dep> <module-dep>CANEXTOBJ</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>EDITOR</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>SVGIO</module-dep> </a2d_sample> <!-- DOCVIEW samples --> <define-tag name="docview-specific" rules="a2d_sample"> <include>$(WXLUA_MODULEDIR)/docview/samples/common</include> <sources>docview/samples/common/doc.cpp docview/samples/common/view.cpp docview/samples/common/docdialog.cpp</sources> <headers>docview/samples/common/doc.h docview/samples/common/view.h docview/samples/common/docdialog.h</headers> </define-tag> <a2d_sample id="mdi" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> <owner>DOCVIEW</owner> <docview-specific/> <module-dep>ARTBASE</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>DOCVIEW</module-dep> </a2d_sample> <a2d_sample id="multiframe" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> <owner>DOCVIEW</owner> <docview-specific/> <module-dep>ARTBASE</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>DOCVIEW</module-dep> </a2d_sample> <a2d_sample id="multiwin" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> <owner>DOCVIEW</owner> <docview-specific/> <module-dep>ARTBASE</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>DOCVIEW</module-dep> </a2d_sample> <a2d_sample id="nonmanaged" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> <owner>DOCVIEW</owner> <docview-specific/> <module-dep>ARTBASE</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>DOCVIEW</module-dep> </a2d_sample> <a2d_sample id="singleframe" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> <owner>DOCVIEW</owner> <docview-specific/> <module-dep>ARTBASE</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>DOCVIEW</module-dep> </a2d_sample> <a2d_sample id="splitwin" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> <owner>DOCVIEW</owner> <docview-specific/> <module-dep>ARTBASE</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>DOCVIEW</module-dep> </a2d_sample> <a2d_sample id="tabframe" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_DOCVIEW=='1'"> <owner>DOCVIEW</owner> <docview-specific/> <module-dep>ARTBASE</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>DOCVIEW</module-dep> </a2d_sample> <!-- EDITOR samples --> <define-tag name="editor-specific" rules="a2d_sample"> <include>$(WXLUA_MODULEDIR)/editor/samples/common</include> <sources>editor/samples/common/screen.cpp</sources> <headers>editor/samples/common/screen.h</headers> </define-tag> <a2d_sample id="editmdi" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> <owner>EDITOR</owner> <editor-specific/> <module-dep>ARTBASE</module-dep> <module-dep>CURVES</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANVAS</module-dep> <module-dep>CANEXTOBJ</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>SVGIO</module-dep> </a2d_sample> <a2d_sample id="single" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> <owner>EDITOR</owner> <editor-specific/> <module-dep>ARTBASE</module-dep> <module-dep>CURVES</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>SVGIO</module-dep> <module-dep>CANEXTOBJ</module-dep> </a2d_sample> <a2d_sample id="single2" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> <owner>EDITOR</owner> <editor-specific/> <module-dep>ARTBASE</module-dep> <module-dep>CURVES</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>SVGIO</module-dep> <module-dep>CANEXTOBJ</module-dep> </a2d_sample> <a2d_sample id="tuto" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> <owner>EDITOR</owner> <!-- <editor-specific/> DO NOT INCLUDE THIS - NOT REQUIRED BY THIS SAMPLE --> <module-dep>ARTBASE</module-dep> <module-dep>CURVES</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>SVGIO</module-dep> <module-dep>CANEXTOBJ</module-dep> </a2d_sample> <a2d_sample id="tuto3" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> <owner>EDITOR</owner> <editor-specific/> <module-dep>ARTBASE</module-dep> <module-dep>CURVES</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>SVGIO</module-dep> <module-dep>CANEXTOBJ</module-dep> </a2d_sample> <a2d_sample id="tuto4" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> <owner>EDITOR</owner> <editor-specific/> <module-dep>ARTBASE</module-dep> <module-dep>CURVES</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>SVGIO</module-dep> <module-dep>CANEXTOBJ</module-dep> <module-dep>CURVES</module-dep> </a2d_sample> <a2d_sample id="vdrawm" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> <owner>EDITOR</owner> <editor-specific/> <sources>editor/samples/vdrawm/view.cpp</sources> <headers>editor/samples/vdrawm/view.h</headers> <module-dep>ARTBASE</module-dep> <module-dep>CURVES</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>CANEXTOBJ</module-dep> <module-dep>SVGIO</module-dep> <module-dep>GDSIO</module-dep> <module-dep>AGGDRAWER</module-dep> </a2d_sample> <a2d_sample id="vdraws" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> <owner>EDITOR</owner> <editor-specific/> <module-dep>ARTBASE</module-dep> <module-dep>CURVES</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>CANEXTOBJ</module-dep> <module-dep>SVGIO</module-dep> <module-dep>GDSIO</module-dep> <module-dep>AGGDRAWER</module-dep> </a2d_sample> <a2d_sample id="viewmul" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> <owner>EDITOR</owner> <editor-specific/> <sources>editor/samples/viewmul/doc.cpp</sources> <headers>editor/samples/viewmul/doc.h</headers> <sources>editor/samples/viewmul/docv.cpp</sources> <headers>editor/samples/viewmul/docv.h</headers> <module-dep>ARTBASE</module-dep> <module-dep>CURVES</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>CANEXTOBJ</module-dep> <module-dep>SVGIO</module-dep> </a2d_sample> <a2d_sample id="wires" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> <owner>EDITOR</owner> <editor-specific/> <sources>editor/samples/wires/elements.cpp</sources> <headers>editor/samples/wires/elements.h</headers> <module-dep>ARTBASE</module-dep> <module-dep>CURVES</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>CANEXTOBJ</module-dep> <module-dep>SVGIO</module-dep> </a2d_sample> <a2d_sample id="zoom" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_EDITOR=='1'"> <owner>EDITOR</owner> <editor-specific/> <module-dep>CURVES</module-dep> <module-dep>ARTBASE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANEXTOBJ</module-dep> <module-dep>SVGIO</module-dep> <module-dep>CANVAS</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>XMLPARSE</module-dep> </a2d_sample> <!-- KBOOL samples --> <a2d_sample id="boolonly" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_KBOOL=='1'"> <owner>KBOOL</owner> <module-dep>ARTBASE</module-dep> <module-dep>DOCVIEW</module-dep> </a2d_sample> <!-- STSL samples --> <a2d_sample id="stslcom" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_STSL=='1'"> <owner>STSL</owner> <sources>stsl/samples/stslcom/tedit.cpp</sources> <headers>stsl/samples/stslcom/tedit.h</headers> <sources>stsl/samples/stslcom/docv.cpp</sources> <headers>stsl/samples/stslcom/docv.h</headers> <module-dep>ARTBASE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> <module-dep>EDITOR</module-dep> <module-dep>SVGIO</module-dep> <module-dep>CANEXTOBJ</module-dep> </a2d_sample> <a2d_sample id="stsltuto" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_STSL=='1'"> <owner>STSL</owner> <module-dep>ARTBASE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> </a2d_sample> <a2d_sample id="stsltuto2" template="a2d_sample" cond="SAMPLES=='1' and WXLUA_USE_STSL=='1'"> <owner>STSL</owner> <module-dep>ARTBASE</module-dep> <module-dep>DOCVIEW</module-dep> <module-dep>CANVAS</module-dep> <module-dep>XMLPARSE</module-dep> </a2d_sample> </makefile> --- NEW FILE: .cvsignore --- *.state |