]> git.saurik.com Git - wxWidgets.git/blob - utils/tex2rtf/src/makefile.vc
Applied patch [ 1263950 ] wxConnection fixes for Unicode
[wxWidgets.git] / utils / tex2rtf / src / makefile.vc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (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 WX_RELEASE_NODOT = 26
16 OBJS = \
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = .\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
19 SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 TEX2RTF_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 \
22 $(__DEBUGINFO) /Fd$(OBJS)\tex2rtf.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \
23 $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) /I.\..\..\..\include \
26 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 /DNO_GUI \
27 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
28 TEX2RTF_OBJECTS = \
29 $(OBJS)\tex2rtf_tex2rtf.obj \
30 $(OBJS)\tex2rtf_tex2any.obj \
31 $(OBJS)\tex2rtf_texutils.obj \
32 $(OBJS)\tex2rtf_rtfutils.obj \
33 $(OBJS)\tex2rtf_xlputils.obj \
34 $(OBJS)\tex2rtf_htmlutil.obj \
35 $(OBJS)\tex2rtf_readshg.obj \
36 $(OBJS)\tex2rtf_table.obj
37 TEX2RTF_GUI_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
38 $(__DEBUGINFO) /Fd$(OBJS)\tex2rtf_gui.pdb $(____DEBUGRUNTIME) \
39 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
40 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
41 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
42 /I.\..\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \
43 /I.\..\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \
44 $(CXXFLAGS)
45 TEX2RTF_GUI_OBJECTS = \
46 $(OBJS)\tex2rtf_gui_sample.res \
47 $(OBJS)\tex2rtf_gui_tex2rtf.obj \
48 $(OBJS)\tex2rtf_gui_tex2any.obj \
49 $(OBJS)\tex2rtf_gui_texutils.obj \
50 $(OBJS)\tex2rtf_gui_rtfutils.obj \
51 $(OBJS)\tex2rtf_gui_xlputils.obj \
52 $(OBJS)\tex2rtf_gui_htmlutil.obj \
53 $(OBJS)\tex2rtf_gui_readshg.obj \
54 $(OBJS)\tex2rtf_gui_table.obj
55
56 ### Conditionally set variables: ###
57
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 "$(UNICODE)" == "1"
71 WXUNICODEFLAG = u
72 !endif
73 !if "$(WXUNIV)" == "1"
74 WXUNIVNAME = univ
75 !endif
76 !if "$(SHARED)" == "1"
77 WXDLLFLAG = dll
78 !endif
79 !if "$(SHARED)" == "0"
80 LIBTYPE_SUFFIX = lib
81 !endif
82 !if "$(SHARED)" == "1"
83 LIBTYPE_SUFFIX = dll
84 !endif
85 !if "$(MONOLITHIC)" == "0"
86 EXTRALIBS_FOR_BASE =
87 !endif
88 !if "$(MONOLITHIC)" == "1"
89 EXTRALIBS_FOR_BASE =
90 !endif
91 !if "$(RUNTIME_LIBS)" == "dynamic"
92 __RUNTIME_LIBS_8 = D
93 !endif
94 !if "$(RUNTIME_LIBS)" == "static"
95 __RUNTIME_LIBS_8 = $(__THREADSFLAG)
96 !endif
97 !if "$(USE_GUI)" == "1"
98 __tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
99 !endif
100 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
101 ____DEBUGRUNTIME_16_p_1 = /d _DEBUG
102 !endif
103 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
104 ____DEBUGRUNTIME_16_p_1 =
105 !endif
106 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
107 ____DEBUGRUNTIME_16_p_1 =
108 !endif
109 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
110 ____DEBUGRUNTIME_16_p_1 = /d _DEBUG
111 !endif
112 !if "$(RUNTIME_LIBS)" == "dynamic"
113 __RUNTIME_LIBS_22 = D
114 !endif
115 !if "$(RUNTIME_LIBS)" == "static"
116 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
117 !endif
118 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
119 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
120 !endif
121 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
122 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
123 !endif
124 !if "$(WXUNIV)" == "1"
125 __WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
126 !endif
127 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
128 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
129 !endif
130 !if "$(DEBUG_FLAG)" == "1"
131 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
132 !endif
133 !if "$(USE_EXCEPTIONS)" == "0"
134 __EXCEPTIONS_DEFINE_p_3 = /d wxNO_EXCEPTIONS
135 !endif
136 !if "$(USE_RTTI)" == "0"
137 __RTTI_DEFINE_p_3 = /d wxNO_RTTI
138 !endif
139 !if "$(USE_THREADS)" == "0"
140 __THREAD_DEFINE_p_3 = /d wxNO_THREADS
141 !endif
142 !if "$(UNICODE)" == "1"
143 __UNICODE_DEFINE_p_3 = /d _UNICODE
144 !endif
145 !if "$(MSLU)" == "1"
146 __MSLU_DEFINE_p_3 = /d wxUSE_UNICODE_MSLU=1
147 !endif
148 !if "$(SHARED)" == "1"
149 __DLLFLAG_p_3 = /d WXUSINGDLL
150 !endif
151 !if "$(MONOLITHIC)" == "0"
152 __WXLIB_HTML_p = \
153 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
154 !endif
155 !if "$(MONOLITHIC)" == "0"
156 __WXLIB_CORE_p = \
157 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
158 !endif
159 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
160 __DEBUGINFO = /Zi
161 !endif
162 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
163 __DEBUGINFO =
164 !endif
165 !if "$(DEBUG_INFO)" == "0"
166 __DEBUGINFO =
167 !endif
168 !if "$(DEBUG_INFO)" == "1"
169 __DEBUGINFO = /Zi
170 !endif
171 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
172 __DEBUGINFO_1 = /DEBUG
173 !endif
174 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
175 __DEBUGINFO_1 =
176 !endif
177 !if "$(DEBUG_INFO)" == "0"
178 __DEBUGINFO_1 =
179 !endif
180 !if "$(DEBUG_INFO)" == "1"
181 __DEBUGINFO_1 = /DEBUG
182 !endif
183 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
184 ____DEBUGRUNTIME = /D_DEBUG
185 !endif
186 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
187 ____DEBUGRUNTIME =
188 !endif
189 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
190 ____DEBUGRUNTIME =
191 !endif
192 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
193 ____DEBUGRUNTIME = /D_DEBUG
194 !endif
195 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
196 __DEBUGRUNTIME = d
197 !endif
198 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
199 __DEBUGRUNTIME =
200 !endif
201 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
202 __DEBUGRUNTIME =
203 !endif
204 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
205 __DEBUGRUNTIME = d
206 !endif
207 !if "$(BUILD)" == "debug"
208 __OPTIMIZEFLAG = /Od
209 !endif
210 !if "$(BUILD)" == "release"
211 __OPTIMIZEFLAG = /O2
212 !endif
213 !if "$(USE_THREADS)" == "0"
214 __THREADSFLAG = L
215 !endif
216 !if "$(USE_THREADS)" == "1"
217 __THREADSFLAG = T
218 !endif
219 !if "$(USE_RTTI)" == "0"
220 __RTTIFLAG =
221 !endif
222 !if "$(USE_RTTI)" == "1"
223 __RTTIFLAG = /GR
224 !endif
225 !if "$(USE_EXCEPTIONS)" == "0"
226 __EXCEPTIONSFLAG =
227 !endif
228 !if "$(USE_EXCEPTIONS)" == "1"
229 __EXCEPTIONSFLAG = /EHsc
230 !endif
231 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
232 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
233 !endif
234 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
235 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
236 !endif
237 !if "$(WXUNIV)" == "1"
238 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
239 !endif
240 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
241 __DEBUG_DEFINE_p = /D__WXDEBUG__
242 !endif
243 !if "$(DEBUG_FLAG)" == "1"
244 __DEBUG_DEFINE_p = /D__WXDEBUG__
245 !endif
246 !if "$(USE_EXCEPTIONS)" == "0"
247 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
248 !endif
249 !if "$(USE_RTTI)" == "0"
250 __RTTI_DEFINE_p = /DwxNO_RTTI
251 !endif
252 !if "$(USE_THREADS)" == "0"
253 __THREAD_DEFINE_p = /DwxNO_THREADS
254 !endif
255 !if "$(UNICODE)" == "1"
256 __UNICODE_DEFINE_p = /D_UNICODE
257 !endif
258 !if "$(MSLU)" == "1"
259 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
260 !endif
261 !if "$(SHARED)" == "1"
262 __DLLFLAG_p = /DWXUSINGDLL
263 !endif
264 !if "$(MONOLITHIC)" == "0"
265 __WXLIB_BASE_p = \
266 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
267 !endif
268 !if "$(MONOLITHIC)" == "1"
269 __WXLIB_MONO_p = \
270 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
271 !endif
272 !if "$(USE_GUI)" == "1"
273 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
274 !endif
275 !if "$(USE_GUI)" == "1"
276 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
277 !endif
278 !if "$(USE_GUI)" == "1"
279 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
280 !endif
281 !if "$(MSLU)" == "1"
282 __UNICOWS_LIB_p = unicows.lib
283 !endif
284
285
286 all: $(OBJS)
287 $(OBJS):
288 -if not exist $(OBJS) mkdir $(OBJS)
289
290 ### Targets: ###
291
292 all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
293
294 clean:
295 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
296 -if exist $(OBJS)\*.res del $(OBJS)\*.res
297 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
298 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
299 -if exist $(OBJS)\tex2rtf.ilk del $(OBJS)\tex2rtf.ilk
300 -if exist $(OBJS)\tex2rtf.pdb del $(OBJS)\tex2rtf.pdb
301 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
302 -if exist $(OBJS)\tex2rtf_gui.ilk del $(OBJS)\tex2rtf_gui.ilk
303 -if exist $(OBJS)\tex2rtf_gui.pdb del $(OBJS)\tex2rtf_gui.pdb
304
305 $(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
306 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
307 $(TEX2RTF_OBJECTS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib
308 <<
309
310 !if "$(USE_GUI)" == "1"
311 $(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
312 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
313 $(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$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib
314 <<
315 !endif
316
317 $(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
319
320 $(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
322
323 $(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
325
326 $(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
328
329 $(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
331
332 $(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
334
335 $(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
336 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
337
338 $(OBJS)\tex2rtf_table.obj: .\table.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
340
341 $(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
342 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_16_p_1) $(__NO_VC_CRTDBG_p_3) /d __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_3) /d _WINDOWS /i .\..\..\..\samples $**
343
344 $(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
346
347 $(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
348 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
349
350 $(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
351 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
352
353 $(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
354 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
355
356 $(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
357 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
358
359 $(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
360 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
361
362 $(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
363 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
364
365 $(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
366 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
367