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 # -------------------------------------------------------------------------
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 FOLDBARDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_9)$(__DEBUGRUNTIME_4) /DWIN32 \
23 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).pdb \
24 $(____DEBUGRUNTIME_3_p) $(__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\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_17) /DWIN32 \
39 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.pdb \
40 $(____DEBUGRUNTIME_16_p) $(__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\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
52 ### Conditionally set variables: ###
54 !if "$(USE_GUI)" == "0"
57 !if "$(USE_GUI)" == "1"
60 !if "$(OFFICIAL_BUILD)" == "0"
61 VENDORTAG = _$(VENDOR)
63 !if "$(OFFICIAL_BUILD)" == "1"
66 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
69 !if "$(DEBUG_FLAG)" == "1"
72 !if "$(UNICODE)" == "1"
75 !if "$(WXUNIV)" == "1"
78 !if "$(SHARED)" == "1"
81 !if "$(SHARED)" == "0"
84 !if "$(SHARED)" == "1"
87 !if "$(MONOLITHIC)" == "0"
90 !if "$(MONOLITHIC)" == "1"
93 !if "$(SHARED)" == "1"
94 __foldbardll___depname = \
95 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll
97 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
98 __DEBUGINFO_2 = /DEBUG
100 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
103 !if "$(DEBUG_INFO)" == "0"
106 !if "$(DEBUG_INFO)" == "1"
107 __DEBUGINFO_2 = /DEBUG
109 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
110 ____DEBUGRUNTIME_3_p =
112 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
113 ____DEBUGRUNTIME_3_p = /D_DEBUG
115 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
116 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
118 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
119 ____DEBUGRUNTIME_3_p_1 =
121 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
122 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
124 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
125 ____DEBUGRUNTIME_3_p_1 = $(____DEBUGINFO_3_p_1)
127 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
128 ____DEBUGINFO_3_p_1 = /d _DEBUG
130 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
131 ____DEBUGINFO_3_p_1 =
133 !if "$(DEBUG_INFO)" == "0"
134 ____DEBUGINFO_3_p_1 =
136 !if "$(DEBUG_INFO)" == "1"
137 ____DEBUGINFO_3_p_1 = /d _DEBUG
139 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
142 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
145 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
146 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
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
181 !if "$(MONOLITHIC)" == "1"
183 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
185 !if "$(USE_GUI)" == "1"
186 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
188 !if "$(USE_GUI)" == "1"
189 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
191 !if "$(USE_GUI)" == "1"
192 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
195 __UNICOWS_LIB_p = unicows.lib
197 !if "$(MONOLITHIC)" == "0"
199 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
201 !if "$(MONOLITHIC)" == "0"
203 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
205 !if "$(SHARED)" == "0"
206 __foldbarlib___depname = \
207 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
209 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
210 ____DEBUGRUNTIME_16_p =
212 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
213 ____DEBUGRUNTIME_16_p = /D_DEBUG
215 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
216 ____DEBUGRUNTIME_16_p = $(____DEBUGINFO)
218 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
221 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
222 __DEBUGRUNTIME_17 = d
224 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
225 __DEBUGRUNTIME_17 = $(__DEBUGINFO)
227 !if "$(RUNTIME_LIBS)" == "dynamic"
228 __RUNTIME_LIBS_22 = D
230 !if "$(RUNTIME_LIBS)" == "static"
231 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
233 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
236 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
239 !if "$(DEBUG_INFO)" == "0"
242 !if "$(DEBUG_INFO)" == "1"
245 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
246 ____DEBUGINFO = /D_DEBUG
248 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
251 !if "$(DEBUG_INFO)" == "0"
254 !if "$(DEBUG_INFO)" == "1"
255 ____DEBUGINFO = /D_DEBUG
257 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
260 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
263 !if "$(DEBUG_INFO)" == "0"
266 !if "$(DEBUG_INFO)" == "1"
269 !if "$(BUILD)" == "debug"
272 !if "$(BUILD)" == "release"
275 !if "$(USE_THREADS)" == "0"
278 !if "$(USE_THREADS)" == "1"
281 !if "$(USE_RTTI)" == "0"
284 !if "$(USE_RTTI)" == "1"
287 !if "$(USE_EXCEPTIONS)" == "0"
290 !if "$(USE_EXCEPTIONS)" == "1"
291 __EXCEPTIONSFLAG = /EHsc
293 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
294 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
296 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
297 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
299 !if "$(WXUNIV)" == "1"
300 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
302 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
303 __DEBUG_DEFINE_p = /D__WXDEBUG__
305 !if "$(DEBUG_FLAG)" == "1"
306 __DEBUG_DEFINE_p = /D__WXDEBUG__
308 !if "$(USE_EXCEPTIONS)" == "0"
309 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
311 !if "$(USE_RTTI)" == "0"
312 __RTTI_DEFINE_p = /DwxNO_RTTI
314 !if "$(USE_THREADS)" == "0"
315 __THREAD_DEFINE_p = /DwxNO_THREADS
317 !if "$(UNICODE)" == "1"
318 __UNICODE_DEFINE_p = /D_UNICODE
324 -if not exist $(OBJS) mkdir $(OBJS)
328 all: $(__foldbardll___depname) $(__foldbarlib___depname)
331 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
332 -if exist $(OBJS)\*.res del $(OBJS)\*.res
333 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
334 -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
335 -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
336 -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
337 -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
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
340 !if "$(SHARED)" == "1"
341 $(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
342 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
343 $(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
347 !if "$(SHARED)" == "0"
348 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
350 lib /NOLOGO /OUT:$@ @<<
351 $(FOLDBARLIB_OBJECTS)
355 $(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
356 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) /Ycwx/wxprec.h $**
358 $(OBJS)\foldbardll_version.res: ../../src/foldbar\..\..\..\src\msw\version.rc
359 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_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG) $**
361 $(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
362 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
364 $(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
365 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
367 $(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
368 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
370 $(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
371 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) /Ycwx/wxprec.h $**
373 $(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
374 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
376 $(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
377 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
379 $(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
380 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**