]> git.saurik.com Git - wxWidgets.git/blob - contrib/build/net/makefile.vc
Layout fixes for wxPlotWindow [#1192416] + source cleaning to the wxW 2.6 coding...
[wxWidgets.git] / contrib / build / net / makefile.vc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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 /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 /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 "$(MONOLITHIC)" == "1"
156 __WXLIB_MONO_p = \
157 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
158 !endif
159 !if "$(USE_GUI)" == "1"
160 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
161 !endif
162 !if "$(USE_GUI)" == "1"
163 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
164 !endif
165 !if "$(USE_GUI)" == "1"
166 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
167 !endif
168 !if "$(MSLU)" == "1"
169 __UNICOWS_LIB_p = unicows.lib
170 !endif
171 !if "$(MONOLITHIC)" == "0"
172 __WXLIB_CORE_p = \
173 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
174 !endif
175 !if "$(MONOLITHIC)" == "0"
176 __WXLIB_BASE_p = \
177 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
178 !endif
179 !if "$(SHARED)" == "0"
180 __netutilslib___depname = \
181 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
182 !endif
183 !if "$(RUNTIME_LIBS)" == "dynamic"
184 __RUNTIME_LIBS_22 = D
185 !endif
186 !if "$(RUNTIME_LIBS)" == "static"
187 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
188 !endif
189 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
190 __DEBUGINFO_1 = /Zi
191 !endif
192 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
193 __DEBUGINFO_1 =
194 !endif
195 !if "$(DEBUG_INFO)" == "0"
196 __DEBUGINFO_1 =
197 !endif
198 !if "$(DEBUG_INFO)" == "1"
199 __DEBUGINFO_1 = /Zi
200 !endif
201 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
202 ____DEBUGRUNTIME = /D_DEBUG
203 !endif
204 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
205 ____DEBUGRUNTIME =
206 !endif
207 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
208 ____DEBUGRUNTIME =
209 !endif
210 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
211 ____DEBUGRUNTIME = /D_DEBUG
212 !endif
213 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
214 __DEBUGRUNTIME = d
215 !endif
216 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
217 __DEBUGRUNTIME =
218 !endif
219 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
220 __DEBUGRUNTIME =
221 !endif
222 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
223 __DEBUGRUNTIME = d
224 !endif
225 !if "$(BUILD)" == "debug"
226 __OPTIMIZEFLAG = /Od
227 !endif
228 !if "$(BUILD)" == "release"
229 __OPTIMIZEFLAG = /O2
230 !endif
231 !if "$(USE_THREADS)" == "0"
232 __THREADSFLAG = L
233 !endif
234 !if "$(USE_THREADS)" == "1"
235 __THREADSFLAG = T
236 !endif
237 !if "$(USE_RTTI)" == "0"
238 __RTTIFLAG =
239 !endif
240 !if "$(USE_RTTI)" == "1"
241 __RTTIFLAG = /GR
242 !endif
243 !if "$(USE_EXCEPTIONS)" == "0"
244 __EXCEPTIONSFLAG =
245 !endif
246 !if "$(USE_EXCEPTIONS)" == "1"
247 __EXCEPTIONSFLAG = /EHsc
248 !endif
249 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
250 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
251 !endif
252 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
253 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
254 !endif
255 !if "$(WXUNIV)" == "1"
256 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
257 !endif
258 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
259 __DEBUG_DEFINE_p = /D__WXDEBUG__
260 !endif
261 !if "$(DEBUG_FLAG)" == "1"
262 __DEBUG_DEFINE_p = /D__WXDEBUG__
263 !endif
264 !if "$(USE_EXCEPTIONS)" == "0"
265 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
266 !endif
267 !if "$(USE_RTTI)" == "0"
268 __RTTI_DEFINE_p = /DwxNO_RTTI
269 !endif
270 !if "$(USE_THREADS)" == "0"
271 __THREAD_DEFINE_p = /DwxNO_THREADS
272 !endif
273 !if "$(UNICODE)" == "1"
274 __UNICODE_DEFINE_p = /D_UNICODE
275 !endif
276
277
278 all: $(OBJS)
279 $(OBJS):
280 -if not exist $(OBJS) mkdir $(OBJS)
281
282 ### Targets: ###
283
284 all: $(__netutilsdll___depname) $(__netutilslib___depname)
285
286 clean:
287 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
288 -if exist $(OBJS)\*.res del $(OBJS)\*.res
289 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
290 -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
291 -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
292 -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
293 -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
294 -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
295
296 !if "$(SHARED)" == "1"
297 $(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
298 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
299 $(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
300 <<
301 !endif
302
303 !if "$(SHARED)" == "0"
304 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
305 if exist $@ del $@
306 lib /NOLOGO /OUT:$@ @<<
307 $(NETUTILSLIB_OBJECTS)
308 <<
309 !endif
310
311 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) /Ycwx/wxprec.h $**
313
314 $(OBJS)\netutilsdll_version.res: ../../src/net\..\..\..\src\msw\version.rc
315 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) /i ..\..\src\net\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_vc$(VENDORTAG) $**
316
317 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
319
320 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
322
323 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSDLL_CXXFLAGS) $**
325
326 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) /Ycwx/wxprec.h $**
328
329 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
330 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
331
332 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
333 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
334
335 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
336 $(CXX) /c /nologo /TP /Fo$@ $(NETUTILSLIB_CXXFLAGS) $**
337