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