]> git.saurik.com Git - wxWidgets.git/blob - utils/tex2rtf/src/makefile.vc
regenerated makefiles
[wxWidgets.git] / utils / tex2rtf / src / makefile.vc
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 # =========================================================================
6
7 !include <../../../build/msw/config.vc>
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 TEX2RTF_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
20 $(__DEBUGINFO) /Fd$(OBJS)\tex2rtf.pdb $(____DEBUGRUNTIME_2_p) \
21 $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
22 $(__UNICODE_DEFINE_p) /I.\..\..\..\include /I$(SETUPHDIR) /I. $(__DLLFLAG_p) \
23 /D_CONSOLE /DNO_GUI $(CXXFLAGS)
24 TEX2RTF_GUI_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_13) \
25 /DWIN32 $(__DEBUGINFO) /Fd$(OBJS)\tex2rtf_gui.pdb $(____DEBUGRUNTIME_12_p) \
26 $(__OPTIMIZEFLAG) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
27 $(__UNICODE_DEFINE_p) /I.\..\..\..\include /I$(SETUPHDIR) /I. $(__DLLFLAG_p) \
28 /D_WINDOWS /I.\..\..\..\samples $(CXXFLAGS)
29 TEX2RTF_GUI_OBJECTS = \
30 $(OBJS)\tex2rtf_gui_sample.res \
31 $(OBJS)\tex2rtf_gui_tex2rtf.obj \
32 $(OBJS)\tex2rtf_gui_tex2any.obj \
33 $(OBJS)\tex2rtf_gui_texutils.obj \
34 $(OBJS)\tex2rtf_gui_rtfutils.obj \
35 $(OBJS)\tex2rtf_gui_xlputils.obj \
36 $(OBJS)\tex2rtf_gui_htmlutil.obj \
37 $(OBJS)\tex2rtf_gui_readshg.obj \
38 $(OBJS)\tex2rtf_gui_table.obj
39 TEX2RTF_OBJECTS = \
40 $(OBJS)\tex2rtf_tex2rtf.obj \
41 $(OBJS)\tex2rtf_tex2any.obj \
42 $(OBJS)\tex2rtf_texutils.obj \
43 $(OBJS)\tex2rtf_rtfutils.obj \
44 $(OBJS)\tex2rtf_xlputils.obj \
45 $(OBJS)\tex2rtf_htmlutil.obj \
46 $(OBJS)\tex2rtf_readshg.obj \
47 $(OBJS)\tex2rtf_table.obj
48
49 ### Conditionally set variables: ###
50
51 !if "$(SHARED)" == "0"
52 LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
53 !endif
54 !if "$(SHARED)" == "1"
55 LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
56 !endif
57 !if "$(USE_GUI)" == "0"
58 PORTNAME = base
59 !endif
60 !if "$(USE_GUI)" == "1"
61 PORTNAME = msw
62 !endif
63 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
64 WXDEBUGFLAG = d
65 !endif
66 !if "$(DEBUG_FLAG)" == "1"
67 WXDEBUGFLAG = d
68 !endif
69 !if "$(SHARED)" == "1"
70 WXDLLFLAG = dll
71 !endif
72 !if "$(UNICODE)" == "1"
73 WXUNICODEFLAG = u
74 !endif
75 !if "$(WXUNIV)" == "1"
76 WXUNIVNAME = univ
77 !endif
78 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
79 __DEBUGINFO = /Zi
80 !endif
81 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
82 __DEBUGINFO =
83 !endif
84 !if "$(DEBUG_INFO)" == "0"
85 __DEBUGINFO =
86 !endif
87 !if "$(DEBUG_INFO)" == "1"
88 __DEBUGINFO = /Zi
89 !endif
90 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
91 __DEBUGINFO_1 = /DEBUG
92 !endif
93 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
94 __DEBUGINFO_1 =
95 !endif
96 !if "$(DEBUG_INFO)" == "0"
97 __DEBUGINFO_1 =
98 !endif
99 !if "$(DEBUG_INFO)" == "1"
100 __DEBUGINFO_1 = /DEBUG
101 !endif
102 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
103 __DEBUGINFO_2 = d
104 !endif
105 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
106 __DEBUGINFO_2 =
107 !endif
108 !if "$(DEBUG_INFO)" == "0"
109 __DEBUGINFO_2 =
110 !endif
111 !if "$(DEBUG_INFO)" == "1"
112 __DEBUGINFO_2 = d
113 !endif
114 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
115 __DEBUGRUNTIME_13 =
116 !endif
117 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
118 __DEBUGRUNTIME_13 = d
119 !endif
120 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
121 __DEBUGRUNTIME_13 = $(__DEBUGINFO_2)
122 !endif
123 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
124 __DEBUGRUNTIME_3 =
125 !endif
126 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
127 __DEBUGRUNTIME_3 = d
128 !endif
129 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
130 __DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
131 !endif
132 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
133 __DEBUG_DEFINE_p = /D__WXDEBUG__
134 !endif
135 !if "$(DEBUG_FLAG)" == "1"
136 __DEBUG_DEFINE_p = /D__WXDEBUG__
137 !endif
138 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
139 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
140 !endif
141 !if "$(DEBUG_FLAG)" == "1"
142 __DEBUG_DEFINE_p_3 = /d __WXDEBUG__
143 !endif
144 !if "$(SHARED)" == "1"
145 __DLLFLAG_p = /DWXUSINGDLL
146 !endif
147 !if "$(SHARED)" == "1"
148 __DLLFLAG_p_3 = /d WXUSINGDLL
149 !endif
150 !if "$(USE_GUI)" == "1"
151 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
152 !endif
153 !if "$(USE_GUI)" == "1"
154 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
155 !endif
156 !if "$(USE_GUI)" == "1"
157 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
158 !endif
159 !if "$(BUILD)" == "debug"
160 __OPTIMIZEFLAG = /Od
161 !endif
162 !if "$(BUILD)" == "release"
163 __OPTIMIZEFLAG = /O2
164 !endif
165 !if "$(RUNTIME_LIBS)" == "dynamic"
166 __RUNTIME_LIBS = D
167 !endif
168 !if "$(RUNTIME_LIBS)" == "static"
169 __RUNTIME_LIBS = T
170 !endif
171 !if "$(UNICODE)" == "1"
172 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
173 !endif
174 !if "$(UNICODE)" == "1"
175 __UNICODE_DEFINE_p_3 = /d wxUSE_UNICODE=1
176 !endif
177 !if "$(MSLU)" == "1"
178 __UNICOWS_LIB_p = unicows.lib
179 !endif
180 !if "$(MONOLITHIC)" == "0"
181 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
182 !endif
183 !if "$(MONOLITHIC)" == "0"
184 __WXLIB_CORE_p = \
185 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
186 !endif
187 !if "$(MONOLITHIC)" == "0"
188 __WXLIB_HTML_p = \
189 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
190 !endif
191 !if "$(MONOLITHIC)" == "1"
192 __WXLIB_MONO_p = \
193 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
194 !endif
195 !if "$(WXUNIV)" == "1"
196 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
197 !endif
198 !if "$(WXUNIV)" == "1"
199 __WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
200 !endif
201 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
202 ____DEBUGINFO = /D_DEBUG
203 !endif
204 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
205 ____DEBUGINFO =
206 !endif
207 !if "$(DEBUG_INFO)" == "0"
208 ____DEBUGINFO =
209 !endif
210 !if "$(DEBUG_INFO)" == "1"
211 ____DEBUGINFO = /D_DEBUG
212 !endif
213 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
214 ____DEBUGINFO_12_p_1 = /d _DEBUG
215 !endif
216 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
217 ____DEBUGINFO_12_p_1 =
218 !endif
219 !if "$(DEBUG_INFO)" == "0"
220 ____DEBUGINFO_12_p_1 =
221 !endif
222 !if "$(DEBUG_INFO)" == "1"
223 ____DEBUGINFO_12_p_1 = /d _DEBUG
224 !endif
225 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
226 ____DEBUGRUNTIME_12_p =
227 !endif
228 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
229 ____DEBUGRUNTIME_12_p = /D_DEBUG
230 !endif
231 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
232 ____DEBUGRUNTIME_12_p = $(____DEBUGINFO)
233 !endif
234 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
235 ____DEBUGRUNTIME_12_p_1 =
236 !endif
237 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
238 ____DEBUGRUNTIME_12_p_1 = /d _DEBUG
239 !endif
240 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
241 ____DEBUGRUNTIME_12_p_1 = $(____DEBUGINFO_12_p_1)
242 !endif
243 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
244 ____DEBUGRUNTIME_2_p =
245 !endif
246 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
247 ____DEBUGRUNTIME_2_p = /D_DEBUG
248 !endif
249 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
250 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
251 !endif
252
253
254 all: $(OBJS)
255 $(OBJS):
256 -if not exist $(OBJS) mkdir $(OBJS)
257
258 ### Targets: ###
259
260 all: $(OBJS)\tex2rtf.exe $(OBJS)\tex2rtf_gui.exe
261
262 $(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
264
265 $(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
267
268 $(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
270
271 $(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
272 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_12_p_1) /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 $**
273
274 $(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
276
277 $(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
278 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
279
280 $(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
282
283 $(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
285
286 $(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
288
289 $(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
291
292 $(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
293 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
294
295 $(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
296 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
297
298 $(OBJS)\tex2rtf_table.obj: .\table.cpp
299 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
300
301 $(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
302 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
303
304 $(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
305 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
306
307 $(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
308 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
309
310 $(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
311 $(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
312
313 clean:
314 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
315 -if exist $(OBJS)\*.res del $(OBJS)\*.res
316 -if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
317 -if exist $(OBJS)\tex2rtf_gui.exe del $(OBJS)\tex2rtf_gui.exe
318
319 $(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
320 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
321 $(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
322 <<
323
324 $(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
325 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
326 $(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
327 <<