]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/net/makefile.vc
made XPM data const
[wxWidgets.git] / contrib / build / net / makefile.vc
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
15 WX_RELEASE_NODOT = 26
16 OBJS = \
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = ..\..\src\net\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
19 SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 NETUTILSDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
22 $(__DEBUGINFO_1) \
23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).pdb \
24 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
25 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
26 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
27 $(__MSLU_DEFINE_p) /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
28 /I..\..\src\net\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_NETUTILS \
29 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_netutilsdll.pch" $(CPPFLAGS) $(CXXFLAGS)
31 NETUTILSDLL_OBJECTS = \
32 $(OBJS)\netutilsdll_dummy.obj \
33 $(OBJS)\netutilsdll_version.res \
34 $(OBJS)\netutilsdll_email.obj \
35 $(OBJS)\netutilsdll_smapi.obj \
36 $(OBJS)\netutilsdll_web.obj
37 NETUTILSLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
38 $(__DEBUGINFO_1) \
39 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.pdb \
40 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
41 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
42 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
43 $(__MSLU_DEFINE_p) /I..\..\src\net\..\..\..\include /I$(SETUPHDIR) /W4 \
44 /I..\..\src\net\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
45 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_netutilslib.pch" $(CPPFLAGS) \
46 $(CXXFLAGS)
47 NETUTILSLIB_OBJECTS = \
48 $(OBJS)\netutilslib_dummy.obj \
49 $(OBJS)\netutilslib_email.obj \
50 $(OBJS)\netutilslib_smapi.obj \
51 $(OBJS)\netutilslib_web.obj
52
53 ### Conditionally set variables: ###
54
55 !if "$(USE_GUI)" == "0"
56 PORTNAME = base
57 !endif
58 !if "$(USE_GUI)" == "1"
59 PORTNAME = msw
60 !endif
61 !if "$(OFFICIAL_BUILD)" == "0"
62 VENDORTAG = _$(VENDOR)
63 !endif
64 !if "$(OFFICIAL_BUILD)" == "1"
65 VENDORTAG =
66 !endif
67 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
68 WXDEBUGFLAG = d
69 !endif
70 !if "$(DEBUG_FLAG)" == "1"
71 WXDEBUGFLAG = d
72 !endif
73 !if "$(UNICODE)" == "1"
74 WXUNICODEFLAG = u
75 !endif
76 !if "$(WXUNIV)" == "1"
77 WXUNIVNAME = univ
78 !endif
79 !if "$(SHARED)" == "1"
80 WXDLLFLAG = dll
81 !endif
82 !if "$(SHARED)" == "0"
83 LIBTYPE_SUFFIX = lib
84 !endif
85 !if "$(SHARED)" == "1"
86 LIBTYPE_SUFFIX = dll
87 !endif
88 !if "$(MONOLITHIC)" == "0"
89 EXTRALIBS_FOR_BASE =
90 !endif
91 !if "$(MONOLITHIC)" == "1"
92 EXTRALIBS_FOR_BASE =
93 !endif
94 !if "$(SHARED)" == "1"
95 __netutilsdll___depname = \
96 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll
97 !endif
98 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
99 __DEBUGINFO_2 = /DEBUG
100 !endif
101 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
102 __DEBUGINFO_2 =
103 !endif
104 !if "$(DEBUG_INFO)" == "0"
105 __DEBUGINFO_2 =
106 !endif
107 !if "$(DEBUG_INFO)" == "1"
108 __DEBUGINFO_2 = /DEBUG
109 !endif
110 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
111 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
112 !endif
113 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
114 ____DEBUGRUNTIME_3_p_1 =
115 !endif
116 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
117 ____DEBUGRUNTIME_3_p_1 =
118 !endif
119 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
120 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
121 !endif
122 !if "$(RUNTIME_LIBS)" == "dynamic"
123 __RUNTIME_LIBS_9 = D
124 !endif
125 !if "$(RUNTIME_LIBS)" == "static"
126 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
127 !endif
128 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
129 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
130 !endif
131 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
132 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
133 !endif
134 !if "$(WXUNIV)" == "1"
135 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
136 !endif
137 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
138 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
139 !endif
140 !if "$(DEBUG_FLAG)" == "1"
141 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
142 !endif
143 !if "$(USE_EXCEPTIONS)" == "0"
144 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
145 !endif
146 !if "$(USE_RTTI)" == "0"
147 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
148 !endif
149 !if "$(USE_THREADS)" == "0"
150 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
151 !endif
152 !if "$(UNICODE)" == "1"
153 __UNICODE_DEFINE_p_1 = /d _UNICODE
154 !endif
155 !if "$(MSLU)" == "1"
156 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
157 !endif
158 !if "$(MONOLITHIC)" == "1"
159 __WXLIB_MONO_p = \
160 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
161 !endif
162 !if "$(USE_GUI)" == "1"
163 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
164 !endif
165 !if "$(USE_GUI)" == "1"
166 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
167 !endif
168 !if "$(USE_GUI)" == "1"
169 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
170 !endif
171 !if "$(MSLU)" == "1"
172 __UNICOWS_LIB_p = unicows.lib
173 !endif
174 !if "$(MONOLITHIC)" == "0"
175 __WXLIB_CORE_p = \
176 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
177 !endif
178 !if "$(MONOLITHIC)" == "0"
179 __WXLIB_BASE_p = \
180 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
181 !endif
182 !if "$(SHARED)" == "0"
183 __netutilslib___depname = \
184 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
185 !endif
186 !if "$(RUNTIME_LIBS)" == "dynamic"
187 __RUNTIME_LIBS_22 = D
188 !endif
189 !if "$(RUNTIME_LIBS)" == "static"
190 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
191 !endif
192 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
193 __DEBUGINFO_1 = /Zi
194 !endif
195 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
196 __DEBUGINFO_1 =
197 !endif
198 !if "$(DEBUG_INFO)" == "0"
199 __DEBUGINFO_1 =
200 !endif
201 !if "$(DEBUG_INFO)" == "1"
202 __DEBUGINFO_1 = /Zi
203 !endif
204 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
205 ____DEBUGRUNTIME = /D_DEBUG
206 !endif
207 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
208 ____DEBUGRUNTIME =
209 !endif
210 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
211 ____DEBUGRUNTIME =
212 !endif
213 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
214 ____DEBUGRUNTIME = /D_DEBUG
215 !endif
216 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
217 __DEBUGRUNTIME = d
218 !endif
219 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
220 __DEBUGRUNTIME =
221 !endif
222 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
223 __DEBUGRUNTIME =
224 !endif
225 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
226 __DEBUGRUNTIME = d
227 !endif
228 !if "$(BUILD)" == "debug"
229 __OPTIMIZEFLAG = /Od
230 !endif
231 !if "$(BUILD)" == "release"
232 __OPTIMIZEFLAG = /O2
233 !endif
234 !if "$(USE_THREADS)" == "0"
235 __THREADSFLAG = L
236 !endif
237 !if "$(USE_THREADS)" == "1"
238 __THREADSFLAG = T
239 !endif
240 !if "$(USE_RTTI)" == "0"
241 __RTTIFLAG =
242 !endif
243 !if "$(USE_RTTI)" == "1"
244 __RTTIFLAG = /GR
245 !endif
246 !if "$(USE_EXCEPTIONS)" == "0"
247 __EXCEPTIONSFLAG =
248 !endif
249 !if "$(USE_EXCEPTIONS)" == "1"
250 __EXCEPTIONSFLAG = /EHsc
251 !endif
252 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
253 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
254 !endif
255 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
256 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
257 !endif
258 !if "$(WXUNIV)" == "1"
259 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
260 !endif
261 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
262 __DEBUG_DEFINE_p = /D__WXDEBUG__
263 !endif
264 !if "$(DEBUG_FLAG)" == "1"
265 __DEBUG_DEFINE_p = /D__WXDEBUG__
266 !endif
267 !if "$(USE_EXCEPTIONS)" == "0"
268 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
269 !endif
270 !if "$(USE_RTTI)" == "0"
271 __RTTI_DEFINE_p = /DwxNO_RTTI
272 !endif
273 !if "$(USE_THREADS)" == "0"
274 __THREAD_DEFINE_p = /DwxNO_THREADS
275 !endif
276 !if "$(UNICODE)" == "1"
277 __UNICODE_DEFINE_p = /D_UNICODE
278 !endif
279 !if "$(MSLU)" == "1"
280 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
281 !endif
282
283
284 all: $(OBJS)
285 $(OBJS):
286 -if not exist $(OBJS) mkdir $(OBJS)
287
288 ### Targets: ###
289
290 all: $(__netutilsdll___depname) $(__netutilslib___depname)
291
292 clean:
293 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
294 -if exist $(OBJS)\*.res del $(OBJS)\*.res
295 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
296 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll
297 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).ilk
298 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).pdb
299 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
300 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
301
302 !if "$(SHARED)" == "1"
303 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS) $(OBJS)\netutilsdll_version.res
304 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
305 $(NETUTILSDLL_OBJECTS) $(__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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
306 <<
307 !endif
308
309 !if "$(SHARED)" == "0"
310 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
311 if exist $@ del $@
312 link /LIB /NOLOGO /OUT:$@ @<<
313 $(NETUTILSLIB_OBJECTS)
314 <<
315 !endif
316
317 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
319
320 $(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
321 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i ..\..\src\net\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG) $**
322
323 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
325
326 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
328
329 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
331
332 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
334
335 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
336 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
337
338 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
339 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
340
341 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
342 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
343