1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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)4
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)$(__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) $(__UNICODE_DEFINE_p) \
27 /I..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /W4 \
28 /I..\..\src\foldbar\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_FOLDBAR \
29 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
30 /Fp"$(OBJS)\wxprec_foldbardll.pch" $(CPPFLAGS) $(CXXFLAGS)
31 FOLDBARDLL_OBJECTS = \
32 $(OBJS)\foldbardll_dummy.obj \
33 $(OBJS)\foldbardll_captionbar.obj \
34 $(OBJS)\foldbardll_foldpanelbar.obj \
35 $(OBJS)\foldbardll_foldpanelitem.obj
36 FOLDBARLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
38 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.pdb \
39 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
40 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
41 /I..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /W4 \
42 /I..\..\src\foldbar\..\..\include $(__EXCEPTIONSFLAG) \
43 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_foldbarlib.pch" \
44 $(CPPFLAGS) $(CXXFLAGS)
45 FOLDBARLIB_OBJECTS = \
46 $(OBJS)\foldbarlib_dummy.obj \
47 $(OBJS)\foldbarlib_captionbar.obj \
48 $(OBJS)\foldbarlib_foldpanelbar.obj \
49 $(OBJS)\foldbarlib_foldpanelitem.obj
51 ### Conditionally set variables: ###
53 !if "$(USE_GUI)" == "0"
56 !if "$(USE_GUI)" == "1"
59 !if "$(OFFICIAL_BUILD)" == "0"
60 VENDORTAG = _$(VENDOR)
62 !if "$(OFFICIAL_BUILD)" == "1"
65 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
68 !if "$(DEBUG_FLAG)" == "1"
71 !if "$(UNICODE)" == "1"
74 !if "$(WXUNIV)" == "1"
77 !if "$(SHARED)" == "1"
80 !if "$(SHARED)" == "0"
83 !if "$(SHARED)" == "1"
86 !if "$(MONOLITHIC)" == "0"
89 !if "$(MONOLITHIC)" == "1"
92 !if "$(SHARED)" == "1"
93 __foldbardll___depname = \
94 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll
96 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
97 __DEBUGINFO_2 = /DEBUG
99 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
102 !if "$(DEBUG_INFO)" == "0"
105 !if "$(DEBUG_INFO)" == "1"
106 __DEBUGINFO_2 = /DEBUG
108 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
109 ____DEBUGRUNTIME_3_p =
111 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
112 ____DEBUGRUNTIME_3_p = /D_DEBUG
114 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
115 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
117 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
120 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
123 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
124 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
126 !if "$(MONOLITHIC)" == "1"
128 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
130 !if "$(USE_GUI)" == "1"
131 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
133 !if "$(USE_GUI)" == "1"
134 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
136 !if "$(USE_GUI)" == "1"
137 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
140 __UNICOWS_LIB_p = unicows.lib
142 !if "$(MONOLITHIC)" == "0"
144 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
146 !if "$(MONOLITHIC)" == "0"
148 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
150 !if "$(SHARED)" == "0"
151 __foldbarlib___depname = \
152 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
154 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
155 ____DEBUGRUNTIME_15_p =
157 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
158 ____DEBUGRUNTIME_15_p = /D_DEBUG
160 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
161 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
163 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
166 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
167 __DEBUGRUNTIME_16 = d
169 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
170 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
172 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
175 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
178 !if "$(DEBUG_INFO)" == "0"
181 !if "$(DEBUG_INFO)" == "1"
184 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
185 ____DEBUGINFO = /D_DEBUG
187 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
190 !if "$(DEBUG_INFO)" == "0"
193 !if "$(DEBUG_INFO)" == "1"
194 ____DEBUGINFO = /D_DEBUG
196 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
199 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
202 !if "$(DEBUG_INFO)" == "0"
205 !if "$(DEBUG_INFO)" == "1"
208 !if "$(BUILD)" == "debug"
211 !if "$(BUILD)" == "release"
214 !if "$(RUNTIME_LIBS)" == "dynamic"
217 !if "$(RUNTIME_LIBS)" == "static"
220 !if "$(USE_EXCEPTIONS)" == "0"
223 !if "$(USE_EXCEPTIONS)" == "1"
224 __EXCEPTIONSFLAG = /GR
226 !if "$(USE_EXCEPTIONS)" == "0"
229 !if "$(USE_EXCEPTIONS)" == "1"
230 __EXCEPTIONSFLAG_0 = /GX
232 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
233 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
235 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
236 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
238 !if "$(WXUNIV)" == "1"
239 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
241 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
242 __DEBUG_DEFINE_p = /D__WXDEBUG__
244 !if "$(DEBUG_FLAG)" == "1"
245 __DEBUG_DEFINE_p = /D__WXDEBUG__
247 !if "$(UNICODE)" == "1"
248 __UNICODE_DEFINE_p = /D_UNICODE
254 -if not exist $(OBJS) mkdir $(OBJS)
258 all: $(__foldbardll___depname) $(__foldbarlib___depname)
261 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
262 -if exist $(OBJS)\*.res del $(OBJS)\*.res
263 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
264 -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
265 -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
266 -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
267 -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
268 -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
270 !if "$(SHARED)" == "1"
271 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll: $(OBJS)\foldbardll_dummy.obj $(FOLDBARDLL_OBJECTS)
272 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
273 $(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
277 !if "$(SHARED)" == "0"
278 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
280 lib /NOLOGO /OUT:$@ @<<
281 $(FOLDBARLIB_OBJECTS)
285 $(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
286 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) /Ycwx/wxprec.h $**
288 $(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
291 $(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
292 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
294 $(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
295 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
297 $(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
298 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) /Ycwx/wxprec.h $**
300 $(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
301 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
303 $(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
304 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
306 $(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
307 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**