]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/monolithic.bkl
Define COMPILER_PREFIX as COMPILER if it's not defined.
[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) $(PROPGRID_SRC) $(RIBBON_SRC) $(RICHTEXT_SRC)
9 $(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 <dll id="monodll" template="wx_dll"
17 cond="SHARED=='1' and MONOLITHIC=='1'">
18 <define>wxUSE_BASE=1</define>
19 <define>WXMAKINGDLL</define>
20 <sources>$(MONOLIB_SRC) $(PLUGIN_MONOLIB_SRC)</sources>
21 <ldlibs>$(EXTRALIBS_XML)</ldlibs>
22 <ldlibs>$(EXTRALIBS_HTML)</ldlibs>
23 <ldlibs>$(EXTRALIBS_MEDIA)</ldlibs>
24 <ldlibs>$(PLUGIN_MONOLIB_EXTRALIBS)</ldlibs>
25 <msvc-headers>$(ALL_HEADERS)</msvc-headers>
26 <!-- STC stuff, should this be conditionalized? -->
27 <include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
28 <include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
29 <define>__WX__</define>
30 <define>SCI_LEXER</define>
31 <define>LINK_LEXERS</define>
32 <library>$(wxscintilla_library_link)</library>
33 </dll>
34
35 <lib id="monolib" template="wx_lib"
36 cond="SHARED=='0' and MONOLITHIC=='1'">
37 <define>wxUSE_BASE=1</define>
38 <sources>$(MONOLIB_SRC) $(PLUGIN_MONOLIB_SRC)</sources>
39 <msvc-headers>$(ALL_HEADERS)</msvc-headers>
40 <if cond="FORMAT=='watcom'">
41 <set var="LIB_PAGESIZE" overwrite="1">8192</set>
42 </if>
43 <!-- STC stuff, should this be conditionalized? -->
44 <include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
45 <include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
46 <define>__WX__</define>
47 <define>SCI_LEXER</define>
48 <define>LINK_LEXERS</define>
49 </lib>
50
51
52 <set var="MSVC6PRJ_MERGED_TARGETS_MONOLIB" append="1">mono=monolib+monodll</set>
53 <!-- included by wx.bkl from opengl.bkl -->
54 <set var="MSVC6PRJ_MERGED_TARGETS_MONOLIB" append="1">gl=gllib+gldll</set>
55
56 </makefile>