projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Save dialog for printing. Source cleaning.
[wxWidgets.git]
/
build
/
bakefiles
/
common.bkl
diff --git
a/build/bakefiles/common.bkl
b/build/bakefiles/common.bkl
index b3f93fa901f903e496477d0970c100b0a3d68141..99b0bd578b7bc5986db5a13024248618ee8d7051 100644
(file)
--- a/
build/bakefiles/common.bkl
+++ b/
build/bakefiles/common.bkl
@@
-3,7
+3,7
@@
<makefile>
<makefile>
- <requires version="0.1.
4
"/>
+ <requires version="0.1.
5
"/>
<!-- bakefile modules we need: -->
<using module="datafiles"/>
<!-- bakefile modules we need: -->
<using module="datafiles"/>
@@
-151,6
+151,9
@@
<set var="WXLIB_ADV">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('adv')))</if>
</set>
<set var="WXLIB_ADV">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('adv')))</if>
</set>
+ <set var="WXLIB_MEDIA">
+ <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('media')))</if>
+ </set>
<set var="WXLIB_HTML">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('html')))</if>
</set>
<set var="WXLIB_HTML">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('html')))</if>
</set>
@@
-201,13
+204,15
@@
<set var="BUILDDIR">$(OBJS)</set>
</if>
<set var="BUILDDIR">$(OBJS)</set>
</if>
+ <set var="LIBTYPE_SUFFIX" make_var="1">
+ <if cond="FORMAT!='autoconf' and SHARED=='0'">lib</if>
+ <if cond="FORMAT!='autoconf' and SHARED=='1'">dll</if>
+ </set>
+
<set var="LIBDIRNAME" make_var="1">
<if cond="FORMAT=='autoconf'">$(top_builddir)lib</if>
<set var="LIBDIRNAME" make_var="1">
<if cond="FORMAT=='autoconf'">$(top_builddir)lib</if>
- <if cond="FORMAT!='autoconf' and SHARED=='0'">
- $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_lib$(CFG)
- </if>
- <if cond="FORMAT!='autoconf' and SHARED=='1'">
- $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_dll$(CFG)
+ <if cond="FORMAT!='autoconf'">
+ $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
</if>
</set>
</if>
</set>
@@
-385,6
+390,9
@@
$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
-wcd=657 <!-- define this function inside its class definition (could have improved code quality) -->
-wcd=667 <!-- 'va_start' macro will not work without an argument before '...' -->
</cppflags-watcom>
-wcd=657 <!-- define this function inside its class definition (could have improved code quality) -->
-wcd=667 <!-- 'va_start' macro will not work without an argument before '...' -->
</cppflags-watcom>
+ <cxxflags-mingw>
+ -Wno-ctor-dtor-privacy <!-- only defines a private destructor and has no friends -->
+ </cxxflags-mingw>
</template>
<!-- for both GUI and wxBase libs/samples: -->
</template>
<!-- for both GUI and wxBase libs/samples: -->
@@
-469,11
+477,17
@@
$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
$(WXTOPDIR)src/msw/dummy.cpp
</precomp-headers-gen>
</if>
$(WXTOPDIR)src/msw/dummy.cpp
</precomp-headers-gen>
</if>
+
+ <!-- FIXME: temporary fix for bkl-0.1.5 bug, remove <if> when
+ bkl-0.1.6 is released -->
+ <if cond="FORMAT in ['dmars','dmars_smake']">
+ <precomp-headers-location>$(WXTOPDIR)include</precomp-headers-location>
+ </if>
+
<precomp-headers-header>wx/wxprec.h</precomp-headers-header>
<precomp-headers>on</precomp-headers>
<precomp-headers-file>wxprec_$(id)</precomp-headers-file>
<precomp-headers-exclude>
<precomp-headers-header>wx/wxprec.h</precomp-headers-header>
<precomp-headers>on</precomp-headers>
<precomp-headers-file>wxprec_$(id)</precomp-headers-file>
<precomp-headers-exclude>
- src/common/unzip.c
src/common/extended.c
src/msw/gsocket.cpp
src/msw/gsockmsw.cpp
src/common/extended.c
src/msw/gsocket.cpp
src/msw/gsockmsw.cpp
@@
-503,20
+517,28
@@
$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
<mac_version>$(WXMACVERSION)</mac_version>
</template>
<mac_version>$(WXMACVERSION)</mac_version>
</template>
- <template id="wx_3rdparty_dependencies">
+ <template id="wx_3rdparty_dependencies
_gui" cond="USE_GUI=='1'
">
<depends>wxtiff</depends>
<depends>wxjpeg</depends>
<depends>wxpng</depends>
<depends>wxtiff</depends>
<depends>wxjpeg</depends>
<depends>wxpng</depends>
+ </template>
+
+ <template id="wx_3rdparty_dependencies"
+ template="wx_3rdparty_dependencies_gui">
<depends>wxexpat</depends>
<depends>wxzlib</depends>
<depends cond="FORMAT=='autoconf'">wxodbc</depends>
<depends>wxregex</depends>
</template>
<depends>wxexpat</depends>
<depends>wxzlib</depends>
<depends cond="FORMAT=='autoconf'">wxodbc</depends>
<depends>wxregex</depends>
</template>
- <template id="wx_3rdparty_includes">
+ <template id="wx_3rdparty_includes
_gui" cond="USE_GUI=='1'
">
<include>$(INC_TIFF)</include>
<include>$(INC_JPEG)</include>
<include>$(INC_PNG)</include>
<include>$(INC_TIFF)</include>
<include>$(INC_JPEG)</include>
<include>$(INC_PNG)</include>
+ </template>
+
+ <template id="wx_3rdparty_includes"
+ template="wx_3rdparty_includes_gui">
<include>$(INC_ZLIB)</include>
<include>$(INC_ODBC)</include>
<include>$(INC_REGEX)</include>
<include>$(INC_ZLIB)</include>
<include>$(INC_ODBC)</include>
<include>$(INC_REGEX)</include>