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