X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cbba971f2fff5ccb5d65c7508dcde8556de83b99..01168e9591c6114140768de014695e3908922033:/build/bakefiles/common.bkl diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index f8b560d463..70f7f8317f 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -2,6 +2,8 @@ + + @@ -10,16 +12,22 @@ - + + - + $(wxwin.getVersionMajor()) $(wxwin.getVersionMinor()) $(wxwin.getVersionRelease()) - $(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE) + + $(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE) + + + $(WXVER_MAJOR).$(WXVER_MINOR) + $(int(int(WXVER_MINOR) % 2 == 0)) @@ -65,10 +73,11 @@ d - u + + u - $(WXUNICODEFLAG)$(WXDEBUGFLAG) + $(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) @@ -131,8 +140,13 @@ $(mk.evalExpr(wxwin.mkLibName('xml'))) + + $(mk.evalExpr(wxwin.mkLibName('xrc'))) + - $(mk.evalExpr(wxwin.mkLibName('odbc'))) + + $(mk.evalExpr(wxwin.mkLibName('odbc'))) + $(mk.evalExpr(wxwin.mkLibName('dbgrid'))) @@ -147,6 +161,9 @@ + + _$(CPU) + @@ -155,16 +172,34 @@ $(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) - $(COMPILER)_$(CFG_NAME_PART) + + + $(COMPILER)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU) + + + build_cbx_$(CFG_NAME_PART) + + $(OBJS) $(top_builddir)lib - - $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)_$(CFG_NAME_PART) + + $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_lib$(CFG) + + + $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_dll$(CFG) + + + + $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) + + + @@ -186,13 +221,22 @@ off speed + + on + off + __WXDEBUG__ __WXDEBUG__ + + + __NO_VC_CRTDBG__ + __NO_VC_CRTDBG__ + - wxUSE_UNICODE=1 + _UNICODE @@ -205,9 +249,12 @@ $(OPTIMIZEFLAG) multi $(RUNTIME_LIBS) + $(EXCEPTIONSFLAG) + $(EXCEPTIONSFLAG) $(EXTRACFLAGS) + $(NO_VC_CRTDBG) + + + + $(FORMAT in ['msvc6prj','msevc4prj']) + + + + + $(addPrefixToList('include\', wxwin.headersOnly(value))) + + + + + + + wx/msw/wince/setup.h + wince\setup.h + wince_setup_h + + + wx/msw/setup.h + setup.h + setup_h + + + + include\wx\msw\$(vc_setup_h) + + +Creating $(SETUPHDIR)\wx\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 + + + + + @@ -235,7 +329,7 @@ - + @@ -272,11 +362,18 @@ $(UNICOWS_LIB) - - import32 + ole2w32 - + + ole32 + oleaut32 + uuid + commctrl + winsock + wininet + + kernel32 user32 gdi32 @@ -285,7 +382,6 @@ winmm shell32 comctl32 - odbc32 ole32 oleaut32 uuid @@ -293,32 +389,14 @@ advapi32 wsock32 - - - - - - - $(addPrefixToList('include\', wxwin.headersOnly(value))) - - - - - - - wx/msw/setup.h - - include\wx\msw\setup.h - - -Creating $(LIBDIRNAME)\wx\setup.h -InputPath=..\include\wx\msw\setup.h - -"$(LIBDIRNAME)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)" -$(TAB)copy "$(DOLLAR)(InputPath)" $(LIBDIRNAME)\wx\setup.h - + + oleacc + + + odbc32 + - + @@ -344,7 +422,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(LIBDIRNAME)\wx\setup.h $(WXLIBNAME) - + $(WXTOPDIR)src/msw/dummy.cpp $(WXTOPDIR)src/msw/dummy.cpp @@ -356,12 +434,12 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(LIBDIRNAME)\wx\setup.h src/common/unzip.c src/common/extended.c - src/msw/gsocket.c - src/msw/gsockmsw.c + src/msw/gsocket.cpp + src/msw/gsockmsw.cpp - + Common Sources:src/common/* MSW Sources:src/msw/* Generic Sources:src/generic/* @@ -393,27 +471,41 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(LIBDIRNAME)\wx\setup.h wxodbc wxregex + + -