]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/monolithic.bkl
Changes needed to help builder.py be more generic and working well with other modules
[wxWidgets.git] / build / bakefiles / monolithic.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3 <makefile>
4
5 <set var="MONOLIB_GUI_SRC">
6 <if cond="USE_GUI=='1'">
7 $(CORE_SRC) $(ADVANCED_SRC) $(MEDIA_SRC) $(HTML_SRC) $(WEBVIEW_SRC)
8 $(QA_SRC) $(XRC_SRC) $(AUI_SRC) $(PROPGRID_SRC) $(RIBBON_SRC)
9 $(RICHTEXT_SRC) $(STC_SRC)
10 </if>
11 </set>
12 <set var="MONOLIB_SRC">
13 $(BASE_SRC) $(BASE_AND_GUI_SRC) $(NET_SRC) $(MONOLIB_GUI_SRC) $(XML_SRC)
14 </set>
15
16 <!-- settings common to mono{dll,lib} below -->
17 <template id="wx_monolib_or_dll" template="wxscintilla_cppflags">
18 <define>wxUSE_BASE=1</define>
19 <sources>$(MONOLIB_SRC) $(PLUGIN_MONOLIB_SRC)</sources>
20 <msvc-headers>$(ALL_HEADERS)</msvc-headers>
21 </template>
22
23 <dll id="monodll" template="wx_dll,wx_monolib_or_dll"
24 cond="SHARED=='1' and MONOLITHIC=='1'">
25 <define>WXMAKINGDLL</define>
26 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
27 <ldlibs>$(EXTRALIBS_HTML)</ldlibs>
28 <ldlibs>$(EXTRALIBS_MEDIA)</ldlibs>
29 <ldlibs>$(PLUGIN_MONOLIB_EXTRALIBS)</ldlibs>
30 <library>$(wxscintilla_library_link)</library>
31 </dll>
32
33 <lib id="monolib" template="wx_lib,wx_monolib_or_dll"
34 cond="SHARED=='0' and MONOLITHIC=='1'">
35 <if cond="FORMAT=='watcom'">
36 <set var="LIB_PAGESIZE" overwrite="1">8192</set>
37 </if>
38 </lib>
39
40
41 <set var="MSVC6PRJ_MERGED_TARGETS_MONOLIB" append="1">mono=monolib+monodll</set>
42 <!-- included by wx.bkl from opengl.bkl -->
43 <set var="MSVC6PRJ_MERGED_TARGETS_MONOLIB" append="1">gl=gllib+gldll</set>
44
45 </makefile>