X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82ca3afeb029cff9aaa91e2cb049538a23a2cf9e..9de2e75ad0453dc3c66f4c92f3bfd31ee5c96b0c:/build/bakefiles/common.bkl
diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index 896ee5e046..29afb6b10a 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -19,7 +19,9 @@
$(wxwin.getVersionMajor())
$(wxwin.getVersionMinor())
$(wxwin.getVersionRelease())
- $(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE)
+
+ $(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE)
+
$(int(int(WXVER_MINOR) % 2 == 0))
@@ -61,7 +63,8 @@
- d
+ d
+ d
u
@@ -121,12 +124,21 @@
$(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')))
@@ -145,46 +157,87 @@
$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
- $(COMPILER)_$(CFG_NAME_PART)
+
+ $(COMPILER)_$(CFG_NAME_PART)
+
+ build_cbx_$(CFG_NAME_PART)
+
+
$(OBJS)
$(top_builddir)lib
-
- $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)_$(CFG_NAME_PART)
+
+ $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)_lib$(CFG)
+
+
+ $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)_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
- $(DEBUGFLAG)
+ $(DEBUGINFO)
+ $(DEBUGRUNTIME)
$(OPTIMIZEFLAG)
multi
$(RUNTIME_LIBS)
+ $(EXCEPTIONSFLAG)
+ $(EXCEPTIONSFLAG)
$(EXTRACFLAGS)
+ $(NO_VC_CRTDBG)
@@ -194,6 +247,11 @@
$(id)$(WXDEBUGFLAG)$(HOST_SUFFIX)
+
+ SHARED=='0'
@@ -223,14 +281,8 @@
$(UNICODE_DEFINE)
$(TOP_SRCDIR)include
$(LIBDIRNAME)
- $(LIBDIRNAME)
- $(INC_TIFF)
- $(INC_JPEG)
- $(INC_PNG)
- $(INC_ZLIB)
- $(INC_ODBC)
- $(INC_REGEX)
- $(INC_EXPAT)
+ $(SETUPHDIR)
+ max
@@ -248,11 +300,11 @@
-
- import32
+ $(UNICOWS_LIB)
+
ole2w32
-
+
kernel32
user32
gdi32
@@ -269,7 +321,10 @@
advapi32
wsock32
-
+
+ oleacc
+
+
@@ -287,11 +342,11 @@
include\wx\msw\setup.h
-Creating $(LIBDIRNAME)\wx\setup.h
+Creating $(SETUPHDIR)\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
+"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
+$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
@@ -344,11 +399,11 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(LIBDIRNAME)\wx\setup.h
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 +415,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(LIBDIRNAME)\wx\setup.h
$(WXMACVERSION)
-
-
-
+
wxtiff
wxjpeg
wxpng
@@ -372,24 +424,92 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(LIBDIRNAME)\wx\setup.h
wxodbc
wxregex
-
- wxtiff
- wxjpeg
- wxpng
- wxexpat
- wxzlib
- wxodbc
- wxregex
+
+
+ $(INC_TIFF)
+ $(INC_JPEG)
+ $(INC_PNG)
+ $(INC_ZLIB)
+ $(INC_ODBC)
+ $(INC_REGEX)
+ $(INC_EXPAT)
+
+
+
+
+
+
+ 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)$(WXCOMPILER)
+
+ WXUSINGDLL
+ wxUSE_GUI=0
+
+
+
+
+
+
+ $(id)_$(PORTNAME)$(WXUNIVNAME)$(WXNAMESUFFIX)$(PLUGIN_VERSION)$(WXCOMPILER)
+
+ WXUSINGDLL
+
+
+
-
+
$(wxwin.libToLink(value))
+ $(wxwin.extraLdflags(value))
+
+ $(wxwin.makeDspDependency(value))
+