1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (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)1
18 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
20 ..\..\src\foldbar\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
22 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
23 FOLDBARDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME) /DWIN32 \
25 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).pdb \
26 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
27 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
28 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
29 $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) \
30 /I..\..\src\foldbar\..\..\..\include /W4 /I..\..\src\foldbar\..\..\include \
31 /DWXUSINGDLL /DWXMAKINGDLL_FOLDBAR $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
32 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_foldbardll.pch" $(CPPFLAGS) $(CXXFLAGS)
33 FOLDBARDLL_OBJECTS = \
34 $(OBJS)\foldbardll_dummy.obj \
35 $(OBJS)\foldbardll_version.res \
36 $(OBJS)\foldbardll_captionbar.obj \
37 $(OBJS)\foldbardll_foldpanelbar.obj \
38 $(OBJS)\foldbardll_foldpanelitem.obj
39 FOLDBARLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \
41 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.pdb \
42 $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
43 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) \
44 $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
45 $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) \
46 /I..\..\src\foldbar\..\..\..\include /W4 /I..\..\src\foldbar\..\..\include \
47 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
48 /Fp"$(OBJS)\wxprec_foldbarlib.pch" $(CPPFLAGS) $(CXXFLAGS)
49 FOLDBARLIB_OBJECTS = \
50 $(OBJS)\foldbarlib_dummy.obj \
51 $(OBJS)\foldbarlib_captionbar.obj \
52 $(OBJS)\foldbarlib_foldpanelbar.obj \
53 $(OBJS)\foldbarlib_foldpanelitem.obj
55 ### Conditionally set variables: ###
57 !if "$(USE_GUI)" == "0"
60 !if "$(USE_GUI)" == "1"
63 !if "$(OFFICIAL_BUILD)" == "0"
64 VENDORTAG = _$(VENDOR)
66 !if "$(OFFICIAL_BUILD)" == "1"
69 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
72 !if "$(DEBUG_FLAG)" == "1"
75 !if "$(UNICODE)" == "1"
78 !if "$(WXUNIV)" == "1"
81 !if "$(TARGET_CPU)" == "amd64"
82 DIR_SUFFIX_CPU = _amd64
84 !if "$(TARGET_CPU)" == "amd64"
85 DIR_SUFFIX_CPU = _amd64
87 !if "$(TARGET_CPU)" == "ia64"
88 DIR_SUFFIX_CPU = _ia64
90 !if "$(TARGET_CPU)" == "ia64"
91 DIR_SUFFIX_CPU = _ia64
93 !if "$(SHARED)" == "1"
96 !if "$(SHARED)" == "0"
99 !if "$(SHARED)" == "1"
102 !if "$(TARGET_CPU)" == "amd64"
103 LINK_TARGET_CPU = /MACHINE:AMD64
105 !if "$(TARGET_CPU)" == "amd64"
106 LINK_TARGET_CPU = /MACHINE:AMD64
108 !if "$(TARGET_CPU)" == "ia64"
109 LINK_TARGET_CPU = /MACHINE:IA64
111 !if "$(TARGET_CPU)" == "ia64"
112 LINK_TARGET_CPU = /MACHINE:IA64
114 !if "$(MONOLITHIC)" == "0"
117 !if "$(MONOLITHIC)" == "1"
120 !if "$(SHARED)" == "1"
121 __foldbardll___depname = \
122 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll
124 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
125 __DEBUGINFO_2 = /DEBUG
127 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
130 !if "$(DEBUG_INFO)" == "0"
133 !if "$(DEBUG_INFO)" == "1"
134 __DEBUGINFO_2 = /DEBUG
136 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
137 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
139 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
140 ____DEBUGRUNTIME_3_p_1 =
142 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
143 ____DEBUGRUNTIME_3_p_1 =
145 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
146 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
148 !if "$(RUNTIME_LIBS)" == "dynamic"
151 !if "$(RUNTIME_LIBS)" == "static"
152 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
154 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
155 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
157 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
158 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
160 !if "$(WXUNIV)" == "1"
161 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
163 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
164 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
166 !if "$(DEBUG_FLAG)" == "1"
167 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
169 !if "$(USE_EXCEPTIONS)" == "0"
170 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
172 !if "$(USE_RTTI)" == "0"
173 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
175 !if "$(USE_THREADS)" == "0"
176 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
178 !if "$(UNICODE)" == "1"
179 __UNICODE_DEFINE_p_1 = /d _UNICODE
182 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
184 !if "$(USE_GDIPLUS)" == "1"
185 __GFXCTX_DEFINE_p_1 = /d wxUSE_GRAPHICS_CONTEXT=1
187 !if "$(MONOLITHIC)" == "1"
189 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
191 !if "$(USE_GUI)" == "1"
192 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
194 !if "$(USE_GUI)" == "1"
195 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
197 !if "$(USE_GUI)" == "1"
198 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
201 __UNICOWS_LIB_p = unicows.lib
203 !if "$(USE_GDIPLUS)" == "1"
204 __GDIPLUS_LIB_p = gdiplus.lib
206 !if "$(MONOLITHIC)" == "0"
208 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
210 !if "$(MONOLITHIC)" == "0"
212 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
214 !if "$(SHARED)" == "0"
215 __foldbarlib___depname = \
216 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
218 !if "$(RUNTIME_LIBS)" == "dynamic"
219 __RUNTIME_LIBS_22 = D
221 !if "$(RUNTIME_LIBS)" == "static"
222 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
224 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
227 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
230 !if "$(DEBUG_INFO)" == "0"
233 !if "$(DEBUG_INFO)" == "1"
236 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
237 ____DEBUGRUNTIME = /D_DEBUG
239 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
242 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
245 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
246 ____DEBUGRUNTIME = /D_DEBUG
248 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
251 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
254 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
257 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
260 !if "$(BUILD)" == "debug"
263 !if "$(BUILD)" == "release"
266 !if "$(USE_THREADS)" == "0"
269 !if "$(USE_THREADS)" == "1"
272 !if "$(USE_RTTI)" == "0"
275 !if "$(USE_RTTI)" == "1"
278 !if "$(USE_EXCEPTIONS)" == "0"
281 !if "$(USE_EXCEPTIONS)" == "1"
282 __EXCEPTIONSFLAG = /EHsc
284 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
285 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
287 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
288 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
290 !if "$(WXUNIV)" == "1"
291 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
293 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
294 __DEBUG_DEFINE_p = /D__WXDEBUG__
296 !if "$(DEBUG_FLAG)" == "1"
297 __DEBUG_DEFINE_p = /D__WXDEBUG__
299 !if "$(USE_EXCEPTIONS)" == "0"
300 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
302 !if "$(USE_RTTI)" == "0"
303 __RTTI_DEFINE_p = /DwxNO_RTTI
305 !if "$(USE_THREADS)" == "0"
306 __THREAD_DEFINE_p = /DwxNO_THREADS
308 !if "$(UNICODE)" == "1"
309 __UNICODE_DEFINE_p = /D_UNICODE
312 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
314 !if "$(USE_GDIPLUS)" == "1"
315 __GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
321 -if not exist $(OBJS) mkdir $(OBJS)
325 all: $(__foldbardll___depname) $(__foldbarlib___depname)
328 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
329 -if exist $(OBJS)\*.res del $(OBJS)\*.res
330 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
331 -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
332 -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
333 -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
334 -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
335 -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
337 !if "$(SHARED)" == "1"
338 $(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
339 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
340 $(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) $(__GDIPLUS_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 odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
344 !if "$(SHARED)" == "0"
345 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
347 link /LIB /NOLOGO /OUT:$@ @<<
348 $(FOLDBARLIB_OBJECTS)
352 $(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\common\dummy.cpp
353 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) /Ycwx/wxprec.h $**
355 $(OBJS)\foldbardll_version.res: ../../src/foldbar\..\..\..\src\msw\version.rc
356 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) $(__GFXCTX_DEFINE_p_1) /i $(SETUPHDIR) /i ..\..\src\foldbar\..\..\..\include /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG) $**
358 $(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
359 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
361 $(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
362 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
364 $(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
365 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
367 $(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\common\dummy.cpp
368 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) /Ycwx/wxprec.h $**
370 $(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
371 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
373 $(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
374 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
376 $(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
377 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**