]> git.saurik.com Git - wxWidgets.git/blob - utils/tex2rtf/src/makefile.vc
added IsVertical(); initialize members in ctor
[wxWidgets.git] / utils / tex2rtf / src / makefile.vc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 !include <../../../build/msw/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 TEX2RTF_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
20 $(__DEBUGINFO_2) /Fd$(OBJS)\tex2rtf.pdb $(____DEBUGRUNTIME_2_p) \
21 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
22 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
23 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DNO_GUI $(CXXFLAGS) /GR /GX
24 TEX2RTF_GUI_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_14) \
25 /DWIN32 $(__DEBUGINFO_2) /Fd$(OBJS)\tex2rtf_gui.pdb \
26 $(____DEBUGRUNTIME_13_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
28 /I.\..\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \
29 /I.\..\..\..\samples $(CXXFLAGS) /GR /GX
30 TEX2RTF_GUI_OBJECTS = \
31 $(OBJS)\tex2rtf_gui_sample.res \
32 $(OBJS)\tex2rtf_gui_tex2rtf.obj \
33 $(OBJS)\tex2rtf_gui_tex2any.obj \
34 $(OBJS)\tex2rtf_gui_texutils.obj \
35 $(OBJS)\tex2rtf_gui_rtfutils.obj \
36 $(OBJS)\tex2rtf_gui_xlputils.obj \
37 $(OBJS)\tex2rtf_gui_htmlutil.obj \
38 $(OBJS)\tex2rtf_gui_readshg.obj \
39 $(OBJS)\tex2rtf_gui_table.obj
40 TEX2RTF_OBJECTS = \
41 $(OBJS)\tex2rtf_tex2rtf.obj \
42 $(OBJS)\tex2rtf_tex2any.obj \
43 $(OBJS)\tex2rtf_texutils.obj \
44 $(OBJS)\tex2rtf_rtfutils.obj \
45 $(OBJS)\tex2rtf_xlputils.obj \
46 $(OBJS)\tex2rtf_htmlutil.obj \
47 $(OBJS)\tex2rtf_readshg.obj \
48 $(OBJS)\tex2rtf_table.obj
49
50 ### Conditionally set variables: ###
51
52 !if "$(SHARED)" == "0"
53 LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
54 !endif
55 !if "$(SHARED)" == "1"
56 LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
57 !endif
58 !if "$(USE_GUI)" == "0"
59 PORTNAME = base
60 !endif
61 !if "$(USE_GUI)" == "1"
62 PORTNAME = msw
63 !endif
64 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
65 WXDEBUGFLAG = d
66 !endif
67 !if "$(DEBUG_FLAG)" == "1"
68 WXDEBUGFLAG = d
69 !endif
70 !if "$(SHARED)" == "1"
71 WXDLLFLAG = dll
72 !endif
73 !if "$(UNICODE)" == "1"
74 WXUNICODEFLAG = u
75 !endif
76 !if "$(WXUNIV)" == "1"
77 WXUNIVNAME = univ
78 !endif
79 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
80 __DEBUGINFO = d
81 !endif
82 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
83 __DEBUGINFO =
84 !endif
85 !if "$(DEBUG_INFO)" == "0"
86 __DEBUGINFO =
87 !endif
88 !if "$(DEBUG_INFO)" == "1"
89 __DEBUGINFO = d
90 !endif
91 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
92 __DEBUGINFO_1 = /DEBUG
93 !endif
94 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
95 __DEBUGINFO_1 =
96 !endif
97 !if "$(DEBUG_INFO)" == "0"
98 __DEBUGINFO_1 =
99 !endif
100 !if "$(DEBUG_INFO)" == "1"
101 __DEBUGINFO_1 = /DEBUG
102 !endif
103 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
104 __DEBUGINFO_2 = /Zi
105 !endif
106 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
107 __DEBUGINFO_2 =
108 !endif
109 !if "$(DEBUG_INFO)" == "0"
110 __DEBUGINFO_2 =
111 !endif
112 !if "$(DEBUG_INFO)" == "1"
113 __DEBUGINFO_2 = /Zi
114 !endif
115 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
116 __DEBUGRUNTIME_14 =
117 !endif
118 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
119 __DEBUGRUNTIME_14 = d
120 !endif
121 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
122 __DEBUGRUNTIME_14 = $(__DEBUGINFO)
123 !endif
124 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
125 __DEBUGRUNTIME_3 =
126 !endif
127 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
128 __DEBUGRUNTIME_3 = d
129 !endif
130 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
131 __DEBUGRUNTIME_3 = $(__DEBUGINFO)
132 !endif
133 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
134 __DEBUG_DEFINE_p = /D__WXDEBUG__
135 !endif
136 !if "$(DEBUG_FLAG)" == "1"
137 __DEBUG_DEFINE_p = /D__WXDEBUG__
138 !endif
139 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
140 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
141 !endif
142 !if "$(DEBUG_FLAG)" == "1"
143 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
144 !endif
145 !if "$(SHARED)" == "1"
146 __DLLFLAG_p = /DWXUSINGDLL
147 !endif
148 !if "$(SHARED)" == "1"
149 __DLLFLAG_p_3 = /d WXUSINGDLL
150 !endif
151 !if "$(USE_GUI)" == "1"
152 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
153 !endif
154 !if "$(USE_GUI)" == "1"
155 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
156 !endif
157 !if "$(USE_GUI)" == "1"
158 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
159 !endif
160 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
161 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
162 !endif
163 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
164 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
165 !endif
166 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
167 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
168 !endif
169 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
170 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
171 !endif
172 !if "$(BUILD)" == "debug"
173 __OPTIMIZEFLAG = /Od
174 !endif
175 !if "$(BUILD)" == "release"
176 __OPTIMIZEFLAG = /O2
177 !endif
178 !if "$(RUNTIME_LIBS)" == "dynamic"
179 __RUNTIME_LIBS = D
180 !endif
181 !if "$(RUNTIME_LIBS)" == "static"
182 __RUNTIME_LIBS = T
183 !endif
184 !if "$(UNICODE)" == "1"
185 __UNICODE_DEFINE_p = /D_UNICODE
186 !endif
187 !if "$(UNICODE)" == "1"
188 __UNICODE_DEFINE_p_3 = /d _UNICODE
189 !endif
190 !if "$(MSLU)" == "1"
191 __UNICOWS_LIB_p = unicows.lib
192 !endif
193 !if "$(MONOLITHIC)" == "0"
194 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
195 !endif
196 !if "$(MONOLITHIC)" == "0"
197 __WXLIB_CORE_p = \
198 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
199 !endif
200 !if "$(MONOLITHIC)" == "0"
201 __WXLIB_HTML_p = \
202 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
203 !endif
204 !if "$(MONOLITHIC)" == "1"
205 __WXLIB_MONO_p = \
206 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
207 !endif
208 !if "$(WXUNIV)" == "1"
209 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
210 !endif
211 !if "$(WXUNIV)" == "1"
212 __WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
213 !endif
214 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
215 ____DEBUGINFO = /D_DEBUG
216 !endif
217 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
218 ____DEBUGINFO =
219 !endif
220 !if "$(DEBUG_INFO)" == "0"
221 ____DEBUGINFO =
222 !endif
223 !if "$(DEBUG_INFO)" == "1"
224 ____DEBUGINFO = /D_DEBUG
225 !endif
226 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
227 ____DEBUGINFO_13_p_1 = /d _DEBUG
228 !endif
229 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
230 ____DEBUGINFO_13_p_1 =
231 !endif
232 !if "$(DEBUG_INFO)" == "0"
233 ____DEBUGINFO_13_p_1 =
234 !endif
235 !if "$(DEBUG_INFO)" == "1"
236 ____DEBUGINFO_13_p_1 = /d _DEBUG
237 !endif
238 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
239 ____DEBUGRUNTIME_13_p =
240 !endif
241 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
242 ____DEBUGRUNTIME_13_p = /D_DEBUG
243 !endif
244 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
245 ____DEBUGRUNTIME_13_p = $(____DEBUGINFO)
246 !endif
247 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
248 ____DEBUGRUNTIME_13_p_1 =
249 !endif
250 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
251 ____DEBUGRUNTIME_13_p_1 = /d _DEBUG
252 !endif
253 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
254 ____DEBUGRUNTIME_13_p_1 = $(____DEBUGINFO_13_p_1)
255 !endif
256 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
257 ____DEBUGRUNTIME_2_p =
258 !endif
259 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
260 ____DEBUGRUNTIME_2_p = /D_DEBUG
261 !endif
262 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
263 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
264 !endif
265
266
267 all: $(OBJS)
268 $(OBJS):
269 -if not exist $(OBJS) mkdir $(OBJS)
270
271 ### Targets: ###
272
273 all: $(OBJS)\tex2rtf.exe $(OBJS)\tex2rtf_gui.exe
274
275 $(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
276 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
277
278 $(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
279 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
280
281 $(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
283
284 $(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
285 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_13_p_1) $(__NO_VC_CRTDBG_p_3) /d __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_3) /d _WINDOWS /i .\..\..\..\samples $**
286
287 $(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
289
290 $(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
292
293 $(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
294 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
295
296 $(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
297 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
298
299 $(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
300 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
301
302 $(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
303 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
304
305 $(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
306 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
307
308 $(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
309 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
310
311 $(OBJS)\tex2rtf_table.obj: .\table.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
313
314 $(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
315 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
316
317 $(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
319
320 $(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
322
323 $(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
325
326 clean:
327 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
328 -if exist $(OBJS)\*.res del $(OBJS)\*.res
329 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
330 -if exist $(OBJS)\tex2rtf.ilk del $(OBJS)\tex2rtf.ilk
331 -if exist $(OBJS)\tex2rtf.pdb del $(OBJS)\tex2rtf.pdb
332 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
333 -if exist $(OBJS)\tex2rtf_gui.ilk del $(OBJS)\tex2rtf_gui.ilk
334 -if exist $(OBJS)\tex2rtf_gui.pdb del $(OBJS)\tex2rtf_gui.pdb
335
336 $(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
337 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
338 $(TEX2RTF_OBJECTS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib
339 <<
340
341 $(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
342 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
343 $(TEX2RTF_GUI_OBJECTS) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib
344 <<