X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82ca3afeb029cff9aaa91e2cb049538a23a2cf9e..8998887c224924d5f6f4601597c162d6429495e1:/build/bakefiles/common.bkl diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index 896ee5e046..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)) @@ -61,13 +69,15 @@ - d + d + d - u + + u - $(WXUNICODEFLAG)$(WXDEBUGFLAG) + $(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) @@ -121,12 +131,26 @@ $(mk.evalExpr(wxwin.mkLibName('core'))) + + $(mk.evalExpr(wxwin.mkLibName('adv'))) + $(mk.evalExpr(wxwin.mkLibName('html'))) $(mk.evalExpr(wxwin.mkLibName('xml'))) + + $(mk.evalExpr(wxwin.mkLibName('xrc'))) + + + + $(mk.evalExpr(wxwin.mkLibName('odbc'))) + + + + $(mk.evalExpr(wxwin.mkLibName('dbgrid'))) + $(mk.evalExpr(wxwin.mkLibName('mono'))) @@ -137,6 +161,9 @@ + + _$(CPU) + @@ -145,46 +172,89 @@ $(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) + + + - - on - off + + on + on + off + off + + + $(DEBUGINFO) + off + on off speed + + on + off + - __WXDEBUG__ + __WXDEBUG__ + __WXDEBUG__ + + + + __NO_VC_CRTDBG__ + __NO_VC_CRTDBG__ - wxUSE_UNICODE=1 + _UNICODE + + + + unicows + + + + + $(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 + + + + @@ -212,7 +329,7 @@ - + @@ -248,11 +361,19 @@ - - import32 + $(UNICOWS_LIB) + ole2w32 - + + ole32 + oleaut32 + uuid + commctrl + winsock + wininet + + kernel32 user32 gdi32 @@ -261,7 +382,6 @@ winmm shell32 comctl32 - odbc32 ole32 oleaut32 uuid @@ -269,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 + - + @@ -320,7 +422,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(LIBDIRNAME)\wx\setup.h $(WXLIBNAME) - + $(WXTOPDIR)src/msw/dummy.cpp $(WXTOPDIR)src/msw/dummy.cpp @@ -332,23 +434,23 @@ $(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/* wxUniv Sources:src/univ/* wxHTML Sources:src/html/* Setup Headers:*/setup.h - Common Headers:*wx/[!/]*.h MSW Headers:*wx/msw/*.h Generic Headers:*wx/generic/*.h wxUniv Headers:*wx/univ/*.h wxHTML Headers:*wx/html/*.h + Common Headers:*wx/*.h @@ -360,10 +462,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(LIBDIRNAME)\wx\setup.h $(WXMACVERSION) -