]> git.saurik.com Git - wxWidgets.git/blame - utils/tex2rtf/src/makefile.vc
testing wxComboBox::SetBackgroundColour()
[wxWidgets.git] / utils / tex2rtf / src / makefile.vc
CommitLineData
f98da3fb
VS
1# =========================================================================
2# This makefile was generated by
c3255f5f 3# Bakefile 0.1.3 (http://bakefile.sourceforge.net)
f98da3fb
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
9a29912f 6
f98da3fb 7!include <../../../build/msw/config.vc>
9a29912f 8
f98da3fb
VS
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
9a29912f 12
f98da3fb 13### Variables: ###
9a29912f 14
f98da3fb
VS
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9 19TEX2RTF_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
b17c1746 20 $(__DEBUGINFO) /Fd$(OBJS)\tex2rtf.pdb $(____DEBUGRUNTIME_2_p) \
ec08d395
JS
21 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
22 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
b17c1746
DE
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
9bfe7ad9 34TEX2RTF_GUI_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
b17c1746 35 $(__DEBUGINFO) /Fd$(OBJS)\tex2rtf_gui.pdb $(____DEBUGRUNTIME_15_p) \
a4ad36cd
VS
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 \
b17c1746 39 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
f98da3fb
VS
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
9a29912f 50
f98da3fb 51### Conditionally set variables: ###
9a29912f 52
f98da3fb
VS
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
f98da3fb
VS
65!if "$(UNICODE)" == "1"
66WXUNICODEFLAG = u
67!endif
68!if "$(WXUNIV)" == "1"
69WXUNIVNAME = univ
70!endif
b17c1746
DE
71!if "$(SHARED)" == "1"
72WXDLLFLAG = dll
f98da3fb
VS
73!endif
74!if "$(DEBUG_RUNTIME_LIBS)" == "0"
b17c1746 75____DEBUGRUNTIME_2_p =
f98da3fb
VS
76!endif
77!if "$(DEBUG_RUNTIME_LIBS)" == "1"
b17c1746 78____DEBUGRUNTIME_2_p = /D_DEBUG
f98da3fb
VS
79!endif
80!if "$(DEBUG_RUNTIME_LIBS)" == "default"
b17c1746 81____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
f98da3fb
VS
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"
b17c1746 90__DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
f98da3fb 91!endif
b17c1746
DE
92!if "$(USE_GUI)" == "1"
93__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
f98da3fb 94!endif
b17c1746
DE
95!if "$(DEBUG_RUNTIME_LIBS)" == "0"
96____DEBUGRUNTIME_15_p =
f98da3fb 97!endif
b17c1746
DE
98!if "$(DEBUG_RUNTIME_LIBS)" == "1"
99____DEBUGRUNTIME_15_p = /D_DEBUG
f98da3fb 100!endif
b17c1746
DE
101!if "$(DEBUG_RUNTIME_LIBS)" == "default"
102____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
f98da3fb 103!endif
b17c1746
DE
104!if "$(DEBUG_RUNTIME_LIBS)" == "0"
105____DEBUGRUNTIME_15_p_1 =
f98da3fb 106!endif
b17c1746
DE
107!if "$(DEBUG_RUNTIME_LIBS)" == "1"
108____DEBUGRUNTIME_15_p_1 = /d _DEBUG
a4ad36cd 109!endif
b17c1746
DE
110!if "$(DEBUG_RUNTIME_LIBS)" == "default"
111____DEBUGRUNTIME_15_p_1 = $(____DEBUGINFO_15_p_1)
a4ad36cd 112!endif
b17c1746
DE
113!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
114____DEBUGINFO_15_p_1 = /d _DEBUG
a4ad36cd 115!endif
b17c1746
DE
116!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
117____DEBUGINFO_15_p_1 =
a4ad36cd 118!endif
b17c1746
DE
119!if "$(DEBUG_INFO)" == "0"
120____DEBUGINFO_15_p_1 =
f98da3fb 121!endif
b17c1746
DE
122!if "$(DEBUG_INFO)" == "1"
123____DEBUGINFO_15_p_1 = /d _DEBUG
f98da3fb 124!endif
b17c1746
DE
125!if "$(DEBUG_RUNTIME_LIBS)" == "0"
126__DEBUGRUNTIME_16 =
f98da3fb 127!endif
b17c1746
DE
128!if "$(DEBUG_RUNTIME_LIBS)" == "1"
129__DEBUGRUNTIME_16 = d
ec08d395 130!endif
b17c1746
DE
131!if "$(DEBUG_RUNTIME_LIBS)" == "default"
132__DEBUGRUNTIME_16 = $(__DEBUGINFO_2)
ec08d395
JS
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
b17c1746
DE
140!if "$(WXUNIV)" == "1"
141__WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
f98da3fb 142!endif
b17c1746
DE
143!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
144__DEBUG_DEFINE_p_3 = /d __WXDEBUG__
f98da3fb 145!endif
b17c1746
DE
146!if "$(DEBUG_FLAG)" == "1"
147__DEBUG_DEFINE_p_3 = /d __WXDEBUG__
f98da3fb
VS
148!endif
149!if "$(UNICODE)" == "1"
ec08d395 150__UNICODE_DEFINE_p_3 = /d _UNICODE
f98da3fb 151!endif
b17c1746
DE
152!if "$(SHARED)" == "1"
153__DLLFLAG_p_3 = /d WXUSINGDLL
f98da3fb
VS
154!endif
155!if "$(MONOLITHIC)" == "0"
b17c1746
DE
156__WXLIB_HTML_p = \
157 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
f98da3fb
VS
158!endif
159!if "$(MONOLITHIC)" == "0"
160__WXLIB_CORE_p = \
161 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
162!endif
b17c1746
DE
163!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
164__DEBUGINFO = /Zi
f98da3fb 165!endif
b17c1746
DE
166!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
167__DEBUGINFO =
f98da3fb 168!endif
b17c1746
DE
169!if "$(DEBUG_INFO)" == "0"
170__DEBUGINFO =
f98da3fb 171!endif
b17c1746
DE
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
f98da3fb
VS
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"
b17c1746 200__DEBUGINFO_2 = d
f98da3fb
VS
201!endif
202!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
b17c1746 203__DEBUGINFO_2 =
f98da3fb
VS
204!endif
205!if "$(DEBUG_INFO)" == "0"
b17c1746 206__DEBUGINFO_2 =
f98da3fb
VS
207!endif
208!if "$(DEBUG_INFO)" == "1"
b17c1746 209__DEBUGINFO_2 = d
f98da3fb 210!endif
b17c1746
DE
211!if "$(BUILD)" == "debug"
212__OPTIMIZEFLAG = /Od
f98da3fb 213!endif
b17c1746
DE
214!if "$(BUILD)" == "release"
215__OPTIMIZEFLAG = /O2
f98da3fb 216!endif
b17c1746
DE
217!if "$(RUNTIME_LIBS)" == "dynamic"
218__RUNTIME_LIBS = D
f98da3fb 219!endif
b17c1746
DE
220!if "$(RUNTIME_LIBS)" == "static"
221__RUNTIME_LIBS = T
f98da3fb 222!endif
b17c1746
DE
223!if "$(USE_EXCEPTIONS)" == "0"
224__EXCEPTIONSFLAG =
f98da3fb 225!endif
b17c1746
DE
226!if "$(USE_EXCEPTIONS)" == "1"
227__EXCEPTIONSFLAG = /GR
f98da3fb 228!endif
b17c1746
DE
229!if "$(USE_EXCEPTIONS)" == "0"
230__EXCEPTIONSFLAG_0 =
f98da3fb 231!endif
b17c1746
DE
232!if "$(USE_EXCEPTIONS)" == "1"
233__EXCEPTIONSFLAG_0 = /GX
f98da3fb 234!endif
b17c1746
DE
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
f98da3fb 268!endif
8be1c2c5 269!if "$(USE_GUI)" == "1"
b17c1746
DE
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
8be1c2c5 280!endif
9a29912f 281
9a29912f 282
f98da3fb
VS
283all: $(OBJS)
284$(OBJS):
285 -if not exist $(OBJS) mkdir $(OBJS)
9a29912f 286
f98da3fb
VS
287### Targets: ###
288
8be1c2c5 289all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
f98da3fb 290
b17c1746
DE
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
f98da3fb 300
b17c1746
DE
301$(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
302 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
b92ca8cf 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
b17c1746 304<<
f98da3fb 305
b17c1746
DE
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 @<<
b92ca8cf 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
b17c1746
DE
310<<
311!endif
f98da3fb 312
b17c1746
DE
313$(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
314 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
9a29912f 315
b17c1746
DE
316$(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
317 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
9a29912f 318
b17c1746
DE
319$(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
320 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
9a29912f 321
b17c1746
DE
322$(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
323 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
f98da3fb 324
b17c1746
DE
325$(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
326 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
f98da3fb
VS
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
f98da3fb
VS
334$(OBJS)\tex2rtf_table.obj: .\table.cpp
335 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
336
b17c1746
DE
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 $**
f98da3fb 339
b17c1746
DE
340$(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
341 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
f98da3fb 342
b17c1746
DE
343$(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
344 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
f98da3fb 345
b17c1746
DE
346$(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
347 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
f98da3fb 348
b17c1746
DE
349$(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
350 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
f98da3fb 351
b17c1746
DE
352$(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
353 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
f98da3fb 354
b17c1746
DE
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) $**