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 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)5
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 FOLDBARDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME_4) /DWIN32 \
24 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).pdb \
25 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
26 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
27 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
28 /I..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /W4 \
29 /I..\..\src\foldbar\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_FOLDBAR \
30 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
31 /Fp"$(OBJS)\wxprec_foldbardll.pch" $(CPPFLAGS) $(CXXFLAGS)
32 FOLDBARDLL_OBJECTS = \
33 $(OBJS)\foldbardll_dummy.obj \
34 $(OBJS)\foldbardll_version.res \
35 $(OBJS)\foldbardll_captionbar.obj \
36 $(OBJS)\foldbardll_foldpanelbar.obj \
37 $(OBJS)\foldbardll_foldpanelitem.obj
38 FOLDBARLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME_17) /DWIN32 \
40 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.pdb \
41 $(____DEBUGRUNTIME_16_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
42 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
43 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
44 /I..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /W4 \
45 /I..\..\src\foldbar\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
46 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_foldbarlib.pch" $(CPPFLAGS) $(CXXFLAGS)
47 FOLDBARLIB_OBJECTS = \
48 $(OBJS)\foldbarlib_dummy.obj \
49 $(OBJS)\foldbarlib_captionbar.obj \
50 $(OBJS)\foldbarlib_foldpanelbar.obj \
51 $(OBJS)\foldbarlib_foldpanelitem.obj
53 ### Conditionally set variables: ###
55 !if "$(USE_GUI)" == "0"
58 !if "$(USE_GUI)" == "1"
61 !if "$(OFFICIAL_BUILD)" == "0"
62 VENDORTAG = _$(VENDOR)
64 !if "$(OFFICIAL_BUILD)" == "1"
67 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
70 !if "$(DEBUG_FLAG)" == "1"
73 !if "$(UNICODE)" == "1"
76 !if "$(WXUNIV)" == "1"
79 !if "$(SHARED)" == "1"
82 !if "$(SHARED)" == "0"
85 !if "$(SHARED)" == "1"
88 !if "$(MONOLITHIC)" == "0"
91 !if "$(MONOLITHIC)" == "1"
94 !if "$(SHARED)" == "1"
95 __foldbardll___depname = \
96 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll
98 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
99 __DEBUGINFO_2 = /DEBUG
101 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
104 !if "$(DEBUG_INFO)" == "0"
107 !if "$(DEBUG_INFO)" == "1"
108 __DEBUGINFO_2 = /DEBUG
110 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
111 ____DEBUGRUNTIME_3_p =
113 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
114 ____DEBUGRUNTIME_3_p = /D_DEBUG
116 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
117 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
119 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
120 ____DEBUGRUNTIME_3_p_1 =
122 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
123 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
125 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
126 ____DEBUGRUNTIME_3_p_1 = $(____DEBUGINFO_3_p_1)
128 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
129 ____DEBUGINFO_3_p_1 = /d _DEBUG
131 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
132 ____DEBUGINFO_3_p_1 =
134 !if "$(DEBUG_INFO)" == "0"
135 ____DEBUGINFO_3_p_1 =
137 !if "$(DEBUG_INFO)" == "1"
138 ____DEBUGINFO_3_p_1 = /d _DEBUG
140 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
143 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
146 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
147 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
149 !if "$(RUNTIME_LIBS)" == "dynamic"
152 !if "$(RUNTIME_LIBS)" == "static"
153 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
155 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
156 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
158 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
159 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
161 !if "$(WXUNIV)" == "1"
162 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
164 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
165 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
167 !if "$(DEBUG_FLAG)" == "1"
168 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
170 !if "$(USE_EXCEPTIONS)" == "0"
171 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
173 !if "$(USE_RTTI)" == "0"
174 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
176 !if "$(USE_THREADS)" == "0"
177 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
179 !if "$(UNICODE)" == "1"
180 __UNICODE_DEFINE_p_1 = /d _UNICODE
182 !if "$(MONOLITHIC)" == "1"
184 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
186 !if "$(USE_GUI)" == "1"
187 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
189 !if "$(USE_GUI)" == "1"
190 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
192 !if "$(USE_GUI)" == "1"
193 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
196 __UNICOWS_LIB_p = unicows.lib
198 !if "$(MONOLITHIC)" == "0"
200 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
202 !if "$(MONOLITHIC)" == "0"
204 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
206 !if "$(SHARED)" == "0"
207 __foldbarlib___depname = \
208 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
210 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
211 ____DEBUGRUNTIME_16_p =
213 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
214 ____DEBUGRUNTIME_16_p = /D_DEBUG
216 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
217 ____DEBUGRUNTIME_16_p = $(____DEBUGINFO)
219 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
222 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
223 __DEBUGRUNTIME_17 = d
225 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
226 __DEBUGRUNTIME_17 = $(__DEBUGINFO)
228 !if "$(RUNTIME_LIBS)" == "dynamic"
229 __RUNTIME_LIBS_22 = D
231 !if "$(RUNTIME_LIBS)" == "static"
232 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
234 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
237 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
240 !if "$(DEBUG_INFO)" == "0"
243 !if "$(DEBUG_INFO)" == "1"
246 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
247 ____DEBUGINFO = /D_DEBUG
249 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
252 !if "$(DEBUG_INFO)" == "0"
255 !if "$(DEBUG_INFO)" == "1"
256 ____DEBUGINFO = /D_DEBUG
258 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
261 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
264 !if "$(DEBUG_INFO)" == "0"
267 !if "$(DEBUG_INFO)" == "1"
270 !if "$(BUILD)" == "debug"
273 !if "$(BUILD)" == "release"
276 !if "$(USE_THREADS)" == "0"
279 !if "$(USE_THREADS)" == "1"
282 !if "$(USE_RTTI)" == "0"
285 !if "$(USE_RTTI)" == "1"
288 !if "$(USE_EXCEPTIONS)" == "0"
291 !if "$(USE_EXCEPTIONS)" == "1"
292 __EXCEPTIONSFLAG = /EHsc
294 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
295 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
297 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
298 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
300 !if "$(WXUNIV)" == "1"
301 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
303 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
304 __DEBUG_DEFINE_p = /D__WXDEBUG__
306 !if "$(DEBUG_FLAG)" == "1"
307 __DEBUG_DEFINE_p = /D__WXDEBUG__
309 !if "$(USE_EXCEPTIONS)" == "0"
310 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
312 !if "$(USE_RTTI)" == "0"
313 __RTTI_DEFINE_p = /DwxNO_RTTI
315 !if "$(USE_THREADS)" == "0"
316 __THREAD_DEFINE_p = /DwxNO_THREADS
318 !if "$(UNICODE)" == "1"
319 __UNICODE_DEFINE_p = /D_UNICODE
325 -if not exist $(OBJS) mkdir $(OBJS)
329 all: $(__foldbardll___depname) $(__foldbarlib___depname)
332 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
333 -if exist $(OBJS)\*.res del $(OBJS)\*.res
334 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
335 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll
336 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).ilk
337 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).pdb
338 -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
339 -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
341 !if "$(SHARED)" == "1"
342 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll: $(OBJS)\foldbardll_dummy.obj $(FOLDBARDLL_OBJECTS) $(OBJS)\foldbardll_version.res
343 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
344 $(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
348 !if "$(SHARED)" == "0"
349 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
351 lib /NOLOGO /OUT:$@ @<<
352 $(FOLDBARLIB_OBJECTS)
356 $(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
357 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) /Ycwx/wxprec.h $**
359 $(OBJS)\foldbardll_version.res: ../../src/foldbar\..\..\..\src\msw\version.rc
360 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\foldbar\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG) $**
362 $(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
363 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
365 $(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
366 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
368 $(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
369 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
371 $(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
372 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) /Ycwx/wxprec.h $**
374 $(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
375 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
377 $(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
378 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
380 $(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
381 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**