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