diff --git a/build/bakefiles/Bakefiles.bkgen b/build/bakefiles/Bakefiles.bkgen index 3dcc1ce4b6..6765cff8ce 100644 --- a/build/bakefiles/Bakefiles.bkgen +++ b/build/bakefiles/Bakefiles.bkgen @@ -16,6 +16,7 @@ Reasons why these formats are disabled (and so not in CVS): dmars - In beta testing, will be added when it stabilizes. + msevc4prj - ditto cbuilderx - Generated projects are too bad to be included in CVS. Please *do not* enable this format until FIXMEs in .bkl files related to cbuilderx are addressed. In particular, the project must @@ -24,7 +25,7 @@ cbx_unix - Doesn't intergrate well and won't be used by most Unix people. --> - dmars,cbx_unix,cbuilderx + dmars,cbx_unix,cbuilderx,msevc4prj @@ -49,26 +50,26 @@ - autoconf,borland,dmars,mingw,msvc,msvc6prj,watcom,cbuilderx,cbx_unix + autoconf,borland,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom,cbuilderx,cbx_unix - autoconf,msvc6prj,cbuilderx,cbx_unix + autoconf,msvc6prj,msevc4prj,cbuilderx,cbx_unix - msvc6prj,cbuilderx,cbx_unix + msvc6prj,msevc4prj,cbuilderx,cbx_unix - msvc6prj,cbuilderx,cbx_unix + msvc6prj,msevc4prj,cbuilderx,cbx_unix - msvc6prj,cbuilderx,cbx_unix + msvc6prj,msevc4prj,cbuilderx,cbx_unix - msvc6prj,cbuilderx,cbx_unix + msvc6prj,msevc4prj,cbuilderx,cbx_unix - msvc6prj,cbuilderx,cbx_unix + msvc6prj,msevc4prj,cbuilderx,cbx_unix @@ -98,6 +99,9 @@ -o../msw/wx.dsw + + -o../wince/wx.vcw + -o../../wx.cbx @@ -112,7 +116,7 @@ -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT).cbx + formats="mingw,borland,dmars,watcom,msvc,msvc6prj,msevc4prj"> -DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT) diff --git a/build/bakefiles/build_cfg.bkl b/build/bakefiles/build_cfg.bkl index a02612a537..42e7a48e52 100644 --- a/build/bakefiles/build_cfg.bkl +++ b/build/bakefiles/build_cfg.bkl @@ -8,7 +8,7 @@ the library. --> - + $(SETUPHDIR)$(DIRSEP)build.cfg diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index 21e13cf652..f1994cf9ac 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -70,7 +70,8 @@ d - u + + u $(WXUNICODEFLAG)$(WXDEBUGFLAG) @@ -154,6 +155,9 @@ + + _$(CPU) + @@ -163,7 +167,9 @@ $(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) - $(COMPILER)_$(CFG_NAME_PART) + + $(COMPILER)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU) + build_cbx_$(CFG_NAME_PART) @@ -175,10 +181,10 @@ $(top_builddir)lib - $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)_lib$(CFG) + $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_lib$(CFG) - $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)_dll$(CFG) + $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_dll$(CFG) @@ -257,13 +263,16 @@ version of wxWindows; otherwise they are embedded in shared libs: --> SHARED=='0' + $(substituteFromDict(SHARED, {'0':'off', '1':'on'})) + $(FORMAT in ['msvc6prj','msevc4prj']) + - + $(addPrefixToList('include\', wxwin.headersOnly(value))) @@ -271,18 +280,36 @@ - + + wx/msw/wince/setup.h + wince\setup.h + wince_setup_h + + wx/msw/setup.h - - include\wx\msw\setup.h + setup.h + setup_h + + + + include\wx\msw\$(vc_setup_h) - + Creating $(SETUPHDIR)\wx\setup.h -InputPath=..\include\wx\msw\setup.h +InputPath=..\include\wx\msw\$(vc_setup_h) "$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)" $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h + + + + $(_custom_build_files) + + + $(_custom_build_include_wx_msw_setup_h) + + @@ -405,7 +432,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h - + Common Sources:src/common/* MSW Sources:src/msw/* Generic Sources:src/generic/* @@ -534,7 +561,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h $(wxwin.libToLink(value)) $(wxwin.extraLdflags(value)) - + $(wxwin.makeDspDependency(value)) diff --git a/build/bakefiles/config.bkl b/build/bakefiles/config.bkl index dc4c51f584..9088413952 100644 --- a/build/bakefiles/config.bkl +++ b/build/bakefiles/config.bkl @@ -244,7 +244,10 @@ it if SHARED=1 unless you know what you are doing. - MSW + + MSW + WINCE + $(TOOLKIT.lower()) @@ -256,7 +259,7 @@ it if SHARED=1 unless you know what you are doing. opengl32.lib glu32.lib - opengl32.lib glu32.lib + opengl32.lib glu32.lib -lopengl32 -lglu32 @@ -309,6 +312,8 @@ Set the version of your Mingw installation here. default default 0 + + @@ -335,4 +340,11 @@ Set the version of your Mingw installation here. 0 + + + 0 + 1 + 1 + + diff --git a/build/bakefiles/files.bkl b/build/bakefiles/files.bkl index 68c2c98f6d..0d81b17679 100644 --- a/build/bakefiles/files.bkl +++ b/build/bakefiles/files.bkl @@ -78,6 +78,9 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! src/msw/mslu.cpp src/msw/volume.cpp + + src/msw/wince/time.cpp + wx/msw/apptrait.h wx/msw/apptbase.h @@ -90,6 +93,9 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! wx/msw/wrapcctl.h wx/msw/wrapwin.h + + wx/msw/wince/time.h + src/unix/baseunix.cpp @@ -315,6 +321,13 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! wx/msw/gsockmsw.h + + src/msw/wince/net.cpp + + + wx/msw/wince/net.h + + src/unix/gsocket.c @@ -1286,6 +1299,17 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! wx/msw/warning.ico + + src/msw/wince/filedlgwce.cpp + src/msw/wince/helpwce.cpp + src/msw/wince/tbarwce.cpp + + + wx/msw/wince/helpwce.h + wx/msw/wince/missing.h + wx/msw/wince/tbarwce.h + + @@ -2137,6 +2161,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! src/mac/carbon/glcanvas.cpp src/gtk/glcanvas.cpp src/msw/glcanvas.cpp + src/msw/glcanvas.cpp src/x11/glcanvas.cpp src/x11/glcanvas.cpp src/os2/glcanvas.cpp @@ -2146,6 +2171,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! wx/mac/carbon/glcanvas.h wx/gtk/glcanvas.h wx/msw/glcanvas.h + wx/msw/glcanvas.h wx/x11/glcanvas.h wx/x11/glcanvas.h wx/os2/glcanvas.h @@ -2154,7 +2180,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! - + @@ -2198,7 +2224,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! $(BASE_UNIX_SRC) - $(BASE_WIN32_SRC) + $(BASE_WIN32_SRC) $(BASE_WINCE_SRC) $(BASE_MACOSX_SRC) $(BASE_OS2_SRC) @@ -2212,7 +2238,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! $(BASE_UNIX_HDR) - $(BASE_WIN32_HDR) + $(BASE_WIN32_HDR) $(BASE_WINCE_HDR) $(BASE_MAC_HDR) $(BASE_DARWIN_HDR) @@ -2229,13 +2255,13 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! $(NET_UNIX_SRC) - $(NET_WIN32_SRC) + $(NET_WIN32_SRC) $(NET_WINCE_SRC) $(NET_DARWIN_SRC) $(NET_OS2_SRC) $(NET_UNIX_HDR) - $(NET_WIN32_HDR) + $(NET_WIN32_HDR) $(NET_WINCE_HDR) $(NET_OS2_HDR) $(NET_DARWIN_HDR) @@ -2251,6 +2277,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! $(GTK_LOWLEVEL_SRC) $(MOTIF_LOWLEVEL_SRC) $(MSW_LOWLEVEL_SRC) + $(MSW_LOWLEVEL_SRC) $(MAC_LOWLEVEL_SRC) $(COCOA_LOWLEVEL_SRC) $(OS2_LOWLEVEL_SRC) @@ -2261,6 +2288,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! $(GTK_LOWLEVEL_HDR) $(MOTIF_LOWLEVEL_HDR) $(MSW_LOWLEVEL_HDR) + $(MSW_LOWLEVEL_HDR) $(MAC_LOWLEVEL_HDR) $(COCOA_LOWLEVEL_HDR) $(OS2_LOWLEVEL_HDR) @@ -2272,6 +2300,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! $(GTK_SRC) $(MOTIF_SRC) $(MSW_SRC) + $(MSW_SRC) $(WINCE_SRC) $(MAC_SRC) $(COCOA_SRC) $(OS2_SRC) @@ -2280,6 +2309,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! $(GTK_HDR) $(MOTIF_HDR) $(MSW_HDR) + $(MSW_HDR) $(WINCE_HDR) $(MAC_HDR) $(COCOA_HDR) $(OS2_HDR) @@ -2297,6 +2327,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! $(ADVANCED_MSW_SRC) + $(ADVANCED_MSW_SRC) $(ADVANCED_MAC_SRC) $(ADVANCED_UNIX_SRC) $(ADVANCED_UNIX_SRC) @@ -2305,6 +2336,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! $(ADVANCED_MSW_HDR) + $(ADVANCED_MSW_HDR) $(ADVANCED_MAC_HDR) $(ADVANCED_UNIX_HDR) $(ADVANCED_UNIX_HDR) @@ -2344,14 +2376,15 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file! $(BASE_CMN_SRC) - $(BASE_UNIX_SRC) $(BASE_WIN32_SRC) $(BASE_MAC_SRC) $(BASE_DARWIN_SRC) + $(BASE_UNIX_SRC) $(BASE_WIN32_SRC) $(BASE_WINCE_SRC) + $(BASE_MAC_SRC) $(BASE_DARWIN_SRC) $(BASE_OS2_SRC) $(BASE_AND_GUI_CMN_SRC) $(BASE_AND_GUI_UNIX_SRC) $(BASE_AND_GUI_MAC_SRC) $(BASE_AND_GUI_DARWIN_SRC) $(BASE_AND_GUI_WIN32_SRC) - $(NET_CMN_SRC) $(NET_UNIX_SRC) $(NET_WIN32_SRC) + $(NET_CMN_SRC) $(NET_UNIX_SRC) $(NET_WIN32_SRC) $(NET_WINCE_SRC) $(XML_SRC) $(ODBC_SRC) diff --git a/build/bakefiles/monolithic.bkl b/build/bakefiles/monolithic.bkl index a5ea3ae4cd..fe44e8df17 100644 --- a/build/bakefiles/monolithic.bkl +++ b/build/bakefiles/monolithic.bkl @@ -29,5 +29,10 @@ $(MONOLIB_SRC) $(PLUGIN_MONOLIB_SRC) $(ALL_HEADERS) + + + mono=monolib+monodll + + gl=gllib+gldll diff --git a/build/bakefiles/multilib.bkl b/build/bakefiles/multilib.bkl index 2c2688e145..0d5a8b962a 100644 --- a/build/bakefiles/multilib.bkl +++ b/build/bakefiles/multilib.bkl @@ -22,7 +22,7 @@ $(BASE_CMN_HDR) $(BASE_PLATFORM_HDR) - base=baselib+basedll + base=baselib+basedll @@ -44,7 +44,7 @@ $(NET_CMN_HDR) $(NET_PLATFORM_HDR) - net=netlib+netdll + net=netlib+netdll @@ -68,7 +68,7 @@ $(ALL_GUI_HEADERS) - core=corelib+coredll + core=corelib+coredll @@ -92,7 +92,7 @@ $(ADVANCED_HDR) - adv=advlib+advdll + adv=advlib+advdll @@ -134,8 +134,8 @@ $(DBGRID_HDR) - odbc=odbclib+odbcdll - dbgrid=dbgridlib+dbgriddll + odbc=odbclib+odbcdll + dbgrid=dbgridlib+dbgriddll @@ -159,7 +159,7 @@ $(HTML_HDR) - html=htmllib+htmldll + html=htmllib+htmldll @@ -167,7 +167,7 @@ - gl=gllib+gldll + gl=gllib+gldll @@ -190,6 +190,6 @@ $(XML_HDR) - xml=xmllib+xmldll + xml=xmllib+xmldll diff --git a/build/bakefiles/wx.bkl b/build/bakefiles/wx.bkl index 3a0e66982c..0907ece4a7 100644 --- a/build/bakefiles/wx.bkl +++ b/build/bakefiles/wx.bkl @@ -23,6 +23,14 @@ + + + + $(MSVC6PRJ_MERGED_TARGETS_MULTILIB) + $(MSVC6PRJ_MERGED_TARGETS_MONOLIB) + + +