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