]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/tex2rtf/src/makefile.vc
testing wxComboBox::SetBackgroundColour()
[wxWidgets.git] / utils / tex2rtf / src / makefile.vc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.3 (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
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19TEX2RTF_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)
25TEX2RTF_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
34TEX2RTF_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)
40TEX2RTF_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"
54PORTNAME = base
55!endif
56!if "$(USE_GUI)" == "1"
57PORTNAME = msw
58!endif
59!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
60WXDEBUGFLAG = d
61!endif
62!if "$(DEBUG_FLAG)" == "1"
63WXDEBUGFLAG = d
64!endif
65!if "$(UNICODE)" == "1"
66WXUNICODEFLAG = u
67!endif
68!if "$(WXUNIV)" == "1"
69WXUNIVNAME = univ
70!endif
71!if "$(SHARED)" == "1"
72WXDLLFLAG = 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"
254LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
255!endif
256!if "$(SHARED)" == "1"
257LIBDIRNAME = .\..\..\..\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
283all: $(OBJS)
284$(OBJS):
285 -if not exist $(OBJS) mkdir $(OBJS)
286
287### Targets: ###
288
289all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
290
291clean:
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$(WXUNICODEFLAG)$(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$(WXUNICODEFLAG)$(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) $**