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 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = .\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
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)
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
53 ### Conditionally set variables: ###
55 !if "$(USE_GUI)" == "0"
58 !if "$(USE_GUI)" == "1"
61 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
64 !if "$(DEBUG_FLAG)" == "1"
67 !if "$(UNICODE)" == "1"
70 !if "$(WXUNIV)" == "1"
73 !if "$(SHARED)" == "1"
76 !if "$(SHARED)" == "0"
79 !if "$(SHARED)" == "1"
82 !if "$(MONOLITHIC)" == "0"
85 !if "$(MONOLITHIC)" == "1"
88 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
89 ____DEBUGRUNTIME_2_p =
91 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
92 ____DEBUGRUNTIME_2_p = /D_DEBUG
94 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
95 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
97 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
100 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
103 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
104 __DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
106 !if "$(USE_GUI)" == "1"
107 __tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
109 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
110 ____DEBUGRUNTIME_15_p =
112 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
113 ____DEBUGRUNTIME_15_p = /D_DEBUG
115 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
116 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
118 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
119 ____DEBUGRUNTIME_15_p_1 =
121 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
122 ____DEBUGRUNTIME_15_p_1 = /d _DEBUG
124 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
125 ____DEBUGRUNTIME_15_p_1 = $(____DEBUGINFO_15_p_1)
127 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
128 ____DEBUGINFO_15_p_1 = /d _DEBUG
130 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
131 ____DEBUGINFO_15_p_1 =
133 !if "$(DEBUG_INFO)" == "0"
134 ____DEBUGINFO_15_p_1 =
136 !if "$(DEBUG_INFO)" == "1"
137 ____DEBUGINFO_15_p_1 = /d _DEBUG
139 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
142 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
143 __DEBUGRUNTIME_16 = d
145 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
146 __DEBUGRUNTIME_16 = $(__DEBUGINFO_2)
148 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
149 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
151 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
152 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
154 !if "$(WXUNIV)" == "1"
155 __WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
157 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
158 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
160 !if "$(DEBUG_FLAG)" == "1"
161 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
163 !if "$(UNICODE)" == "1"
164 __UNICODE_DEFINE_p_3 = /d _UNICODE
166 !if "$(SHARED)" == "1"
167 __DLLFLAG_p_3 = /d WXUSINGDLL
169 !if "$(MONOLITHIC)" == "0"
171 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
173 !if "$(MONOLITHIC)" == "0"
175 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
177 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
180 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
183 !if "$(DEBUG_INFO)" == "0"
186 !if "$(DEBUG_INFO)" == "1"
189 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
190 __DEBUGINFO_1 = /DEBUG
192 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
195 !if "$(DEBUG_INFO)" == "0"
198 !if "$(DEBUG_INFO)" == "1"
199 __DEBUGINFO_1 = /DEBUG
201 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
202 ____DEBUGINFO = /D_DEBUG
204 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
207 !if "$(DEBUG_INFO)" == "0"
210 !if "$(DEBUG_INFO)" == "1"
211 ____DEBUGINFO = /D_DEBUG
213 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
216 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
219 !if "$(DEBUG_INFO)" == "0"
222 !if "$(DEBUG_INFO)" == "1"
225 !if "$(BUILD)" == "debug"
228 !if "$(BUILD)" == "release"
231 !if "$(RUNTIME_LIBS)" == "dynamic"
234 !if "$(RUNTIME_LIBS)" == "static"
237 !if "$(USE_EXCEPTIONS)" == "0"
240 !if "$(USE_EXCEPTIONS)" == "1"
241 __EXCEPTIONSFLAG = /GR
243 !if "$(USE_EXCEPTIONS)" == "0"
246 !if "$(USE_EXCEPTIONS)" == "1"
247 __EXCEPTIONSFLAG_0 = /GX
249 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
250 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
252 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
253 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
255 !if "$(WXUNIV)" == "1"
256 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
258 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
259 __DEBUG_DEFINE_p = /D__WXDEBUG__
261 !if "$(DEBUG_FLAG)" == "1"
262 __DEBUG_DEFINE_p = /D__WXDEBUG__
264 !if "$(UNICODE)" == "1"
265 __UNICODE_DEFINE_p = /D_UNICODE
267 !if "$(SHARED)" == "1"
268 __DLLFLAG_p = /DWXUSINGDLL
270 !if "$(MONOLITHIC)" == "0"
272 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
274 !if "$(MONOLITHIC)" == "1"
276 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
278 !if "$(USE_GUI)" == "1"
279 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
281 !if "$(USE_GUI)" == "1"
282 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
284 !if "$(USE_GUI)" == "1"
285 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
288 __UNICOWS_LIB_p = unicows.lib
294 -if not exist $(OBJS) mkdir $(OBJS)
298 all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
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
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
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
323 $(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
326 $(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
329 $(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
332 $(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
335 $(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
336 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
338 $(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
341 $(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
342 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
344 $(OBJS)\tex2rtf_table.obj: .\table.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
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 $**
350 $(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
351 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
353 $(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
354 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
356 $(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
357 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
359 $(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
360 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
362 $(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
363 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
365 $(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
366 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
368 $(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
369 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
371 $(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
372 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**