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