]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/scintilla.bkl
deal with Cocoa as we do with Carbon, see #15008
[wxWidgets.git] / build / bakefiles / scintilla.bkl
1 <?xml version="1.0" ?>
2 <makefile>
3
4 <if cond="FORMAT=='autoconf'">
5 <set var="LIB_SCINTILLA">
6 wxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
7 </set>
8 </if>
9 <if cond="FORMAT!='autoconf'">
10 <set var="LIB_SCINTILLA">
11 wxscintilla$(WXDEBUGFLAG)$(HOST_SUFFIX)
12 </set>
13 </if>
14 <set var="INC_SCINTILLA">
15 $(TOP_SRCDIR)src/stc/scintilla/include
16 </set>
17
18 <!-- automatically update generated files when building the library -->
19 <if cond="BUILDING_LIB=='1'">
20 <fragment format='autoconf'>
21 @COND_PYTHON@@COND_USE_STC_1@$(srcdir)/include/wx/stc/stc.h: \
22 @COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/scintilla/include/Scintilla.iface \
23 @COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/stc.cpp.in \
24 @COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/stc.h.in \
25 @COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/gen_iface.py
26 @COND_PYTHON@@COND_USE_STC_1@ cd $(srcdir)/src/stc &amp;&amp; ./gen_iface.py
27 @COND_PYTHON@@COND_USE_STC_1@monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \
28 @COND_PYTHON@@COND_USE_STC_1@ $(srcdir)/include/wx/stc/stc.h
29 </fragment>
30 </if>
31
32 <template id="wxscintilla_cppflags">
33 <include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
34 <include>$(TOP_SRCDIR)src/stc/scintilla/lexlib</include>
35 <include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
36 <define>__WX__</define>
37 <define>SCI_LEXER</define>
38 <define>LINK_LEXERS</define>
39 <cppflags-borland>-w-8027</cppflags-borland>
40 </template>
41
42 <set var="wxscintilla_usingdll">
43 <if cond="SHARED=='1' and MONOLITHIC=='0'">WXUSINGDLL</if>
44 </set>
45
46 <lib id="wxscintilla" template="3rdparty_lib,wxscintilla_cppflags,msvc_setup_h"
47 cond="USE_STC=='1' and BUILDING_LIB=='1'">
48 <if cond="FORMAT!='autoconf'">
49 <include>$(SETUPHDIR)</include>
50 <include>$(TOP_SRCDIR)include</include>
51 </if>
52 <define>$(wxscintilla_usingdll)</define>
53 <define>__WX$(TOOLKIT)__</define>
54 <define>$(WXUNIV_DEFINE)</define>
55 <define>$(DEBUG_DEFINE)</define>
56 <define>$(UNICODE_DEFINE)</define>
57 <dirname>$(LIBDIRNAME)</dirname>
58 <sources>
59 src/stc/scintilla/lexers/LexA68k.cxx
60 src/stc/scintilla/lexers/LexAbaqus.cxx
61 src/stc/scintilla/lexers/LexAda.cxx
62 src/stc/scintilla/lexers/LexAPDL.cxx
63 src/stc/scintilla/lexers/LexAsm.cxx
64 src/stc/scintilla/lexers/LexAsn1.cxx
65 src/stc/scintilla/lexers/LexASY.cxx
66 src/stc/scintilla/lexers/LexAU3.cxx
67 src/stc/scintilla/lexers/LexAVE.cxx
68 src/stc/scintilla/lexers/LexAVS.cxx
69 src/stc/scintilla/lexers/LexBaan.cxx
70 src/stc/scintilla/lexers/LexBash.cxx
71 src/stc/scintilla/lexers/LexBasic.cxx
72 src/stc/scintilla/lexers/LexBullant.cxx
73 src/stc/scintilla/lexers/LexCaml.cxx
74 src/stc/scintilla/lexers/LexCLW.cxx
75 src/stc/scintilla/lexers/LexCmake.cxx
76 src/stc/scintilla/lexers/LexCOBOL.cxx
77 src/stc/scintilla/lexers/LexCoffeeScript.cxx
78 src/stc/scintilla/lexers/LexConf.cxx
79 src/stc/scintilla/lexers/LexCPP.cxx
80 src/stc/scintilla/lexers/LexCrontab.cxx
81 src/stc/scintilla/lexers/LexCsound.cxx
82 src/stc/scintilla/lexers/LexCSS.cxx
83 src/stc/scintilla/lexers/LexD.cxx
84 src/stc/scintilla/lexers/LexECL.cxx
85 src/stc/scintilla/lexers/LexEiffel.cxx
86 src/stc/scintilla/lexers/LexErlang.cxx
87 src/stc/scintilla/lexers/LexEScript.cxx
88 src/stc/scintilla/lexers/LexFlagship.cxx
89 src/stc/scintilla/lexers/LexForth.cxx
90 src/stc/scintilla/lexers/LexFortran.cxx
91 src/stc/scintilla/lexers/LexGAP.cxx
92 src/stc/scintilla/lexers/LexGui4Cli.cxx
93 src/stc/scintilla/lexers/LexHaskell.cxx
94 src/stc/scintilla/lexers/LexHTML.cxx
95 src/stc/scintilla/lexers/LexInno.cxx
96 src/stc/scintilla/lexers/LexKix.cxx
97 src/stc/scintilla/lexers/LexLisp.cxx
98 src/stc/scintilla/lexers/LexLout.cxx
99 src/stc/scintilla/lexers/LexLua.cxx
100 src/stc/scintilla/lexers/LexMagik.cxx
101 src/stc/scintilla/lexers/LexMarkdown.cxx
102 src/stc/scintilla/lexers/LexMatlab.cxx
103 src/stc/scintilla/lexers/LexMetapost.cxx
104 src/stc/scintilla/lexers/LexMMIXAL.cxx
105 src/stc/scintilla/lexers/LexModula.cxx
106 src/stc/scintilla/lexers/LexMPT.cxx
107 src/stc/scintilla/lexers/LexMSSQL.cxx
108 src/stc/scintilla/lexers/LexMySQL.cxx
109 src/stc/scintilla/lexers/LexNimrod.cxx
110 src/stc/scintilla/lexers/LexNsis.cxx
111 src/stc/scintilla/lexers/LexOpal.cxx
112 src/stc/scintilla/lexers/LexOScript.cxx
113 src/stc/scintilla/lexers/LexOthers.cxx
114 src/stc/scintilla/lexers/LexPascal.cxx
115 src/stc/scintilla/lexers/LexPB.cxx
116 src/stc/scintilla/lexers/LexPerl.cxx
117 src/stc/scintilla/lexers/LexPLM.cxx
118 src/stc/scintilla/lexers/LexPOV.cxx
119 src/stc/scintilla/lexers/LexPowerPro.cxx
120 src/stc/scintilla/lexers/LexPowerShell.cxx
121 src/stc/scintilla/lexers/LexProgress.cxx
122 src/stc/scintilla/lexers/LexPS.cxx
123 src/stc/scintilla/lexers/LexPython.cxx
124 src/stc/scintilla/lexers/LexR.cxx
125 src/stc/scintilla/lexers/LexRebol.cxx
126 src/stc/scintilla/lexers/LexRuby.cxx
127 src/stc/scintilla/lexers/LexScriptol.cxx
128 src/stc/scintilla/lexers/LexSmalltalk.cxx
129 src/stc/scintilla/lexers/LexSML.cxx
130 src/stc/scintilla/lexers/LexSorcus.cxx
131 src/stc/scintilla/lexers/LexSpecman.cxx
132 src/stc/scintilla/lexers/LexSpice.cxx
133 src/stc/scintilla/lexers/LexSQL.cxx
134 src/stc/scintilla/lexers/LexTACL.cxx
135 src/stc/scintilla/lexers/LexTADS3.cxx
136 src/stc/scintilla/lexers/LexTAL.cxx
137 src/stc/scintilla/lexers/LexTCL.cxx
138 src/stc/scintilla/lexers/LexTCMD.cxx
139 src/stc/scintilla/lexers/LexTeX.cxx
140 src/stc/scintilla/lexers/LexTxt2tags.cxx
141 src/stc/scintilla/lexers/LexVB.cxx
142 src/stc/scintilla/lexers/LexVerilog.cxx
143 src/stc/scintilla/lexers/LexVHDL.cxx
144 src/stc/scintilla/lexers/LexVisualProlog.cxx
145 src/stc/scintilla/lexers/LexYAML.cxx
146 src/stc/scintilla/lexlib/Accessor.cxx
147 src/stc/scintilla/lexlib/CharacterSet.cxx
148 src/stc/scintilla/lexlib/LexerBase.cxx
149 src/stc/scintilla/lexlib/LexerModule.cxx
150 src/stc/scintilla/lexlib/LexerNoExceptions.cxx
151 src/stc/scintilla/lexlib/LexerSimple.cxx
152 src/stc/scintilla/lexlib/PropSetSimple.cxx
153 src/stc/scintilla/lexlib/StyleContext.cxx
154 src/stc/scintilla/lexlib/WordList.cxx
155 src/stc/scintilla/src/AutoComplete.cxx
156 src/stc/scintilla/src/CallTip.cxx
157 src/stc/scintilla/src/Catalogue.cxx
158 src/stc/scintilla/src/CellBuffer.cxx
159 src/stc/scintilla/src/CharClassify.cxx
160 src/stc/scintilla/src/ContractionState.cxx
161 src/stc/scintilla/src/Decoration.cxx
162 src/stc/scintilla/src/Document.cxx
163 src/stc/scintilla/src/Editor.cxx
164 src/stc/scintilla/src/ExternalLexer.cxx
165 src/stc/scintilla/src/Indicator.cxx
166 src/stc/scintilla/src/KeyMap.cxx
167 src/stc/scintilla/src/LineMarker.cxx
168 src/stc/scintilla/src/PerLine.cxx
169 src/stc/scintilla/src/PositionCache.cxx
170 src/stc/scintilla/src/RESearch.cxx
171 src/stc/scintilla/src/RunStyles.cxx
172 src/stc/scintilla/src/ScintillaBase.cxx
173 src/stc/scintilla/src/Selection.cxx
174 src/stc/scintilla/src/Style.cxx
175 src/stc/scintilla/src/UniConversion.cxx
176 src/stc/scintilla/src/ViewStyle.cxx
177 src/stc/scintilla/src/XPM.cxx
178 </sources>
179 </lib>
180
181 <!-- used to conditionally link against wxscintilla only if it's enabled -->
182 <set var="wxscintilla_library_link">
183 <if cond="USE_STC=='1' and BUILDING_LIB=='1'">wxscintilla</if>
184 </set>
185
186 </makefile>