X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d11f6cad1fb887fced498844a90768b5e73c0a9..aa8d7c2f9b1e50b5cf7b6ee24253c9459d7f31c4:/build/bakefiles/common.bkl
diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index be4399f4a8..f8b560d463 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -21,8 +21,17 @@
$(wxwin.getVersionRelease())
$(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE)
- 0.0.0
+ $(int(int(WXVER_MINOR) % 2 == 0))
+
+
+ 0.0.0
+ $(WXVER_RELEASE).0.0
+
$(WX_VERSION)
+
+ $(WXVER_MAJOR)$(WXVER_MINOR)
+ $(WXVER_MAJOR)$(WXVER_MINOR)$(WXVER_RELEASE)
+
@@ -33,6 +42,10 @@
base
$(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
+
+
+ _carbon
+
$(COMPILER)
@@ -48,7 +61,8 @@
- d
+ d
+ d
u
@@ -65,22 +79,27 @@
- wx
+ wx_base$(WXBASEPORT)
wx_$(PORTNAME)$(WXUNIVNAME)
-$(WXVER_MAJOR).$(WXVER_MINOR)
- wx$(WXVER_MAJOR)$(WXVER_MINOR)
- wx$(PORTNAME)$(WXUNIVNAME)$(WXVER_MAJOR)$(WXVER_MINOR)
+
+ wxbase$(WXBASEPORT)$(WXVER_MAJOR)$(WXVER_MINOR)
+
+
+ wx$(PORTNAME)$(WXUNIVNAME)$(WXVER_MAJOR)$(WXVER_MINOR)
- wx$(WXVER_MAJOR)$(WXVER_MINOR)
+
+ wxbase$(WXBASEPORT)$(WXWIN32DLLVERSION)
+
$(WXNAMEPREFIX)
- wx$(PORTNAME)$(WXUNIVNAME)$(WXVER_MAJOR)$(WXVER_MINOR)
+ wx$(PORTNAME)$(WXUNIVNAME)$(WXWIN32DLLVERSION)
$(WXNAMEPREFIXGUI)
@@ -89,10 +108,6 @@
$(WXVERSIONTAG)
-
- $(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-$(WXVER_MAJOR).$(WXVER_MINOR)
-
-
@@ -101,12 +116,27 @@
$(mk.evalExpr(wxwin.mkLibName('base')))
+
+ $(mk.evalExpr(wxwin.mkLibName('net')))
+
$(mk.evalExpr(wxwin.mkLibName('core')))
+
+ $(mk.evalExpr(wxwin.mkLibName('adv')))
+
$(mk.evalExpr(wxwin.mkLibName('html')))
+
+ $(mk.evalExpr(wxwin.mkLibName('xml')))
+
+
+ $(mk.evalExpr(wxwin.mkLibName('odbc')))
+
+
+ $(mk.evalExpr(wxwin.mkLibName('dbgrid')))
+
$(mk.evalExpr(wxwin.mkLibName('mono')))
@@ -125,14 +155,14 @@
$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
- objs_$(COMPILER)_$(CFG_NAME_PART)
+ $(COMPILER)_$(CFG_NAME_PART)
$(OBJS)
-
+
$(top_builddir)lib
- $(TOP_SRCDIR)lib$(DIRSEP)$(COMPILER)_$(CFG_NAME_PART)
+ $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)_$(CFG_NAME_PART)
@@ -141,27 +171,52 @@
-
- on
- off
+
+ on
+ on
+ off
+ off
+
+
+ $(DEBUGINFO)
+ off
+ on
off
speed
+
+
+ __WXDEBUG__
+ __WXDEBUG__
+
+
+ wxUSE_UNICODE=1
+
+
+
+ unicows
+
+
+
+ $(DEBUGINFO)
+ $(DEBUGRUNTIME)
+ $(OPTIMIZEFLAG)
+ multi
+ $(RUNTIME_LIBS)
+
+ $(EXTRACFLAGS)
+
+
- setup.h
$(LIBDIRNAME)
$(LIBDIR)
-
- $(DEBUGFLAG)
- $(OPTIMIZEFLAG)
- multi
-
- $(id)$(WXDEBUGFLAG)
+
+ $(id)$(WXDEBUGFLAG)$(HOST_SUFFIX)
@@ -176,16 +231,19 @@
+
-
+
$(wxwin.mk_wxid(id))
__WX$(TOOLKIT)__
$(WXUNIV_DEFINE)
+ $(DEBUG_DEFINE)
+ $(UNICODE_DEFINE)
$(TOP_SRCDIR)include
$(LIBDIRNAME)
$(LIBDIRNAME)
@@ -195,10 +253,11 @@
$(INC_ZLIB)
$(INC_ODBC)
$(INC_REGEX)
+ $(INC_EXPAT)
-
- $(EXTRALIBS)
+
+
$(LIB_TIFF)
$(LIB_JPEG)
@@ -206,15 +265,117 @@
$(LIB_ZLIB)
$(LIB_ODBC)
$(LIB_REGEX)
+ $(LIB_EXPAT)
+
+ $(EXTRALIBS)
+
+
+
+ $(UNICOWS_LIB)
+
+ import32
+ ole2w32
+
+
+ kernel32
+ user32
+ gdi32
+ comdlg32
+ winspool
+ winmm
+ shell32
+ comctl32
+ odbc32
+ ole32
+ oleaut32
+ uuid
+ rpcrt4
+ 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
+
+
+
+
+
+
+
+ $(EXTRALIBS_GUI)
+
+
+
+
+
+ $(WXLIB_MONO)
+
+
+
+ $(WXLIB_MONO)
+
+
+
+ 0
+
$(wxwin.mkLibName(wxid))
$(WXLIBNAME)
- on
- wxprec
+
+
+
+ $(WXTOPDIR)src/msw/dummy.cpp
+
+ $(WXTOPDIR)src/msw/dummy.cpp
+
+
+ wx/wxprec.h
+ on
+ wxprec_$(id)
+
+ src/common/unzip.c
+ src/common/extended.c
+ src/msw/gsocket.c
+ src/msw/gsockmsw.c
+
+
+
+
+ Common Sources:src/common/*
+ MSW Sources:src/msw/*
+ Generic Sources:src/generic/*
+ wxUniv Sources:src/univ/*
+ wxHTML Sources:src/html/*
+ Setup Headers:*/setup.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
+
-
+
$(wxwin.mkDllName(wxid))
$(WXDLLNAME)
@@ -223,15 +384,78 @@
$(WXMACVERSION)
-
-
+
+ wxtiff
+ wxjpeg
+ wxpng
+ wxexpat
+ wxzlib
+ wxodbc
+ wxregex
+
+
+
+
+ wxUSE_GUI=0
+
+
+
+
+ wxUSE_GUI=0
+
+
+
+
+
+
+
+
+
+ -$(WXVER_MAJOR).$(WXVER_MINOR)
+
+
+ $(WXVER_MAJOR)$(WXVER_MINOR)
+
+
+
+
+
+
+ -$(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE)
+
+
+ $(WXVER_MAJOR)$(WXVER_MINOR)$(WXVER_RELEASE)
+
+
+
+
+
+
+
+ $(id)$(addPrefixIfNotEmpty('_',WXNAMESUFFIX))$(PLUGIN_VERSION)
+
+ WXUSINGDLL
+ wxUSE_GUI=0
+
+
+
+
+
+
+ $(id)_$(PORTNAME)$(WXUNIVNAME)$(WXNAMESUFFIX)$(PLUGIN_VERSION)
+
+ WXUSINGDLL
+
+
-
+
$(wxwin.libToLink(value))