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