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