]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/monolithic.bkl
added namespaces to prevent warnings with Bakefile 0.2.3
[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) $(QA_SRC)
8 $(XRC_SRC) $(AUI_SRC) $(RICHTEXT_SRC) $(STC_SRC)
9 </if>
10 </set>
11 <set var="MONOLIB_SRC">
12 $(BASE_SRC) $(BASE_AND_GUI_SRC) $(NET_SRC) $(MONOLIB_GUI_SRC) $(XML_SRC)
13 </set>
14
15 <dll id="monodll" template="wx_dll"
16 cond="SHARED=='1' and MONOLITHIC=='1'">
17 <define>wxUSE_BASE=1</define>
18 <define>WXMAKINGDLL</define>
19 <sources>$(MONOLIB_SRC) $(PLUGIN_MONOLIB_SRC)</sources>
20 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
21 <ldlibs>$(EXTRALIBS_HTML)</ldlibs>
22 <ldlibs>$(PLUGIN_MONOLIB_EXTRALIBS)</ldlibs>
23 <msvc-headers>$(ALL_HEADERS)</msvc-headers>
24 <!-- STC stuff, should this be conditionalized? -->
25 <include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
26 <include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
27 <define>__WX__</define>
28 <define>SCI_LEXER</define>
29 <define>LINK_LEXERS</define>
30 <library>$(wxscintilla_library_link)</library>
31 </dll>
32
33 <lib id="monolib" template="wx_lib"
34 cond="SHARED=='0' and MONOLITHIC=='1'">
35 <define>wxUSE_BASE=1</define>
36 <sources>$(MONOLIB_SRC) $(PLUGIN_MONOLIB_SRC)</sources>
37 <msvc-headers>$(ALL_HEADERS)</msvc-headers>
38 <if cond="FORMAT=='watcom'">
39 <set var="LIB_PAGESIZE" overwrite="1">8192</set>
40 </if>
41 <!-- STC stuff, should this be conditionalized? -->
42 <include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
43 <include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
44 <define>__WX__</define>
45 <define>SCI_LEXER</define>
46 <define>LINK_LEXERS</define>
47 </lib>
48
49
50 <set var="MSVC6PRJ_MERGED_TARGETS_MONOLIB" append="1">mono=monolib+monodll</set>
51 <!-- included by wx.bkl from opengl.bkl -->
52 <set var="MSVC6PRJ_MERGED_TARGETS_MONOLIB" append="1">gl=gllib+gldll</set>
53
54 </makefile>