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