]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/scintilla.bkl
Skip Windows-only samples when making Unix distribution.
[wxWidgets.git] / build / bakefiles / scintilla.bkl
CommitLineData
54429bb3
RD
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
ab5c51e5
VZ
18 <!-- automatically update generated files when building the library -->
19 <if cond="BUILDING_LIB=='1'">
20 <fragment format='autoconf'>
d84e6f50
VZ
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
ab5c51e5
VZ
29 </fragment>
30 </if>
13c04801 31
1ba904fe 32 <template id="wxscintilla_cppflags">
54429bb3
RD
33 <include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
34 <include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
1ba904fe
VZ
35 <define>__WX__</define>
36 <define>SCI_LEXER</define>
37 <define>LINK_LEXERS</define>
38 <cppflags-borland>-w-8027</cppflags-borland>
39 </template>
40
6d50f0a0 41 <set var="wxscintilla_usingdll">
354a9ddf 42 <if cond="SHARED=='1' and MONOLITHIC=='0'">WXUSINGDLL</if>
6d50f0a0
VZ
43 </set>
44
1ba904fe
VZ
45 <lib id="wxscintilla" template="3rdparty_lib,wxscintilla_cppflags"
46 cond="USE_STC=='1' and BUILDING_LIB=='1'">
1784742c
VZ
47 <if cond="FORMAT!='autoconf'">
48 <include>$(SETUPHDIR)</include>
49 <include>$(TOP_SRCDIR)include</include>
50 </if>
6d50f0a0 51 <define>$(wxscintilla_usingdll)</define>
1784742c 52 <define>__WX$(TOOLKIT)__</define>
0a9c5e35 53 <define>$(WXUNIV_DEFINE)</define>
5eda55f7 54 <define>$(UNICODE_DEFINE)</define>
54429bb3
RD
55 <dirname>$(LIBDIRNAME)</dirname>
56 <sources>
d2eb1696
VZ
57 src/stc/scintilla/src/AutoComplete.cxx
58 src/stc/scintilla/src/CallTip.cxx
59 src/stc/scintilla/src/CellBuffer.cxx
60 src/stc/scintilla/src/CharClassify.cxx
61 src/stc/scintilla/src/ContractionState.cxx
7e0c58e9 62 src/stc/scintilla/src/Decoration.cxx
d2eb1696
VZ
63 src/stc/scintilla/src/Document.cxx
64 src/stc/scintilla/src/DocumentAccessor.cxx
65 src/stc/scintilla/src/Editor.cxx
66 src/stc/scintilla/src/ExternalLexer.cxx
67 src/stc/scintilla/src/Indicator.cxx
68 src/stc/scintilla/src/KeyMap.cxx
69 src/stc/scintilla/src/KeyWords.cxx
70 src/stc/scintilla/src/LexAPDL.cxx
7e0c58e9 71 src/stc/scintilla/src/LexASY.cxx
b5fe65c8 72 src/stc/scintilla/src/LexAU3.cxx
d2eb1696 73 src/stc/scintilla/src/LexAVE.cxx
7e0c58e9 74 src/stc/scintilla/src/LexAbaqus.cxx
d2eb1696
VZ
75 src/stc/scintilla/src/LexAda.cxx
76 src/stc/scintilla/src/LexAsm.cxx
77 src/stc/scintilla/src/LexAsn1.cxx
78 src/stc/scintilla/src/LexBaan.cxx
79 src/stc/scintilla/src/LexBash.cxx
80 src/stc/scintilla/src/LexBasic.cxx
81 src/stc/scintilla/src/LexBullant.cxx
82 src/stc/scintilla/src/LexCLW.cxx
b5fe65c8 83 src/stc/scintilla/src/LexCOBOL.cxx
d2eb1696
VZ
84 src/stc/scintilla/src/LexCPP.cxx
85 src/stc/scintilla/src/LexCSS.cxx
86 src/stc/scintilla/src/LexCaml.cxx
b5fe65c8 87 src/stc/scintilla/src/LexCmake.cxx
d2eb1696
VZ
88 src/stc/scintilla/src/LexConf.cxx
89 src/stc/scintilla/src/LexCrontab.cxx
b5fe65c8 90 src/stc/scintilla/src/LexCsound.cxx
7e0c58e9 91 src/stc/scintilla/src/LexD.cxx
d2eb1696
VZ
92 src/stc/scintilla/src/LexEScript.cxx
93 src/stc/scintilla/src/LexEiffel.cxx
94 src/stc/scintilla/src/LexErlang.cxx
95 src/stc/scintilla/src/LexFlagship.cxx
96 src/stc/scintilla/src/LexForth.cxx
97 src/stc/scintilla/src/LexFortran.cxx
7e0c58e9 98 src/stc/scintilla/src/LexGAP.cxx
d2eb1696
VZ
99 src/stc/scintilla/src/LexGui4Cli.cxx
100 src/stc/scintilla/src/LexHTML.cxx
101 src/stc/scintilla/src/LexHaskell.cxx
102 src/stc/scintilla/src/LexInno.cxx
103 src/stc/scintilla/src/LexKix.cxx
104 src/stc/scintilla/src/LexLisp.cxx
105 src/stc/scintilla/src/LexLout.cxx
106 src/stc/scintilla/src/LexLua.cxx
107 src/stc/scintilla/src/LexMMIXAL.cxx
108 src/stc/scintilla/src/LexMPT.cxx
109 src/stc/scintilla/src/LexMSSQL.cxx
b5fe65c8
RD
110 src/stc/scintilla/src/LexMagik.cxx
111 src/stc/scintilla/src/LexMarkdown.cxx
d2eb1696
VZ
112 src/stc/scintilla/src/LexMatlab.cxx
113 src/stc/scintilla/src/LexMetapost.cxx
9e96e16f
RD
114 src/stc/scintilla/src/LexMySQL.cxx
115 src/stc/scintilla/src/LexNimrod.cxx
d2eb1696
VZ
116 src/stc/scintilla/src/LexNsis.cxx
117 src/stc/scintilla/src/LexOpal.cxx
118 src/stc/scintilla/src/LexOthers.cxx
119 src/stc/scintilla/src/LexPB.cxx
7e0c58e9 120 src/stc/scintilla/src/LexPLM.cxx
d2eb1696 121 src/stc/scintilla/src/LexPOV.cxx
d2eb1696
VZ
122 src/stc/scintilla/src/LexPS.cxx
123 src/stc/scintilla/src/LexPascal.cxx
124 src/stc/scintilla/src/LexPerl.cxx
9e96e16f
RD
125 src/stc/scintilla/src/LexPowerPro.cxx
126 src/stc/scintilla/src/LexPowerShell.cxx
b5fe65c8 127 src/stc/scintilla/src/LexProgress.cxx
d2eb1696 128 src/stc/scintilla/src/LexPython.cxx
7e0c58e9 129 src/stc/scintilla/src/LexR.cxx
d2eb1696
VZ
130 src/stc/scintilla/src/LexRebol.cxx
131 src/stc/scintilla/src/LexRuby.cxx
9e96e16f 132 src/stc/scintilla/src/LexSML.cxx
b5fe65c8 133 src/stc/scintilla/src/LexSQL.cxx
d2eb1696 134 src/stc/scintilla/src/LexScriptol.cxx
b5fe65c8 135 src/stc/scintilla/src/LexSmalltalk.cxx
9e96e16f 136 src/stc/scintilla/src/LexSorcus.cxx
b5fe65c8 137 src/stc/scintilla/src/LexSpecman.cxx
d2eb1696 138 src/stc/scintilla/src/LexSpice.cxx
9e96e16f 139 src/stc/scintilla/src/LexTACL.cxx
b5fe65c8
RD
140 src/stc/scintilla/src/LexTADS3.cxx
141 src/stc/scintilla/src/LexTAL.cxx
d2eb1696
VZ
142 src/stc/scintilla/src/LexTCL.cxx
143 src/stc/scintilla/src/LexTeX.cxx
144 src/stc/scintilla/src/LexVB.cxx
145 src/stc/scintilla/src/LexVHDL.cxx
146 src/stc/scintilla/src/LexVerilog.cxx
147 src/stc/scintilla/src/LexYAML.cxx
148 src/stc/scintilla/src/LineMarker.cxx
9e96e16f 149 src/stc/scintilla/src/PerLine.cxx
7e0c58e9 150 src/stc/scintilla/src/PositionCache.cxx
d2eb1696
VZ
151 src/stc/scintilla/src/PropSet.cxx
152 src/stc/scintilla/src/RESearch.cxx
7e0c58e9 153 src/stc/scintilla/src/RunStyles.cxx
d2eb1696 154 src/stc/scintilla/src/ScintillaBase.cxx
b5fe65c8 155 src/stc/scintilla/src/Selection.cxx
d2eb1696
VZ
156 src/stc/scintilla/src/Style.cxx
157 src/stc/scintilla/src/StyleContext.cxx
158 src/stc/scintilla/src/UniConversion.cxx
159 src/stc/scintilla/src/ViewStyle.cxx
160 src/stc/scintilla/src/WindowAccessor.cxx
161 src/stc/scintilla/src/XPM.cxx
54429bb3
RD
162 </sources>
163 </lib>
d2eb1696 164
1784742c 165 <!-- used to conditionally link against wxscintilla only if it's enabled -->
303a585d
VS
166 <set var="wxscintilla_library_link">
167 <if cond="USE_STC=='1' and BUILDING_LIB=='1'">wxscintilla</if>
168 </set>
54429bb3
RD
169
170</makefile>