1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (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_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.\..\..\..\include \
26 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 /DNO_GUI \
27 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
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.\..\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \
43 /I.\..\..\..\samples /DNOPCH $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) \
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
56 ### Conditionally set variables: ###
58 !if "$(USE_GUI)" == "0"
61 !if "$(USE_GUI)" == "1"
64 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
67 !if "$(DEBUG_FLAG)" == "1"
70 !if "$(UNICODE)" == "1"
73 !if "$(WXUNIV)" == "1"
76 !if "$(SHARED)" == "1"
79 !if "$(SHARED)" == "0"
82 !if "$(SHARED)" == "1"
85 !if "$(MONOLITHIC)" == "0"
88 !if "$(MONOLITHIC)" == "1"
91 !if "$(RUNTIME_LIBS)" == "dynamic"
94 !if "$(RUNTIME_LIBS)" == "static"
95 __RUNTIME_LIBS_8 = $(__THREADSFLAG)
97 !if "$(USE_GUI)" == "1"
98 __tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
100 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
101 ____DEBUGRUNTIME_16_p_1 = /d _DEBUG
103 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
104 ____DEBUGRUNTIME_16_p_1 =
106 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
107 ____DEBUGRUNTIME_16_p_1 =
109 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
110 ____DEBUGRUNTIME_16_p_1 = /d _DEBUG
112 !if "$(RUNTIME_LIBS)" == "dynamic"
113 __RUNTIME_LIBS_22 = D
115 !if "$(RUNTIME_LIBS)" == "static"
116 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
118 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
119 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
121 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
122 __NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
124 !if "$(WXUNIV)" == "1"
125 __WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
127 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
128 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
130 !if "$(DEBUG_FLAG)" == "1"
131 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
133 !if "$(USE_EXCEPTIONS)" == "0"
134 __EXCEPTIONS_DEFINE_p_3 = /d wxNO_EXCEPTIONS
136 !if "$(USE_RTTI)" == "0"
137 __RTTI_DEFINE_p_3 = /d wxNO_RTTI
139 !if "$(USE_THREADS)" == "0"
140 __THREAD_DEFINE_p_3 = /d wxNO_THREADS
142 !if "$(UNICODE)" == "1"
143 __UNICODE_DEFINE_p_3 = /d _UNICODE
146 __MSLU_DEFINE_p_3 = /d wxUSE_UNICODE_MSLU=1
148 !if "$(SHARED)" == "1"
149 __DLLFLAG_p_3 = /d WXUSINGDLL
151 !if "$(MONOLITHIC)" == "0"
153 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
155 !if "$(MONOLITHIC)" == "0"
157 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
159 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
162 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
165 !if "$(DEBUG_INFO)" == "0"
168 !if "$(DEBUG_INFO)" == "1"
171 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
172 __DEBUGINFO_1 = /DEBUG
174 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
177 !if "$(DEBUG_INFO)" == "0"
180 !if "$(DEBUG_INFO)" == "1"
181 __DEBUGINFO_1 = /DEBUG
183 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
184 ____DEBUGRUNTIME = /D_DEBUG
186 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
189 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
192 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
193 ____DEBUGRUNTIME = /D_DEBUG
195 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
198 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
201 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
204 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
207 !if "$(BUILD)" == "debug"
210 !if "$(BUILD)" == "release"
213 !if "$(USE_THREADS)" == "0"
216 !if "$(USE_THREADS)" == "1"
219 !if "$(USE_RTTI)" == "0"
222 !if "$(USE_RTTI)" == "1"
225 !if "$(USE_EXCEPTIONS)" == "0"
228 !if "$(USE_EXCEPTIONS)" == "1"
229 __EXCEPTIONSFLAG = /EHsc
231 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
232 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
234 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
235 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
237 !if "$(WXUNIV)" == "1"
238 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
240 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
241 __DEBUG_DEFINE_p = /D__WXDEBUG__
243 !if "$(DEBUG_FLAG)" == "1"
244 __DEBUG_DEFINE_p = /D__WXDEBUG__
246 !if "$(USE_EXCEPTIONS)" == "0"
247 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
249 !if "$(USE_RTTI)" == "0"
250 __RTTI_DEFINE_p = /DwxNO_RTTI
252 !if "$(USE_THREADS)" == "0"
253 __THREAD_DEFINE_p = /DwxNO_THREADS
255 !if "$(UNICODE)" == "1"
256 __UNICODE_DEFINE_p = /D_UNICODE
259 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
261 !if "$(SHARED)" == "1"
262 __DLLFLAG_p = /DWXUSINGDLL
264 !if "$(MONOLITHIC)" == "0"
266 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
268 !if "$(MONOLITHIC)" == "1"
270 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
272 !if "$(USE_GUI)" == "1"
273 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
275 !if "$(USE_GUI)" == "1"
276 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
278 !if "$(USE_GUI)" == "1"
279 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
282 __UNICOWS_LIB_p = unicows.lib
288 -if not exist $(OBJS) mkdir $(OBJS)
292 all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
295 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
296 -if exist $(OBJS)\*.res del $(OBJS)\*.res
297 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
298 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
299 -if exist $(OBJS)\tex2rtf.ilk del $(OBJS)\tex2rtf.ilk
300 -if exist $(OBJS)\tex2rtf.pdb del $(OBJS)\tex2rtf.pdb
301 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
302 -if exist $(OBJS)\tex2rtf_gui.ilk del $(OBJS)\tex2rtf_gui.ilk
303 -if exist $(OBJS)\tex2rtf_gui.pdb del $(OBJS)\tex2rtf_gui.pdb
305 $(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
306 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
307 $(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
310 !if "$(USE_GUI)" == "1"
311 $(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
312 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
313 $(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
317 $(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
320 $(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
323 $(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
326 $(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
329 $(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
332 $(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
335 $(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
336 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
338 $(OBJS)\tex2rtf_table.obj: .\table.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
341 $(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
342 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 .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_3) /d _WINDOWS /i .\..\..\..\samples $**
344 $(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
347 $(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
348 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
350 $(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
351 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
353 $(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
354 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
356 $(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
357 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
359 $(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
360 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
362 $(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
363 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
365 $(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
366 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**