]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/tex2rtf/src/makefile.vc
Make _dist_dir a shadow directory of symlinks rather then copied files, and add
[wxWidgets.git] / utils / tex2rtf / src / makefile.vc
... / ...
CommitLineData
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# =========================================================================
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 = 27
16OBJS = \
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18LIBDIRNAME = .\..\..\..\lib\vc_$(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) /I.\..\..\..\include \
26 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 /DNO_GUI \
27 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
28TEX2RTF_OBJECTS = \
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
37TEX2RTF_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) \
44 $(CXXFLAGS)
45TEX2RTF_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
55
56### Conditionally set variables: ###
57
58!if "$(USE_GUI)" == "0"
59PORTNAME = base
60!endif
61!if "$(USE_GUI)" == "1"
62PORTNAME = msw
63!endif
64!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
65WXDEBUGFLAG = d
66!endif
67!if "$(DEBUG_FLAG)" == "1"
68WXDEBUGFLAG = d
69!endif
70!if "$(UNICODE)" == "1"
71WXUNICODEFLAG = u
72!endif
73!if "$(WXUNIV)" == "1"
74WXUNIVNAME = univ
75!endif
76!if "$(SHARED)" == "1"
77WXDLLFLAG = dll
78!endif
79!if "$(SHARED)" == "0"
80LIBTYPE_SUFFIX = lib
81!endif
82!if "$(SHARED)" == "1"
83LIBTYPE_SUFFIX = dll
84!endif
85!if "$(MONOLITHIC)" == "0"
86EXTRALIBS_FOR_BASE =
87!endif
88!if "$(MONOLITHIC)" == "1"
89EXTRALIBS_FOR_BASE =
90!endif
91!if "$(RUNTIME_LIBS)" == "dynamic"
92__RUNTIME_LIBS_8 = D
93!endif
94!if "$(RUNTIME_LIBS)" == "static"
95__RUNTIME_LIBS_8 = $(__THREADSFLAG)
96!endif
97!if "$(USE_GUI)" == "1"
98__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
99!endif
100!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
101____DEBUGRUNTIME_16_p_1 = /d _DEBUG
102!endif
103!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
104____DEBUGRUNTIME_16_p_1 =
105!endif
106!if "$(DEBUG_RUNTIME_LIBS)" == "0"
107____DEBUGRUNTIME_16_p_1 =
108!endif
109!if "$(DEBUG_RUNTIME_LIBS)" == "1"
110____DEBUGRUNTIME_16_p_1 = /d _DEBUG
111!endif
112!if "$(RUNTIME_LIBS)" == "dynamic"
113__RUNTIME_LIBS_22 = D
114!endif
115!if "$(RUNTIME_LIBS)" == "static"
116__RUNTIME_LIBS_22 = $(__THREADSFLAG)
117!endif
118!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
119__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
120!endif
121!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
122__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
123!endif
124!if "$(WXUNIV)" == "1"
125__WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
126!endif
127!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
128__DEBUG_DEFINE_p_3 = /d __WXDEBUG__
129!endif
130!if "$(DEBUG_FLAG)" == "1"
131__DEBUG_DEFINE_p_3 = /d __WXDEBUG__
132!endif
133!if "$(USE_EXCEPTIONS)" == "0"
134__EXCEPTIONS_DEFINE_p_3 = /d wxNO_EXCEPTIONS
135!endif
136!if "$(USE_RTTI)" == "0"
137__RTTI_DEFINE_p_3 = /d wxNO_RTTI
138!endif
139!if "$(USE_THREADS)" == "0"
140__THREAD_DEFINE_p_3 = /d wxNO_THREADS
141!endif
142!if "$(UNICODE)" == "1"
143__UNICODE_DEFINE_p_3 = /d _UNICODE
144!endif
145!if "$(MSLU)" == "1"
146__MSLU_DEFINE_p_3 = /d wxUSE_UNICODE_MSLU=1
147!endif
148!if "$(SHARED)" == "1"
149__DLLFLAG_p_3 = /d WXUSINGDLL
150!endif
151!if "$(MONOLITHIC)" == "0"
152__WXLIB_HTML_p = \
153 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
154!endif
155!if "$(MONOLITHIC)" == "0"
156__WXLIB_CORE_p = \
157 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
158!endif
159!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
160__DEBUGINFO = /Zi
161!endif
162!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
163__DEBUGINFO =
164!endif
165!if "$(DEBUG_INFO)" == "0"
166__DEBUGINFO =
167!endif
168!if "$(DEBUG_INFO)" == "1"
169__DEBUGINFO = /Zi
170!endif
171!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
172__DEBUGINFO_1 = /DEBUG
173!endif
174!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
175__DEBUGINFO_1 =
176!endif
177!if "$(DEBUG_INFO)" == "0"
178__DEBUGINFO_1 =
179!endif
180!if "$(DEBUG_INFO)" == "1"
181__DEBUGINFO_1 = /DEBUG
182!endif
183!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
184____DEBUGRUNTIME = /D_DEBUG
185!endif
186!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
187____DEBUGRUNTIME =
188!endif
189!if "$(DEBUG_RUNTIME_LIBS)" == "0"
190____DEBUGRUNTIME =
191!endif
192!if "$(DEBUG_RUNTIME_LIBS)" == "1"
193____DEBUGRUNTIME = /D_DEBUG
194!endif
195!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
196__DEBUGRUNTIME = d
197!endif
198!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
199__DEBUGRUNTIME =
200!endif
201!if "$(DEBUG_RUNTIME_LIBS)" == "0"
202__DEBUGRUNTIME =
203!endif
204!if "$(DEBUG_RUNTIME_LIBS)" == "1"
205__DEBUGRUNTIME = d
206!endif
207!if "$(BUILD)" == "debug"
208__OPTIMIZEFLAG = /Od
209!endif
210!if "$(BUILD)" == "release"
211__OPTIMIZEFLAG = /O2
212!endif
213!if "$(USE_THREADS)" == "0"
214__THREADSFLAG = L
215!endif
216!if "$(USE_THREADS)" == "1"
217__THREADSFLAG = T
218!endif
219!if "$(USE_RTTI)" == "0"
220__RTTIFLAG =
221!endif
222!if "$(USE_RTTI)" == "1"
223__RTTIFLAG = /GR
224!endif
225!if "$(USE_EXCEPTIONS)" == "0"
226__EXCEPTIONSFLAG =
227!endif
228!if "$(USE_EXCEPTIONS)" == "1"
229__EXCEPTIONSFLAG = /EHsc
230!endif
231!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
232__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
233!endif
234!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
235__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
236!endif
237!if "$(WXUNIV)" == "1"
238__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
239!endif
240!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
241__DEBUG_DEFINE_p = /D__WXDEBUG__
242!endif
243!if "$(DEBUG_FLAG)" == "1"
244__DEBUG_DEFINE_p = /D__WXDEBUG__
245!endif
246!if "$(USE_EXCEPTIONS)" == "0"
247__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
248!endif
249!if "$(USE_RTTI)" == "0"
250__RTTI_DEFINE_p = /DwxNO_RTTI
251!endif
252!if "$(USE_THREADS)" == "0"
253__THREAD_DEFINE_p = /DwxNO_THREADS
254!endif
255!if "$(UNICODE)" == "1"
256__UNICODE_DEFINE_p = /D_UNICODE
257!endif
258!if "$(MSLU)" == "1"
259__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
260!endif
261!if "$(SHARED)" == "1"
262__DLLFLAG_p = /DWXUSINGDLL
263!endif
264!if "$(MONOLITHIC)" == "0"
265__WXLIB_BASE_p = \
266 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
267!endif
268!if "$(MONOLITHIC)" == "1"
269__WXLIB_MONO_p = \
270 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
271!endif
272!if "$(USE_GUI)" == "1"
273__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
274!endif
275!if "$(USE_GUI)" == "1"
276__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
277!endif
278!if "$(USE_GUI)" == "1"
279__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
280!endif
281!if "$(MSLU)" == "1"
282__UNICOWS_LIB_p = unicows.lib
283!endif
284
285
286all: $(OBJS)
287$(OBJS):
288 -if not exist $(OBJS) mkdir $(OBJS)
289
290### Targets: ###
291
292all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
293
294clean:
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
304
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
308<<
309
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
314<<
315!endif
316
317$(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
319
320$(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
322
323$(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
325
326$(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
328
329$(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
331
332$(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
334
335$(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
336 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
337
338$(OBJS)\tex2rtf_table.obj: .\table.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
340
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 $**
343
344$(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
345 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
346
347$(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
348 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
349
350$(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
351 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
352
353$(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
354 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
355
356$(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
357 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
358
359$(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
360 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
361
362$(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
363 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
364
365$(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
366 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
367