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