From: Francesco M. <fr...@us...> - 2008-01-20 22:40:54
|
Update of /cvsroot/wxlua/wxLua/build/msw In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv12101/build/msw Modified Files: makefile.bcc makefile.gcc makefile.vc makefile.wat Log Message: force Bakefile in to generate makefiles with 'native' EOLs Index: makefile.vc =================================================================== RCS file: /cvsroot/wxlua/wxLua/build/msw/makefile.vc,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** makefile.vc 19 Jan 2008 21:37:09 -0000 1.53 --- makefile.vc 20 Jan 2008 22:40:07 -0000 1.54 *************** *** 1,262 **** ! # ========================================================================= ! # This makefile was generated by ! # Bakefile 0.2.3 (http://www.bakefile.org) ! # Do not modify, all changes will be overwritten! ! # ========================================================================= ! ! ! ! # ------------------------------------------------------------------------- ! # These are configurable options: ! # ------------------------------------------------------------------------- ! ! # C compiler ! CC = cl ! ! # C++ compiler ! CXX = cl ! ! # Standard flags for CC ! CFLAGS = ! ! # Standard flags for C++ ! CXXFLAGS = ! ! # Standard preprocessor flags (common for CC and CXX) ! CPPFLAGS = ! ! # Standard linker flags ! LDFLAGS = ! ! # Builds in debug mode [debug,release] ! BUILD = debug ! ! # Builds in Unicode mode [0,1] ! # 1 - Unicode ! UNICODE = 0 ! ! # Builds in shared mode [0,1] ! # 1 - DLL ! SHARED = 0 ! ! # Use DLL build of wx library? [0,1] ! # 0 - Static ! # 1 - DLL ! WX_SHARED = 0 ! ! # Version of the wx library to build against. ! WX_VERSION = 28 ! ! # Use monolithic build of wxWidgets? [0,1] ! # 0 - Multilib ! # 1 - Monolithic ! WX_MONOLITHIC = 0 ! ! # The directory where wxWidgets library is installed ! WX_DIR = $(WXWIN) ! ! # Should the wxLua applications be compiled ? [0,1] ! USE_APPS = 1 ! ! # Should wxLua use the system-wide Lua library ? [0,1] ! USE_SYSTEM_LUA = 0 ! ! # The path to the Lua library includes ! LUA_INCLUDE_DIR = ..\..\..\modules\lua\include ! ! # The path to the Lua library libs ! LUA_LIB_DIR = ..\..\..\modules\lua\lib ! ! # This is an advanced option. Handle with care. ! # Version of C runtime library to use. You can change this to ! # static if SHARED=0, but it is highly recommended to not do ! # it if SHARED=1 unless you know what you are doing. [dynamic,static] ! RUNTIME_LIBS = dynamic ! ! # This is an advanced option. Handle with care. ! # The thread model to use: use 'multi' default to allow ! # multi-threading. [multi,single] ! THREADING = multi ! ! # Do the wxLua bindings for the wxAdv lib need to be compiled ? [0,1] ! USE_WXBINDADV = 1 ! ! # Do the wxLua bindings for the wxAUI lib need to be compiled ? [0,1] ! USE_WXBINDAUI = 1 ! ! # Do the wxLua bindings for the wxBase lib need to be compiled ? [0,1] ! USE_WXBINDBASE = 1 ! ! # Do the wxLua bindings for the wxCore lib need to be compiled ? [0,1] ! USE_WXBINDCORE = 1 ! ! # Do the wxLua bindings for the wxGL lib need to be compiled ? [0,1] ! USE_WXBINDGL = 1 ! ! # Do the wxLua bindings for the wxHTML lib need to be compiled ? [0,1] ! USE_WXBINDHTML = 1 ! ! # Do the wxLua bindings for the wxMedia lib need to be compiled ? [0,1] ! USE_WXBINDMEDIA = 1 ! ! # Do the wxLua bindings for the wxNet lib need to be compiled ? [0,1] ! USE_WXBINDNET = 1 ! ! # Do the wxLua bindings for the wxRichText lib need to be compiled ? [0,1] ! USE_WXBINDRICHTEXT = 0 ! ! # Do the wxLua bindings for wxSTC need to be compiled ? [0,1] ! USE_WXBINDSTC = 1 ! ! # Do the wxLua bindings for wxXML need to be compiled ? [0,1] ! USE_WXBINDXML = 1 ! ! # Do the wxLua bindings for wxXRC need to be compiled ? [0,1] ! USE_WXBINDXRC = 1 ! ! # Does the wxLua debug support need to be compiled ? [0,1] ! USE_WXLUADEBUG = 1 ! ! # Does the wxLua debug socket support need to be compiled ? [0,1] ! USE_WXLUASOCKET = 1 ! ! # Compile the lua module ? [0,1] ! USE_LUAMODULE = 1 ! ! # Build a monolithic Lua module ? [0,1] ! MONOLITHIC_LUAMODULE = 0 ! ! # Compile the wxLua app ? [0,1] ! USE_WXLUAAPP = 1 ! ! # Compile the wxLuaCan app ? [0,1] ! USE_WXLUACANAPP = 1 ! ! # The path to the wxStEdit component (meaningful only when USE_WXLUAEDITAPP==1) ! WXSTEDIT_DIR = $(WXSTEDIT) ! ! # Compile the wxLuaEditor app ? [0,1] ! USE_WXLUAEDITAPP = 0 ! ! # Compile the wxLuaFreeze app ? [0,1] ! USE_WXLUAFREEZEAPP = 1 ! ! ! ! # ------------------------------------------------------------------------- ! # Do not modify the rest of this file! ! # ------------------------------------------------------------------------- ! ! ### Variables: ### ! ! MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ ! CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" BUILD="$(BUILD)" \ ! UNICODE="$(UNICODE)" SHARED="$(SHARED)" WX_SHARED="$(WX_SHARED)" \ ! WX_VERSION="$(WX_VERSION)" WX_MONOLITHIC="$(WX_MONOLITHIC)" \ ! WX_DIR="$(WX_DIR)" USE_APPS="$(USE_APPS)" \ ! USE_SYSTEM_LUA="$(USE_SYSTEM_LUA)" LUA_INCLUDE_DIR="$(LUA_INCLUDE_DIR)" \ ! LUA_LIB_DIR="$(LUA_LIB_DIR)" RUNTIME_LIBS="$(RUNTIME_LIBS)" \ ! THREADING="$(THREADING)" USE_WXBINDADV="$(USE_WXBINDADV)" \ ! USE_WXBINDAUI="$(USE_WXBINDAUI)" USE_WXBINDBASE="$(USE_WXBINDBASE)" \ ! USE_WXBINDCORE="$(USE_WXBINDCORE)" USE_WXBINDGL="$(USE_WXBINDGL)" \ ! USE_WXBINDHTML="$(USE_WXBINDHTML)" USE_WXBINDMEDIA="$(USE_WXBINDMEDIA)" \ ! USE_WXBINDNET="$(USE_WXBINDNET)" \ ! USE_WXBINDRICHTEXT="$(USE_WXBINDRICHTEXT)" \ ! USE_WXBINDSTC="$(USE_WXBINDSTC)" USE_WXBINDXML="$(USE_WXBINDXML)" \ ! USE_WXBINDXRC="$(USE_WXBINDXRC)" USE_WXLUADEBUG="$(USE_WXLUADEBUG)" \ ! USE_WXLUASOCKET="$(USE_WXLUASOCKET)" USE_LUAMODULE="$(USE_LUAMODULE)" \ ! MONOLITHIC_LUAMODULE="$(MONOLITHIC_LUAMODULE)" \ ! USE_WXLUAAPP="$(USE_WXLUAAPP)" USE_WXLUACANAPP="$(USE_WXLUACANAPP)" \ ! WXSTEDIT_DIR="$(WXSTEDIT_DIR)" USE_WXLUAEDITAPP="$(USE_WXLUAEDITAPP)" \ ! USE_WXLUAFREEZEAPP="$(USE_WXLUAFREEZEAPP)" ! ! ### Conditionally set variables: ### ! ! !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1" ! WXLIBPOSTFIX = ud ! !endif ! !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0" ! WXLIBPOSTFIX = d ! !endif ! !if "$(BUILD)" == "release" && "$(UNICODE)" == "1" ! WXLIBPOSTFIX = u ! !endif ! !if "$(WX_SHARED)" == "0" ! WXLIBPATH = \lib\vc_lib ! !endif ! !if "$(WX_SHARED)" == "1" ! WXLIBPATH = \lib\vc_dll ! !endif ! !if "$(SHARED)" == "0" ! _BUILDDIR_SHARED_SUFFIX = ! !endif ! !if "$(SHARED)" == "1" ! _BUILDDIR_SHARED_SUFFIX = _dll ! !endif ! !if "$(USE_APPS)" == "1" ! __apps___depname = sub_apps ! !endif ! ! ! all: vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX): ! -if not exist vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) mkdir vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! ! ### Targets: ### ! ! all: test_for_selected_wxbuild sub_modules $(__apps___depname) ! ! clean: ! -if exist vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj del vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj ! -if exist vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res del vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res ! -if exist vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.pch del vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.pch ! cd ..\..\modules\build\msw ! $(MAKE) -f makefile.vc $(MAKEARGS) clean ! cd "$(MAKEDIR)" ! cd ..\..\apps\build\msw ! $(MAKE) -f makefile.vc $(MAKEARGS) clean ! cd "$(MAKEDIR)" ! ! test_for_selected_wxbuild: ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo The selected wxWidgets build is not available! ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo Please use the options prefixed with WX_ to select another wxWidgets build. ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! exit 1 ! ! sub_modules: ! cd ..\..\modules\build\msw ! $(MAKE) -f makefile.vc $(MAKEARGS) ! cd "$(MAKEDIR)" ! ! !if "$(USE_APPS)" == "1" ! sub_apps: ! cd ..\..\apps\build\msw ! $(MAKE) -f makefile.vc $(MAKEARGS) ! cd "$(MAKEDIR)" ! !endif ! ! docs: ! @echo ============================================= ! @echo Creating wxLua documentation using doxygen... ! @echo ============================================= ! cd ../..\docs ! doxygen doxygen.cfg ! ! compress: ! @echo ============================================= ! @echo Compressing wxLua binaries (requires UPX)... ! @echo ============================================= ! cd ..\..\bin ! upx -9 --force *.exe ! cd ..\build\msw ! ! ! !if "$(SHARED)" == "1" && "$(WX_SHARED)" == "0" ! !error Cannot build a SHARED version of wxLua (SHARED is 1) against a static version of wxWidgets (WX_SHARED is 0) ! You can only do the opposite (STATIC build of wxLua against SHARED build of wxWidgets) ! !endif --- 1,262 ---- ! # ========================================================================= ! # This makefile was generated by ! # Bakefile 0.2.3 (http://www.bakefile.org) ! # Do not modify, all changes will be overwritten! ! # ========================================================================= ! ! ! ! # ------------------------------------------------------------------------- ! # These are configurable options: ! # ------------------------------------------------------------------------- ! ! # C compiler ! CC = cl ! ! # C++ compiler ! CXX = cl ! ! # Standard flags for CC ! CFLAGS = ! ! # Standard flags for C++ ! CXXFLAGS = ! ! # Standard preprocessor flags (common for CC and CXX) ! CPPFLAGS = ! ! # Standard linker flags ! LDFLAGS = ! ! # Builds in debug mode [debug,release] ! BUILD = debug ! ! # Builds in Unicode mode [0,1] ! # 1 - Unicode ! UNICODE = 0 ! ! # Builds in shared mode [0,1] ! # 1 - DLL ! SHARED = 0 ! ! # Use DLL build of wx library? [0,1] ! # 0 - Static ! # 1 - DLL ! WX_SHARED = 0 ! ! # Version of the wx library to build against. ! WX_VERSION = 28 ! ! # Use monolithic build of wxWidgets? [0,1] ! # 0 - Multilib ! # 1 - Monolithic ! WX_MONOLITHIC = 0 ! ! # The directory where wxWidgets library is installed ! WX_DIR = $(WXWIN) ! ! # Should the wxLua applications be compiled ? [0,1] ! USE_APPS = 1 ! ! # Should wxLua use the system-wide Lua library ? [0,1] ! USE_SYSTEM_LUA = 0 ! ! # The path to the Lua library includes ! LUA_INCLUDE_DIR = ..\..\..\modules\lua\include ! ! # The path to the Lua library libs ! LUA_LIB_DIR = ..\..\..\modules\lua\lib ! ! # This is an advanced option. Handle with care. ! # Version of C runtime library to use. You can change this to ! # static if SHARED=0, but it is highly recommended to not do ! # it if SHARED=1 unless you know what you are doing. [dynamic,static] ! RUNTIME_LIBS = dynamic ! ! # This is an advanced option. Handle with care. ! # The thread model to use: use 'multi' default to allow ! # multi-threading. [multi,single] ! THREADING = multi ! ! # Do the wxLua bindings for the wxAdv lib need to be compiled ? [0,1] ! USE_WXBINDADV = 1 ! ! # Do the wxLua bindings for the wxAUI lib need to be compiled ? [0,1] ! USE_WXBINDAUI = 1 ! ! # Do the wxLua bindings for the wxBase lib need to be compiled ? [0,1] ! USE_WXBINDBASE = 1 ! ! # Do the wxLua bindings for the wxCore lib need to be compiled ? [0,1] ! USE_WXBINDCORE = 1 ! ! # Do the wxLua bindings for the wxGL lib need to be compiled ? [0,1] ! USE_WXBINDGL = 1 ! ! # Do the wxLua bindings for the wxHTML lib need to be compiled ? [0,1] ! USE_WXBINDHTML = 1 ! ! # Do the wxLua bindings for the wxMedia lib need to be compiled ? [0,1] ! USE_WXBINDMEDIA = 1 ! ! # Do the wxLua bindings for the wxNet lib need to be compiled ? [0,1] ! USE_WXBINDNET = 1 ! ! # Do the wxLua bindings for the wxRichText lib need to be compiled ? [0,1] ! USE_WXBINDRICHTEXT = 0 ! ! # Do the wxLua bindings for wxSTC need to be compiled ? [0,1] ! USE_WXBINDSTC = 1 ! ! # Do the wxLua bindings for wxXML need to be compiled ? [0,1] ! USE_WXBINDXML = 1 ! ! # Do the wxLua bindings for wxXRC need to be compiled ? [0,1] ! USE_WXBINDXRC = 1 ! ! # Does the wxLua debug support need to be compiled ? [0,1] ! USE_WXLUADEBUG = 1 ! ! # Does the wxLua debug socket support need to be compiled ? [0,1] ! USE_WXLUASOCKET = 1 ! ! # Compile the lua module ? [0,1] ! USE_LUAMODULE = 1 ! ! # Build a monolithic Lua module ? [0,1] ! MONOLITHIC_LUAMODULE = 0 ! ! # Compile the wxLua app ? [0,1] ! USE_WXLUAAPP = 1 ! ! # Compile the wxLuaCan app ? [0,1] ! USE_WXLUACANAPP = 1 ! ! # The path to the wxStEdit component (meaningful only when USE_WXLUAEDITAPP==1) ! WXSTEDIT_DIR = $(WXSTEDIT) ! ! # Compile the wxLuaEditor app ? [0,1] ! USE_WXLUAEDITAPP = 0 ! ! # Compile the wxLuaFreeze app ? [0,1] ! USE_WXLUAFREEZEAPP = 1 ! ! ! ! # ------------------------------------------------------------------------- ! # Do not modify the rest of this file! ! # ------------------------------------------------------------------------- ! ! ### Variables: ### ! ! MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ ! CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" BUILD="$(BUILD)" \ ! UNICODE="$(UNICODE)" SHARED="$(SHARED)" WX_SHARED="$(WX_SHARED)" \ ! WX_VERSION="$(WX_VERSION)" WX_MONOLITHIC="$(WX_MONOLITHIC)" \ ! WX_DIR="$(WX_DIR)" USE_APPS="$(USE_APPS)" \ ! USE_SYSTEM_LUA="$(USE_SYSTEM_LUA)" LUA_INCLUDE_DIR="$(LUA_INCLUDE_DIR)" \ ! LUA_LIB_DIR="$(LUA_LIB_DIR)" RUNTIME_LIBS="$(RUNTIME_LIBS)" \ ! THREADING="$(THREADING)" USE_WXBINDADV="$(USE_WXBINDADV)" \ ! USE_WXBINDAUI="$(USE_WXBINDAUI)" USE_WXBINDBASE="$(USE_WXBINDBASE)" \ ! USE_WXBINDCORE="$(USE_WXBINDCORE)" USE_WXBINDGL="$(USE_WXBINDGL)" \ ! USE_WXBINDHTML="$(USE_WXBINDHTML)" USE_WXBINDMEDIA="$(USE_WXBINDMEDIA)" \ ! USE_WXBINDNET="$(USE_WXBINDNET)" \ ! USE_WXBINDRICHTEXT="$(USE_WXBINDRICHTEXT)" \ ! USE_WXBINDSTC="$(USE_WXBINDSTC)" USE_WXBINDXML="$(USE_WXBINDXML)" \ ! USE_WXBINDXRC="$(USE_WXBINDXRC)" USE_WXLUADEBUG="$(USE_WXLUADEBUG)" \ ! USE_WXLUASOCKET="$(USE_WXLUASOCKET)" USE_LUAMODULE="$(USE_LUAMODULE)" \ ! MONOLITHIC_LUAMODULE="$(MONOLITHIC_LUAMODULE)" \ ! USE_WXLUAAPP="$(USE_WXLUAAPP)" USE_WXLUACANAPP="$(USE_WXLUACANAPP)" \ ! WXSTEDIT_DIR="$(WXSTEDIT_DIR)" USE_WXLUAEDITAPP="$(USE_WXLUAEDITAPP)" \ ! USE_WXLUAFREEZEAPP="$(USE_WXLUAFREEZEAPP)" ! ! ### Conditionally set variables: ### ! ! !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1" ! WXLIBPOSTFIX = ud ! !endif ! !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0" ! WXLIBPOSTFIX = d ! !endif ! !if "$(BUILD)" == "release" && "$(UNICODE)" == "1" ! WXLIBPOSTFIX = u ! !endif ! !if "$(WX_SHARED)" == "0" ! WXLIBPATH = \lib\vc_lib ! !endif ! !if "$(WX_SHARED)" == "1" ! WXLIBPATH = \lib\vc_dll ! !endif ! !if "$(SHARED)" == "0" ! _BUILDDIR_SHARED_SUFFIX = ! !endif ! !if "$(SHARED)" == "1" ! _BUILDDIR_SHARED_SUFFIX = _dll ! !endif ! !if "$(USE_APPS)" == "1" ! __apps___depname = sub_apps ! !endif ! ! ! all: vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX): ! -if not exist vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) mkdir vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! ! ### Targets: ### ! ! all: test_for_selected_wxbuild sub_modules $(__apps___depname) ! ! clean: ! -if exist vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj del vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj ! -if exist vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res del vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res ! -if exist vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.pch del vcmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.pch ! cd ..\..\modules\build\msw ! $(MAKE) -f makefile.vc $(MAKEARGS) clean ! cd "$(MAKEDIR)" ! cd ..\..\apps\build\msw ! $(MAKE) -f makefile.vc $(MAKEARGS) clean ! cd "$(MAKEDIR)" ! ! test_for_selected_wxbuild: ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo The selected wxWidgets build is not available! ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo Please use the options prefixed with WX_ to select another wxWidgets build. ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! exit 1 ! ! sub_modules: ! cd ..\..\modules\build\msw ! $(MAKE) -f makefile.vc $(MAKEARGS) ! cd "$(MAKEDIR)" ! ! !if "$(USE_APPS)" == "1" ! sub_apps: ! cd ..\..\apps\build\msw ! $(MAKE) -f makefile.vc $(MAKEARGS) ! cd "$(MAKEDIR)" ! !endif ! ! docs: ! @echo ============================================= ! @echo Creating wxLua documentation using doxygen... ! @echo ============================================= ! cd ../..\docs ! doxygen doxygen.cfg ! ! compress: ! @echo ============================================= ! @echo Compressing wxLua binaries (requires UPX)... ! @echo ============================================= ! cd ..\..\bin ! upx -9 --force *.exe ! cd ..\build\msw ! ! ! !if "$(SHARED)" == "1" && "$(WX_SHARED)" == "0" ! !error Cannot build a SHARED version of wxLua (SHARED is 1) against a static version of wxWidgets (WX_SHARED is 0) ! You can only do the opposite (STATIC build of wxLua against SHARED build of wxWidgets) ! !endif Index: makefile.bcc =================================================================== RCS file: /cvsroot/wxlua/wxLua/build/msw/makefile.bcc,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** makefile.bcc 19 Jan 2008 21:37:09 -0000 1.46 --- makefile.bcc 20 Jan 2008 22:40:07 -0000 1.47 *************** *** 1,345 **** ! # ========================================================================= ! # This makefile was generated by ! # Bakefile 0.2.3 (http://www.bakefile.org) ! # Do not modify, all changes will be overwritten! ! # ========================================================================= ! ! .autodepend ! ! !ifndef BCCDIR ! !ifndef MAKEDIR ! !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 ! !endif ! BCCDIR = $(MAKEDIR)\.. ! !endif ! ! ! ! # ------------------------------------------------------------------------- ! # These are configurable options: ! # ------------------------------------------------------------------------- ! ! # C compiler ! !ifndef CC ! CC = bcc32 ! !endif ! ! # C++ compiler ! !ifndef CXX ! CXX = bcc32 ! !endif ! ! # Standard flags for CC ! !ifndef CFLAGS ! CFLAGS = ! !endif ! ! # Standard flags for C++ ! !ifndef CXXFLAGS ! CXXFLAGS = ! !endif ! ! # Standard preprocessor flags (common for CC and CXX) ! !ifndef CPPFLAGS ! CPPFLAGS = -a8 -g0 ! !endif ! ! # Standard linker flags ! !ifndef LDFLAGS ! LDFLAGS = ! !endif ! ! # Builds in debug mode [debug,release] ! !ifndef BUILD ! BUILD = debug ! !endif ! ! # Builds in Unicode mode [0,1] ! !ifndef UNICODE ! UNICODE = 0 ! !endif ! ! # Builds in shared mode [0,1] ! !ifndef SHARED ! SHARED = 0 ! !endif ! ! # Use DLL build of wx library? [0,1] ! !ifndef WX_SHARED ! WX_SHARED = 0 ! !endif ! ! # Version of the wx library to build against. ! !ifndef WX_VERSION ! WX_VERSION = 28 ! !endif ! ! # Use monolithic build of wxWidgets? [0,1] ! !ifndef WX_MONOLITHIC ! WX_MONOLITHIC = 0 ! !endif ! ! # The directory where wxWidgets library is installed ! !ifndef WX_DIR ! WX_DIR = $(WXWIN) ! !endif ! ! # Should the wxLua applications be compiled ? [0,1] ! !ifndef USE_APPS ! USE_APPS = 1 ! !endif ! ! # Should wxLua use the system-wide Lua library ? [0,1] ! !ifndef USE_SYSTEM_LUA ! USE_SYSTEM_LUA = 0 ! !endif ! ! # The path to the Lua library includes ! !ifndef LUA_INCLUDE_DIR ! LUA_INCLUDE_DIR = ..\..\..\modules\lua\include ! !endif ! ! # The path to the Lua library libs ! !ifndef LUA_LIB_DIR ! LUA_LIB_DIR = ..\..\..\modules\lua\lib ! !endif ! ! # This is an advanced option. Handle with care. ! # Version of C runtime library to use. You can change this to ! # static if SHARED=0, but it is highly recommended to not do ! # it if SHARED=1 unless you know what you are doing. [dynamic,static] ! !ifndef RUNTIME_LIBS ! RUNTIME_LIBS = dynamic ! !endif ! ! # This is an advanced option. Handle with care. ! # The thread model to use: use 'multi' default to allow ! # multi-threading. [multi,single] ! !ifndef THREADING ! THREADING = multi ! !endif ! ! # Do the wxLua bindings for the wxAdv lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDADV ! USE_WXBINDADV = 1 ! !endif ! ! # Do the wxLua bindings for the wxAUI lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDAUI ! USE_WXBINDAUI = 1 ! !endif ! ! # Do the wxLua bindings for the wxBase lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDBASE ! USE_WXBINDBASE = 1 ! !endif ! ! # Do the wxLua bindings for the wxCore lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDCORE ! USE_WXBINDCORE = 1 ! !endif ! ! # Do the wxLua bindings for the wxGL lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDGL ! USE_WXBINDGL = 1 ! !endif ! ! # Do the wxLua bindings for the wxHTML lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDHTML ! USE_WXBINDHTML = 1 ! !endif ! ! # Do the wxLua bindings for the wxMedia lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDMEDIA ! USE_WXBINDMEDIA = 1 ! !endif ! ! # Do the wxLua bindings for the wxNet lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDNET ! USE_WXBINDNET = 1 ! !endif ! ! # Do the wxLua bindings for the wxRichText lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDRICHTEXT ! USE_WXBINDRICHTEXT = 0 ! !endif ! ! # Do the wxLua bindings for wxSTC need to be compiled ? [0,1] ! !ifndef USE_WXBINDSTC ! USE_WXBINDSTC = 1 ! !endif ! ! # Do the wxLua bindings for wxXML need to be compiled ? [0,1] ! !ifndef USE_WXBINDXML ! USE_WXBINDXML = 1 ! !endif ! ! # Do the wxLua bindings for wxXRC need to be compiled ? [0,1] ! !ifndef USE_WXBINDXRC ! USE_WXBINDXRC = 1 ! !endif ! ! # Does the wxLua debug support need to be compiled ? [0,1] ! !ifndef USE_WXLUADEBUG ! USE_WXLUADEBUG = 1 ! !endif ! ! # Does the wxLua debug socket support need to be compiled ? [0,1] ! !ifndef USE_WXLUASOCKET ! USE_WXLUASOCKET = 1 ! !endif ! ! # Compile the lua module ? [0,1] ! !ifndef USE_LUAMODULE ! USE_LUAMODULE = 1 ! !endif ! ! # Build a monolithic Lua module ? [0,1] ! !ifndef MONOLITHIC_LUAMODULE ! MONOLITHIC_LUAMODULE = 0 ! !endif ! ! # Compile the wxLua app ? [0,1] ! !ifndef USE_WXLUAAPP ! USE_WXLUAAPP = 1 ! !endif ! ! # Compile the wxLuaCan app ? [0,1] ! !ifndef USE_WXLUACANAPP ! USE_WXLUACANAPP = 1 ! !endif ! ! # The path to the wxStEdit component (meaningful only when USE_WXLUAEDITAPP==1) ! !ifndef WXSTEDIT_DIR ! WXSTEDIT_DIR = $(WXSTEDIT) ! !endif ! ! # Compile the wxLuaEditor app ? [0,1] ! !ifndef USE_WXLUAEDITAPP ! USE_WXLUAEDITAPP = 0 ! !endif ! ! # Compile the wxLuaFreeze app ? [0,1] ! !ifndef USE_WXLUAFREEZEAPP ! USE_WXLUAFREEZEAPP = 1 ! !endif ! ! ! ! # ------------------------------------------------------------------------- ! # Do not modify the rest of this file! ! # ------------------------------------------------------------------------- ! ! ### Variables: ### ! ! MAKEARGS = -DCC="$(CC)" -DCXX="$(CXX)" -DCFLAGS="$(CFLAGS)" \ ! -DCXXFLAGS="$(CXXFLAGS)" -DCPPFLAGS="$(CPPFLAGS)" -DLDFLAGS="$(LDFLAGS)" \ ! -DBUILD="$(BUILD)" -DUNICODE="$(UNICODE)" -DSHARED="$(SHARED)" \ ! -DWX_SHARED="$(WX_SHARED)" -DWX_VERSION="$(WX_VERSION)" \ ! -DWX_MONOLITHIC="$(WX_MONOLITHIC)" -DWX_DIR="$(WX_DIR)" \ ! -DUSE_APPS="$(USE_APPS)" -DUSE_SYSTEM_LUA="$(USE_SYSTEM_LUA)" \ ! -DLUA_INCLUDE_DIR="$(LUA_INCLUDE_DIR)" -DLUA_LIB_DIR="$(LUA_LIB_DIR)" \ ! -DRUNTIME_LIBS="$(RUNTIME_LIBS)" -DTHREADING="$(THREADING)" \ ! -DUSE_WXBINDADV="$(USE_WXBINDADV)" -DUSE_WXBINDAUI="$(USE_WXBINDAUI)" \ ! -DUSE_WXBINDBASE="$(USE_WXBINDBASE)" -DUSE_WXBINDCORE="$(USE_WXBINDCORE)" \ ! -DUSE_WXBINDGL="$(USE_WXBINDGL)" -DUSE_WXBINDHTML="$(USE_WXBINDHTML)" \ ! -DUSE_WXBINDMEDIA="$(USE_WXBINDMEDIA)" -DUSE_WXBINDNET="$(USE_WXBINDNET)" \ ! -DUSE_WXBINDRICHTEXT="$(USE_WXBINDRICHTEXT)" \ ! -DUSE_WXBINDSTC="$(USE_WXBINDSTC)" -DUSE_WXBINDXML="$(USE_WXBINDXML)" \ ! -DUSE_WXBINDXRC="$(USE_WXBINDXRC)" -DUSE_WXLUADEBUG="$(USE_WXLUADEBUG)" \ ! -DUSE_WXLUASOCKET="$(USE_WXLUASOCKET)" -DUSE_LUAMODULE="$(USE_LUAMODULE)" \ ! -DMONOLITHIC_LUAMODULE="$(MONOLITHIC_LUAMODULE)" \ ! -DUSE_WXLUAAPP="$(USE_WXLUAAPP)" -DUSE_WXLUACANAPP="$(USE_WXLUACANAPP)" \ ! -DWXSTEDIT_DIR="$(WXSTEDIT_DIR)" -DUSE_WXLUAEDITAPP="$(USE_WXLUAEDITAPP)" \ ! -DUSE_WXLUAFREEZEAPP="$(USE_WXLUAFREEZEAPP)" ! ! ### Conditionally set variables: ### ! ! !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1" ! WXLIBPOSTFIX = ud ! !endif ! !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0" ! WXLIBPOSTFIX = d ! !endif ! !if "$(BUILD)" == "release" && "$(UNICODE)" == "1" ! WXLIBPOSTFIX = u ! !endif ! !if "$(WX_SHARED)" == "0" ! WXLIBPATH = \lib\bcc_lib ! !endif ! !if "$(WX_SHARED)" == "1" ! WXLIBPATH = \lib\bcc_dll ! !endif ! !if "$(SHARED)" == "0" ! _BUILDDIR_SHARED_SUFFIX = ! !endif ! !if "$(SHARED)" == "1" ! _BUILDDIR_SHARED_SUFFIX = _dll ! !endif ! !if "$(USE_APPS)" == "1" ! __apps___depname = apps ! !endif ! ! ! all: bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX): ! -if not exist bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) mkdir bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! ! ### Targets: ### ! ! all: test_for_selected_wxbuild modules $(__apps___depname) ! ! clean: ! -if exist bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj ! -if exist bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res ! -if exist bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.csm del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.csm ! @echo cd ..\..\modules\build\msw >bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! call bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! @del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! @echo cd ..\..\apps\build\msw >bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! call bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! @del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! ! test_for_selected_wxbuild: ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo The selected wxWidgets build is not available! ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo Please use the options prefixed with WX_ to select another wxWidgets build. ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! exit 1 ! ! modules: ! @echo cd ..\..\modules\build\msw >bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! @echo $(MAKE) -f makefile.bcc $(MAKEARGS) >>bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! call bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! @del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! ! !if "$(USE_APPS)" == "1" ! apps: ! @echo cd ..\..\apps\build\msw >bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! @echo $(MAKE) -f makefile.bcc $(MAKEARGS) >>bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! call bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! @del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! !endif ! ! docs: ! @echo ============================================= ! @echo Creating wxLua documentation using doxygen... ! @echo ============================================= ! cd ../..\docs ! doxygen doxygen.cfg ! ! compress: ! @echo ============================================= ! @echo Compressing wxLua binaries (requires UPX)... ! @echo ============================================= ! cd ..\..\bin ! upx -9 --force *.exe ! cd ..\build\msw ! --- 1,345 ---- ! # ========================================================================= ! # This makefile was generated by ! # Bakefile 0.2.3 (http://www.bakefile.org) ! # Do not modify, all changes will be overwritten! ! # ========================================================================= ! ! .autodepend ! ! !ifndef BCCDIR ! !ifndef MAKEDIR ! !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 ! !endif ! BCCDIR = $(MAKEDIR)\.. ! !endif ! ! ! ! # ------------------------------------------------------------------------- ! # These are configurable options: ! # ------------------------------------------------------------------------- ! ! # C compiler ! !ifndef CC ! CC = bcc32 ! !endif ! ! # C++ compiler ! !ifndef CXX ! CXX = bcc32 ! !endif ! ! # Standard flags for CC ! !ifndef CFLAGS ! CFLAGS = ! !endif ! ! # Standard flags for C++ ! !ifndef CXXFLAGS ! CXXFLAGS = ! !endif ! ! # Standard preprocessor flags (common for CC and CXX) ! !ifndef CPPFLAGS ! CPPFLAGS = -a8 -g0 ! !endif ! ! # Standard linker flags ! !ifndef LDFLAGS ! LDFLAGS = ! !endif ! ! # Builds in debug mode [debug,release] ! !ifndef BUILD ! BUILD = debug ! !endif ! ! # Builds in Unicode mode [0,1] ! !ifndef UNICODE ! UNICODE = 0 ! !endif ! ! # Builds in shared mode [0,1] ! !ifndef SHARED ! SHARED = 0 ! !endif ! ! # Use DLL build of wx library? [0,1] ! !ifndef WX_SHARED ! WX_SHARED = 0 ! !endif ! ! # Version of the wx library to build against. ! !ifndef WX_VERSION ! WX_VERSION = 28 ! !endif ! ! # Use monolithic build of wxWidgets? [0,1] ! !ifndef WX_MONOLITHIC ! WX_MONOLITHIC = 0 ! !endif ! ! # The directory where wxWidgets library is installed ! !ifndef WX_DIR ! WX_DIR = $(WXWIN) ! !endif ! ! # Should the wxLua applications be compiled ? [0,1] ! !ifndef USE_APPS ! USE_APPS = 1 ! !endif ! ! # Should wxLua use the system-wide Lua library ? [0,1] ! !ifndef USE_SYSTEM_LUA ! USE_SYSTEM_LUA = 0 ! !endif ! ! # The path to the Lua library includes ! !ifndef LUA_INCLUDE_DIR ! LUA_INCLUDE_DIR = ..\..\..\modules\lua\include ! !endif ! ! # The path to the Lua library libs ! !ifndef LUA_LIB_DIR ! LUA_LIB_DIR = ..\..\..\modules\lua\lib ! !endif ! ! # This is an advanced option. Handle with care. ! # Version of C runtime library to use. You can change this to ! # static if SHARED=0, but it is highly recommended to not do ! # it if SHARED=1 unless you know what you are doing. [dynamic,static] ! !ifndef RUNTIME_LIBS ! RUNTIME_LIBS = dynamic ! !endif ! ! # This is an advanced option. Handle with care. ! # The thread model to use: use 'multi' default to allow ! # multi-threading. [multi,single] ! !ifndef THREADING ! THREADING = multi ! !endif ! ! # Do the wxLua bindings for the wxAdv lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDADV ! USE_WXBINDADV = 1 ! !endif ! ! # Do the wxLua bindings for the wxAUI lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDAUI ! USE_WXBINDAUI = 1 ! !endif ! ! # Do the wxLua bindings for the wxBase lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDBASE ! USE_WXBINDBASE = 1 ! !endif ! ! # Do the wxLua bindings for the wxCore lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDCORE ! USE_WXBINDCORE = 1 ! !endif ! ! # Do the wxLua bindings for the wxGL lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDGL ! USE_WXBINDGL = 1 ! !endif ! ! # Do the wxLua bindings for the wxHTML lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDHTML ! USE_WXBINDHTML = 1 ! !endif ! ! # Do the wxLua bindings for the wxMedia lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDMEDIA ! USE_WXBINDMEDIA = 1 ! !endif ! ! # Do the wxLua bindings for the wxNet lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDNET ! USE_WXBINDNET = 1 ! !endif ! ! # Do the wxLua bindings for the wxRichText lib need to be compiled ? [0,1] ! !ifndef USE_WXBINDRICHTEXT ! USE_WXBINDRICHTEXT = 0 ! !endif ! ! # Do the wxLua bindings for wxSTC need to be compiled ? [0,1] ! !ifndef USE_WXBINDSTC ! USE_WXBINDSTC = 1 ! !endif ! ! # Do the wxLua bindings for wxXML need to be compiled ? [0,1] ! !ifndef USE_WXBINDXML ! USE_WXBINDXML = 1 ! !endif ! ! # Do the wxLua bindings for wxXRC need to be compiled ? [0,1] ! !ifndef USE_WXBINDXRC ! USE_WXBINDXRC = 1 ! !endif ! ! # Does the wxLua debug support need to be compiled ? [0,1] ! !ifndef USE_WXLUADEBUG ! USE_WXLUADEBUG = 1 ! !endif ! ! # Does the wxLua debug socket support need to be compiled ? [0,1] ! !ifndef USE_WXLUASOCKET ! USE_WXLUASOCKET = 1 ! !endif ! ! # Compile the lua module ? [0,1] ! !ifndef USE_LUAMODULE ! USE_LUAMODULE = 1 ! !endif ! ! # Build a monolithic Lua module ? [0,1] ! !ifndef MONOLITHIC_LUAMODULE ! MONOLITHIC_LUAMODULE = 0 ! !endif ! ! # Compile the wxLua app ? [0,1] ! !ifndef USE_WXLUAAPP ! USE_WXLUAAPP = 1 ! !endif ! ! # Compile the wxLuaCan app ? [0,1] ! !ifndef USE_WXLUACANAPP ! USE_WXLUACANAPP = 1 ! !endif ! ! # The path to the wxStEdit component (meaningful only when USE_WXLUAEDITAPP==1) ! !ifndef WXSTEDIT_DIR ! WXSTEDIT_DIR = $(WXSTEDIT) ! !endif ! ! # Compile the wxLuaEditor app ? [0,1] ! !ifndef USE_WXLUAEDITAPP ! USE_WXLUAEDITAPP = 0 ! !endif ! ! # Compile the wxLuaFreeze app ? [0,1] ! !ifndef USE_WXLUAFREEZEAPP ! USE_WXLUAFREEZEAPP = 1 ! !endif ! ! ! ! # ------------------------------------------------------------------------- ! # Do not modify the rest of this file! ! # ------------------------------------------------------------------------- ! ! ### Variables: ### ! ! MAKEARGS = -DCC="$(CC)" -DCXX="$(CXX)" -DCFLAGS="$(CFLAGS)" \ ! -DCXXFLAGS="$(CXXFLAGS)" -DCPPFLAGS="$(CPPFLAGS)" -DLDFLAGS="$(LDFLAGS)" \ ! -DBUILD="$(BUILD)" -DUNICODE="$(UNICODE)" -DSHARED="$(SHARED)" \ ! -DWX_SHARED="$(WX_SHARED)" -DWX_VERSION="$(WX_VERSION)" \ ! -DWX_MONOLITHIC="$(WX_MONOLITHIC)" -DWX_DIR="$(WX_DIR)" \ ! -DUSE_APPS="$(USE_APPS)" -DUSE_SYSTEM_LUA="$(USE_SYSTEM_LUA)" \ ! -DLUA_INCLUDE_DIR="$(LUA_INCLUDE_DIR)" -DLUA_LIB_DIR="$(LUA_LIB_DIR)" \ ! -DRUNTIME_LIBS="$(RUNTIME_LIBS)" -DTHREADING="$(THREADING)" \ ! -DUSE_WXBINDADV="$(USE_WXBINDADV)" -DUSE_WXBINDAUI="$(USE_WXBINDAUI)" \ ! -DUSE_WXBINDBASE="$(USE_WXBINDBASE)" -DUSE_WXBINDCORE="$(USE_WXBINDCORE)" \ ! -DUSE_WXBINDGL="$(USE_WXBINDGL)" -DUSE_WXBINDHTML="$(USE_WXBINDHTML)" \ ! -DUSE_WXBINDMEDIA="$(USE_WXBINDMEDIA)" -DUSE_WXBINDNET="$(USE_WXBINDNET)" \ ! -DUSE_WXBINDRICHTEXT="$(USE_WXBINDRICHTEXT)" \ ! -DUSE_WXBINDSTC="$(USE_WXBINDSTC)" -DUSE_WXBINDXML="$(USE_WXBINDXML)" \ ! -DUSE_WXBINDXRC="$(USE_WXBINDXRC)" -DUSE_WXLUADEBUG="$(USE_WXLUADEBUG)" \ ! -DUSE_WXLUASOCKET="$(USE_WXLUASOCKET)" -DUSE_LUAMODULE="$(USE_LUAMODULE)" \ ! -DMONOLITHIC_LUAMODULE="$(MONOLITHIC_LUAMODULE)" \ ! -DUSE_WXLUAAPP="$(USE_WXLUAAPP)" -DUSE_WXLUACANAPP="$(USE_WXLUACANAPP)" \ ! -DWXSTEDIT_DIR="$(WXSTEDIT_DIR)" -DUSE_WXLUAEDITAPP="$(USE_WXLUAEDITAPP)" \ ! -DUSE_WXLUAFREEZEAPP="$(USE_WXLUAFREEZEAPP)" ! ! ### Conditionally set variables: ### ! ! !if "$(BUILD)" == "debug" && "$(UNICODE)" == "1" ! WXLIBPOSTFIX = ud ! !endif ! !if "$(BUILD)" == "debug" && "$(UNICODE)" == "0" ! WXLIBPOSTFIX = d ! !endif ! !if "$(BUILD)" == "release" && "$(UNICODE)" == "1" ! WXLIBPOSTFIX = u ! !endif ! !if "$(WX_SHARED)" == "0" ! WXLIBPATH = \lib\bcc_lib ! !endif ! !if "$(WX_SHARED)" == "1" ! WXLIBPATH = \lib\bcc_dll ! !endif ! !if "$(SHARED)" == "0" ! _BUILDDIR_SHARED_SUFFIX = ! !endif ! !if "$(SHARED)" == "1" ! _BUILDDIR_SHARED_SUFFIX = _dll ! !endif ! !if "$(USE_APPS)" == "1" ! __apps___depname = apps ! !endif ! ! ! all: bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX): ! -if not exist bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) mkdir bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! ! ### Targets: ### ! ! all: test_for_selected_wxbuild modules $(__apps___depname) ! ! clean: ! -if exist bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj ! -if exist bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res ! -if exist bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.csm del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.csm ! @echo cd ..\..\modules\build\msw >bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! call bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! @del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! @echo cd ..\..\apps\build\msw >bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! call bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! @del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! ! test_for_selected_wxbuild: ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo The selected wxWidgets build is not available! ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo Please use the options prefixed with WX_ to select another wxWidgets build. ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! exit 1 ! ! modules: ! @echo cd ..\..\modules\build\msw >bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! @echo $(MAKE) -f makefile.bcc $(MAKEARGS) >>bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! call bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! @del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\modules.bat ! ! !if "$(USE_APPS)" == "1" ! apps: ! @echo cd ..\..\apps\build\msw >bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! @echo $(MAKE) -f makefile.bcc $(MAKEARGS) >>bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! call bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! @del bccmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\apps.bat ! !endif ! ! docs: ! @echo ============================================= ! @echo Creating wxLua documentation using doxygen... ! @echo ============================================= ! cd ../..\docs ! doxygen doxygen.cfg ! ! compress: ! @echo ============================================= ! @echo Compressing wxLua binaries (requires UPX)... ! @echo ============================================= ! cd ..\..\bin ! upx -9 --force *.exe ! cd ..\build\msw ! Index: makefile.wat =================================================================== RCS file: /cvsroot/wxlua/wxLua/build/msw/makefile.wat,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** makefile.wat 19 Jan 2008 21:37:09 -0000 1.52 --- makefile.wat 20 Jan 2008 22:40:07 -0000 1.53 *************** *** 1,285 **** ! # ========================================================================= ! # This makefile was generated by ! # Bakefile 0.2.3 (http://www.bakefile.org) ! # Do not modify, all changes will be overwritten! ! # ========================================================================= ! ! ! ! # ------------------------------------------------------------------------- ! # These are configurable options: ! # ------------------------------------------------------------------------- ! ! # C compiler ! CC = wcc386 ! ! # C++ compiler ! CXX = wpp386 ! ! # Standard flags for CC ! CFLAGS = ! ! # Standard flags for C++ ! CXXFLAGS = ! ! # Standard preprocessor flags (common for CC and CXX) ! CPPFLAGS = ! ! # Standard linker flags ! LDFLAGS = ! ! # Builds in debug mode [debug,release] ! BUILD = debug ! ! # Builds in Unicode mode [0,1] ! # 1 - Unicode ! UNICODE = 0 ! ! # Builds in shared mode [0,1] ! # 1 - DLL ! SHARED = 0 ! ! # Use DLL build of wx library? [0,1] ! # 0 - Static ! # 1 - DLL ! WX_SHARED = 0 ! ! # Version of the wx library to build against. ! WX_VERSION = 28 ! ! # Use monolithic build of wxWidgets? [0,1] ! # 0 - Multilib ! # 1 - Monolithic ! WX_MONOLITHIC = 0 ! ! # The directory where wxWidgets library is installed ! WX_DIR = $(%WXWIN) ! ! # Should the wxLua applications be compiled ? [0,1] ! USE_APPS = 1 ! ! # Should wxLua use the system-wide Lua library ? [0,1] ! USE_SYSTEM_LUA = 0 ! ! # The path to the Lua library includes ! LUA_INCLUDE_DIR = ..\..\..\modules\lua\include ! ! # The path to the Lua library libs ! LUA_LIB_DIR = ..\..\..\modules\lua\lib ! ! # This is an advanced option. Handle with care. ! # Version of C runtime library to use. You can change this to ! # static if SHARED=0, but it is highly recommended to not do ! # it if SHARED=1 unless you know what you are doing. [dynamic,static] ! RUNTIME_LIBS = dynamic ! ! # This is an advanced option. Handle with care. ! # The thread model to use: use 'multi' default to allow ! # multi-threading. [multi,single] ! THREADING = multi ! ! # Do the wxLua bindings for the wxAdv lib need to be compiled ? [0,1] ! USE_WXBINDADV = 1 ! ! # Do the wxLua bindings for the wxAUI lib need to be compiled ? [0,1] ! USE_WXBINDAUI = 1 ! ! # Do the wxLua bindings for the wxBase lib need to be compiled ? [0,1] ! USE_WXBINDBASE = 1 ! ! # Do the wxLua bindings for the wxCore lib need to be compiled ? [0,1] ! USE_WXBINDCORE = 1 ! ! # Do the wxLua bindings for the wxGL lib need to be compiled ? [0,1] ! USE_WXBINDGL = 1 ! ! # Do the wxLua bindings for the wxHTML lib need to be compiled ? [0,1] ! USE_WXBINDHTML = 1 ! ! # Do the wxLua bindings for the wxMedia lib need to be compiled ? [0,1] ! USE_WXBINDMEDIA = 1 ! ! # Do the wxLua bindings for the wxNet lib need to be compiled ? [0,1] ! USE_WXBINDNET = 1 ! ! # Do the wxLua bindings for the wxRichText lib need to be compiled ? [0,1] ! USE_WXBINDRICHTEXT = 0 ! ! # Do the wxLua bindings for wxSTC need to be compiled ? [0,1] ! USE_WXBINDSTC = 1 ! ! # Do the wxLua bindings for wxXML need to be compiled ? [0,1] ! USE_WXBINDXML = 1 ! ! # Do the wxLua bindings for wxXRC need to be compiled ? [0,1] ! USE_WXBINDXRC = 1 ! ! # Does the wxLua debug support need to be compiled ? [0,1] ! USE_WXLUADEBUG = 1 ! ! # Does the wxLua debug socket support need to be compiled ? [0,1] ! USE_WXLUASOCKET = 1 ! ! # Compile the lua module ? [0,1] ! USE_LUAMODULE = 1 ! ! # Build a monolithic Lua module ? [0,1] ! MONOLITHIC_LUAMODULE = 0 ! ! # Compile the wxLua app ? [0,1] ! USE_WXLUAAPP = 1 ! ! # Compile the wxLuaCan app ? [0,1] ! USE_WXLUACANAPP = 1 ! ! # The path to the wxStEdit component (meaningful only when USE_WXLUAEDITAPP==1) ! WXSTEDIT_DIR = $(%WXSTEDIT) ! ! # Compile the wxLuaEditor app ? [0,1] ! USE_WXLUAEDITAPP = 0 ! ! # Compile the wxLuaFreeze app ? [0,1] ! USE_WXLUAFREEZEAPP = 1 ! ! ! ! # ------------------------------------------------------------------------- ! # Do not modify the rest of this file! ! # ------------------------------------------------------------------------- ! ! # Speed up compilation a bit: ! !ifdef __LOADDLL__ ! ! loaddll wcc wccd ! ! loaddll wccaxp wccdaxp ! ! loaddll wcc386 wccd386 ! ! loaddll wpp wppdi86 ! ! loaddll wppaxp wppdaxp ! ! loaddll wpp386 wppd386 ! ! loaddll wlink wlink ! ! loaddll wlib wlibd ! !endif ! ! # We need these variables in some bakefile-made rules: ! WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- ! ! ### Conditionally set variables: ### ! ! WXLIBPOSTFIX = ! !ifeq BUILD debug ! !ifeq UNICODE 1 ! WXLIBPOSTFIX = ud ! !endif ! !endif ! !ifeq BUILD debug ! !ifeq UNICODE 0 ! WXLIBPOSTFIX = d ! !endif ! !endif ! !ifeq BUILD release ! !ifeq UNICODE 1 ! WXLIBPOSTFIX = u ! !endif ! !endif ! WXLIBPATH = ! !ifeq WX_SHARED 0 ! WXLIBPATH = \lib\wat_lib ! !endif ! !ifeq WX_SHARED 1 ! WXLIBPATH = \lib\wat_dll ! !endif ! _BUILDDIR_SHARED_SUFFIX = ! !ifeq SHARED 0 ! _BUILDDIR_SHARED_SUFFIX = ! !endif ! !ifeq SHARED 1 ! _BUILDDIR_SHARED_SUFFIX = _dll ! !endif ! __apps___depname = ! !ifeq USE_APPS 1 ! __apps___depname = apps ! !endif ! ! ### Variables: ### ! ! MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" & ! CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" BUILD="$(BUILD)" & ! UNICODE="$(UNICODE)" SHARED="$(SHARED)" WX_SHARED="$(WX_SHARED)" & ! WX_VERSION="$(WX_VERSION)" WX_MONOLITHIC="$(WX_MONOLITHIC)" & ! WX_DIR="$(WX_DIR)" USE_APPS="$(USE_APPS)" & ! USE_SYSTEM_LUA="$(USE_SYSTEM_LUA)" LUA_INCLUDE_DIR="$(LUA_INCLUDE_DIR)" & ! LUA_LIB_DIR="$(LUA_LIB_DIR)" RUNTIME_LIBS="$(RUNTIME_LIBS)" & ! THREADING="$(THREADING)" USE_WXBINDADV="$(USE_WXBINDADV)" & ! USE_WXBINDAUI="$(USE_WXBINDAUI)" USE_WXBINDBASE="$(USE_WXBINDBASE)" & ! USE_WXBINDCORE="$(USE_WXBINDCORE)" USE_WXBINDGL="$(USE_WXBINDGL)" & ! USE_WXBINDHTML="$(USE_WXBINDHTML)" USE_WXBINDMEDIA="$(USE_WXBINDMEDIA)" & ! USE_WXBINDNET="$(USE_WXBINDNET)" & ! USE_WXBINDRICHTEXT="$(USE_WXBINDRICHTEXT)" & ! USE_WXBINDSTC="$(USE_WXBINDSTC)" USE_WXBINDXML="$(USE_WXBINDXML)" & ! USE_WXBINDXRC="$(USE_WXBINDXRC)" USE_WXLUADEBUG="$(USE_WXLUADEBUG)" & ! USE_WXLUASOCKET="$(USE_WXLUASOCKET)" USE_LUAMODULE="$(USE_LUAMODULE)" & ! MONOLITHIC_LUAMODULE="$(MONOLITHIC_LUAMODULE)" & ! USE_WXLUAAPP="$(USE_WXLUAAPP)" USE_WXLUACANAPP="$(USE_WXLUACANAPP)" & ! WXSTEDIT_DIR="$(WXSTEDIT_DIR)" USE_WXLUAEDITAPP="$(USE_WXLUAEDITAPP)" & ! USE_WXLUAFREEZEAPP="$(USE_WXLUAFREEZEAPP)" ! ! ! all : watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) : ! -if not exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) mkdir watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! ! ### Targets: ### ! ! all : .SYMBOLIC test_for_selected_wxbuild modules $(__apps___depname) ! ! clean : .SYMBOLIC ! -if exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj del watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj ! -if exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res del watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res ! -if exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.lbc del watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.lbc ! -if exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.ilk del watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.ilk ! -if exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.pch del watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.pch ! cd ..\..\modules\build\msw ! wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean ! cd $(WATCOM_CWD) ! cd ..\..\apps\build\msw ! wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean ! cd $(WATCOM_CWD) ! ! test_for_selected_wxbuild : ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo The selected wxWidgets build is not available! ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo Please use the options prefixed with WX_ to select another wxWidgets build. ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! exit 1 ! ! modules : .SYMBOLIC ! cd ..\..\modules\build\msw ! wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) ! cd $(WATCOM_CWD) ! ! !ifeq USE_APPS 1 ! apps : .SYMBOLIC ! cd ..\..\apps\build\msw ! wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) ! cd $(WATCOM_CWD) ! !endif ! ! docs : ! @echo ============================================= ! @echo Creating wxLua documentation using doxygen... ! @echo ============================================= ! cd ../..\docs ! doxygen doxygen.cfg ! ! compress : ! @echo ============================================= ! @echo Compressing wxLua binaries (requires UPX)... ! @echo ============================================= ! cd ..\..\bin ! upx -9 --force *.exe ! cd ..\build\msw ! --- 1,285 ---- ! # ========================================================================= ! # This makefile was generated by ! # Bakefile 0.2.3 (http://www.bakefile.org) ! # Do not modify, all changes will be overwritten! ! # ========================================================================= ! ! ! ! # ------------------------------------------------------------------------- ! # These are configurable options: ! # ------------------------------------------------------------------------- ! ! # C compiler ! CC = wcc386 ! ! # C++ compiler ! CXX = wpp386 ! ! # Standard flags for CC ! CFLAGS = ! ! # Standard flags for C++ ! CXXFLAGS = ! ! # Standard preprocessor flags (common for CC and CXX) ! CPPFLAGS = ! ! # Standard linker flags ! LDFLAGS = ! ! # Builds in debug mode [debug,release] ! BUILD = debug ! ! # Builds in Unicode mode [0,1] ! # 1 - Unicode ! UNICODE = 0 ! ! # Builds in shared mode [0,1] ! # 1 - DLL ! SHARED = 0 ! ! # Use DLL build of wx library? [0,1] ! # 0 - Static ! # 1 - DLL ! WX_SHARED = 0 ! ! # Version of the wx library to build against. ! WX_VERSION = 28 ! ! # Use monolithic build of wxWidgets? [0,1] ! # 0 - Multilib ! # 1 - Monolithic ! WX_MONOLITHIC = 0 ! ! # The directory where wxWidgets library is installed ! WX_DIR = $(%WXWIN) ! ! # Should the wxLua applications be compiled ? [0,1] ! USE_APPS = 1 ! ! # Should wxLua use the system-wide Lua library ? [0,1] ! USE_SYSTEM_LUA = 0 ! ! # The path to the Lua library includes ! LUA_INCLUDE_DIR = ..\..\..\modules\lua\include ! ! # The path to the Lua library libs ! LUA_LIB_DIR = ..\..\..\modules\lua\lib ! ! # This is an advanced option. Handle with care. ! # Version of C runtime library to use. You can change this to ! # static if SHARED=0, but it is highly recommended to not do ! # it if SHARED=1 unless you know what you are doing. [dynamic,static] ! RUNTIME_LIBS = dynamic ! ! # This is an advanced option. Handle with care. ! # The thread model to use: use 'multi' default to allow ! # multi-threading. [multi,single] ! THREADING = multi ! ! # Do the wxLua bindings for the wxAdv lib need to be compiled ? [0,1] ! USE_WXBINDADV = 1 ! ! # Do the wxLua bindings for the wxAUI lib need to be compiled ? [0,1] ! USE_WXBINDAUI = 1 ! ! # Do the wxLua bindings for the wxBase lib need to be compiled ? [0,1] ! USE_WXBINDBASE = 1 ! ! # Do the wxLua bindings for the wxCore lib need to be compiled ? [0,1] ! USE_WXBINDCORE = 1 ! ! # Do the wxLua bindings for the wxGL lib need to be compiled ? [0,1] ! USE_WXBINDGL = 1 ! ! # Do the wxLua bindings for the wxHTML lib need to be compiled ? [0,1] ! USE_WXBINDHTML = 1 ! ! # Do the wxLua bindings for the wxMedia lib need to be compiled ? [0,1] ! USE_WXBINDMEDIA = 1 ! ! # Do the wxLua bindings for the wxNet lib need to be compiled ? [0,1] ! USE_WXBINDNET = 1 ! ! # Do the wxLua bindings for the wxRichText lib need to be compiled ? [0,1] ! USE_WXBINDRICHTEXT = 0 ! ! # Do the wxLua bindings for wxSTC need to be compiled ? [0,1] ! USE_WXBINDSTC = 1 ! ! # Do the wxLua bindings for wxXML need to be compiled ? [0,1] ! USE_WXBINDXML = 1 ! ! # Do the wxLua bindings for wxXRC need to be compiled ? [0,1] ! USE_WXBINDXRC = 1 ! ! # Does the wxLua debug support need to be compiled ? [0,1] ! USE_WXLUADEBUG = 1 ! ! # Does the wxLua debug socket support need to be compiled ? [0,1] ! USE_WXLUASOCKET = 1 ! ! # Compile the lua module ? [0,1] ! USE_LUAMODULE = 1 ! ! # Build a monolithic Lua module ? [0,1] ! MONOLITHIC_LUAMODULE = 0 ! ! # Compile the wxLua app ? [0,1] ! USE_WXLUAAPP = 1 ! ! # Compile the wxLuaCan app ? [0,1] ! USE_WXLUACANAPP = 1 ! ! # The path to the wxStEdit component (meaningful only when USE_WXLUAEDITAPP==1) ! WXSTEDIT_DIR = $(%WXSTEDIT) ! ! # Compile the wxLuaEditor app ? [0,1] ! USE_WXLUAEDITAPP = 0 ! ! # Compile the wxLuaFreeze app ? [0,1] ! USE_WXLUAFREEZEAPP = 1 ! ! ! ! # ------------------------------------------------------------------------- ! # Do not modify the rest of this file! ! # ------------------------------------------------------------------------- ! ! # Speed up compilation a bit: ! !ifdef __LOADDLL__ ! ! loaddll wcc wccd ! ! loaddll wccaxp wccdaxp ! ! loaddll wcc386 wccd386 ! ! loaddll wpp wppdi86 ! ! loaddll wppaxp wppdaxp ! ! loaddll wpp386 wppd386 ! ! loaddll wlink wlink ! ! loaddll wlib wlibd ! !endif ! ! # We need these variables in some bakefile-made rules: ! WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- ! ! ### Conditionally set variables: ### ! ! WXLIBPOSTFIX = ! !ifeq BUILD debug ! !ifeq UNICODE 1 ! WXLIBPOSTFIX = ud ! !endif ! !endif ! !ifeq BUILD debug ! !ifeq UNICODE 0 ! WXLIBPOSTFIX = d ! !endif ! !endif ! !ifeq BUILD release ! !ifeq UNICODE 1 ! WXLIBPOSTFIX = u ! !endif ! !endif ! WXLIBPATH = ! !ifeq WX_SHARED 0 ! WXLIBPATH = \lib\wat_lib ! !endif ! !ifeq WX_SHARED 1 ! WXLIBPATH = \lib\wat_dll ! !endif ! _BUILDDIR_SHARED_SUFFIX = ! !ifeq SHARED 0 ! _BUILDDIR_SHARED_SUFFIX = ! !endif ! !ifeq SHARED 1 ! _BUILDDIR_SHARED_SUFFIX = _dll ! !endif ! __apps___depname = ! !ifeq USE_APPS 1 ! __apps___depname = apps ! !endif ! ! ### Variables: ### ! ! MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" & ! CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" BUILD="$(BUILD)" & ! UNICODE="$(UNICODE)" SHARED="$(SHARED)" WX_SHARED="$(WX_SHARED)" & ! WX_VERSION="$(WX_VERSION)" WX_MONOLITHIC="$(WX_MONOLITHIC)" & ! WX_DIR="$(WX_DIR)" USE_APPS="$(USE_APPS)" & ! USE_SYSTEM_LUA="$(USE_SYSTEM_LUA)" LUA_INCLUDE_DIR="$(LUA_INCLUDE_DIR)" & ! LUA_LIB_DIR="$(LUA_LIB_DIR)" RUNTIME_LIBS="$(RUNTIME_LIBS)" & ! THREADING="$(THREADING)" USE_WXBINDADV="$(USE_WXBINDADV)" & ! USE_WXBINDAUI="$(USE_WXBINDAUI)" USE_WXBINDBASE="$(USE_WXBINDBASE)" & ! USE_WXBINDCORE="$(USE_WXBINDCORE)" USE_WXBINDGL="$(USE_WXBINDGL)" & ! USE_WXBINDHTML="$(USE_WXBINDHTML)" USE_WXBINDMEDIA="$(USE_WXBINDMEDIA)" & ! USE_WXBINDNET="$(USE_WXBINDNET)" & ! USE_WXBINDRICHTEXT="$(USE_WXBINDRICHTEXT)" & ! USE_WXBINDSTC="$(USE_WXBINDSTC)" USE_WXBINDXML="$(USE_WXBINDXML)" & ! USE_WXBINDXRC="$(USE_WXBINDXRC)" USE_WXLUADEBUG="$(USE_WXLUADEBUG)" & ! USE_WXLUASOCKET="$(USE_WXLUASOCKET)" USE_LUAMODULE="$(USE_LUAMODULE)" & ! MONOLITHIC_LUAMODULE="$(MONOLITHIC_LUAMODULE)" & ! USE_WXLUAAPP="$(USE_WXLUAAPP)" USE_WXLUACANAPP="$(USE_WXLUACANAPP)" & ! WXSTEDIT_DIR="$(WXSTEDIT_DIR)" USE_WXLUAEDITAPP="$(USE_WXLUAEDITAPP)" & ! USE_WXLUAFREEZEAPP="$(USE_WXLUAFREEZEAPP)" ! ! ! all : watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) : ! -if not exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) mkdir watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX) ! ! ### Targets: ### ! ! all : .SYMBOLIC test_for_selected_wxbuild modules $(__apps___depname) ! ! clean : .SYMBOLIC ! -if exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj del watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.obj ! -if exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res del watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.res ! -if exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.lbc del watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.lbc ! -if exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.ilk del watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.ilk ! -if exist watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.pch del watmsw$(WXLIBPOSTFIX)$(_BUILDDIR_SHARED_SUFFIX)\*.pch ! cd ..\..\modules\build\msw ! wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean ! cd $(WATCOM_CWD) ! cd ..\..\apps\build\msw ! wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean ! cd $(WATCOM_CWD) ! ! test_for_selected_wxbuild : ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo The selected wxWidgets build is not available! ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo Please use the options prefixed with WX_ to select another wxWidgets build. ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! echo ---------------------------------------------------------------------------- ! @if not exist $(WX_DIR)$(WXLIBPATH)\msw$(WXLIBPOSTFIX)\wx\setup.h \ ! exit 1 ! ! modules : .SYMBOLIC ! cd ..\..\modules\build\msw ! wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) ! cd $(WATCOM_CWD) ! ! !ifeq USE_APPS 1 ! apps : .SYMBOLIC ! cd ..\..\apps\build\msw ! wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) ! cd $(WATCOM_CWD) ! !endif ! ! docs : ! @echo ============================================= ! @echo Creating wxLua documentation using doxygen... ! @echo ============================================= ! cd ../..\docs ! doxygen doxygen.cfg ! ! compress : ! @echo ============================================= ! @echo Compressing wxLua binaries (requires UPX)... ! @echo ============================================= ! cd ..\..\bin ! upx -9 --force *.exe ! cd ..\build\msw ! Index: makefile.gcc =================================================================== RCS file: /cvsroot/wxlua/wxLua/build/msw/makefile.gcc,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** makefile.gcc 19 Jan 2008 21:37:09 -0000 1.50 --- makefile.gcc 20 Jan 2008 22:40:07 -0000 1.51 *************** *** 1,257 **** ! # ========================================================================= ! # This makefile was generated by ! # Bakefile 0.2.3 (http://www.bakefile.org) ! # Do not modify, all changes will be overwritten! ! # ========================================================================= ! ! ! ! # ------------------------------------------------------------------------- ! # These are configurable options: ! # ------------------------------------------------------------------------- ! ! # C compiler ! CC := gcc ! ! # C++ compiler ! CXX := g++ ! ! # Standard flags for CC ! CFLAGS := ! ! # Standard flags for C++ ! CXXFLAGS := ! ! # Standard preprocessor flags (common for CC and CXX) ! CPPFLAGS := ! ! # Standard linker flags ! LDFLAGS := ! ! # Builds in debug mode [debug,release] ! BUILD := debug ! ! # Builds in Unicode mode [0,1] ! UNICODE := 0 ! ! # Builds in shared mode [0,1] ! SHARED := 0 ! ! # Use DLL build of wx library? [0,1] ! WX_SHARED := 0 ! ! # Version of the wx library to build against. ! WX_VERSION := 28 ! ! # Use monolithic build of wxWidgets? [0,1] ! WX_MONOLITHIC := 0 ! ! # The directory where wxWidgets library is installed ! WX_DIR := $(WXWIN) ! ! # Should the wxLua applications be compiled ? [0,1] ! USE_APPS := 1 ! ! # Should wxLua use the system-wide Lua library ? [0,1] ! USE_SYSTEM_LUA := 0 ! ! # The path to the Lua library includes ! LUA_INCLUDE_DIR := ..\..\..\modules\lua\include ! ! # The path to the Lua library libs ! LUA_LIB_DIR := ..\..\..\modules\lua\lib ! ! # This is an advanced option. Handle with care. ! # Version of C runtime library to use. You can change this to ! # static if SHARED=0, but it is highly recommended to not do ! # it if SHARED=1 unless you know what you are doing. [dynamic,static] ! RUNTIME_LIBS := dynamic ! ! # This is an advanced option. Handle with care. ! # The thread model to use: use 'multi' default to allow ! # multi-threading. [multi,single] ! THREADING := multi ! ! # Do the wxLua bindings for the wxAdv lib need to be compiled ? [0,1] ! USE_WXBINDADV := 1 ! ! # Do the w... [truncated message content] |