]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/monolithic.bkl
fix for IBM and HP compilers, which don't allow ->* operator with undefined class
[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) $(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>$(EXTRALIBS_MEDIA)</ldlibs>
23 <ldlibs>$(PLUGIN_MONOLIB_EXTRALIBS)</ldlibs>
24 <msvc-headers>$(ALL_HEADERS)</msvc-headers>
25 <!-- STC stuff, should this be conditionalized? -->
26 <include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
27 <include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
28 <define>__WX__</define>
29 <define>SCI_LEXER</define>
30 <define>LINK_LEXERS</define>
31 <library>$(wxscintilla_library_link)</library>
32 </dll>
33
34 <lib id="monolib" template="wx_lib"
35 cond="SHARED=='0' and MONOLITHIC=='1'">
36 <define>wxUSE_BASE=1</define>
37 <sources>$(MONOLIB_SRC) $(PLUGIN_MONOLIB_SRC)</sources>
38 <msvc-headers>$(ALL_HEADERS)</msvc-headers>
39 <if cond="FORMAT=='watcom'">
40 <set var="LIB_PAGESIZE" overwrite="1">8192</set>
41 </if>
42 <!-- STC stuff, should this be conditionalized? -->
43 <include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
44 <include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
45 <define>__WX__</define>
46 <define>SCI_LEXER</define>
47 <define>LINK_LEXERS</define>
48 </lib>
49
50
51 <set var="MSVC6PRJ_MERGED_TARGETS_MONOLIB" append="1">mono=monolib+monodll</set>
52 <!-- included by wx.bkl from opengl.bkl -->
53 <set var="MSVC6PRJ_MERGED_TARGETS_MONOLIB" append="1">gl=gllib+gldll</set>
54
55 </makefile>