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)0
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) /I$(SETUPHDIR) /I..\..\src\foldbar\..\..\..\include /W4 \
30 /I..\..\src\foldbar\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_FOLDBAR \
31 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"wx/wxprec.h" \
32 /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) /I$(SETUPHDIR) /I..\..\src\foldbar\..\..\..\include /W4 \
46 /I..\..\src\foldbar\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
47 /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_foldbarlib.pch" $(CPPFLAGS) $(CXXFLAGS)
48 FOLDBARLIB_OBJECTS = \
49 $(OBJS)\foldbarlib_dummy.obj \
50 $(OBJS)\foldbarlib_captionbar.obj \
51 $(OBJS)\foldbarlib_foldpanelbar.obj \
52 $(OBJS)\foldbarlib_foldpanelitem.obj
54 ### Conditionally set variables: ###
56 !if "$(USE_GUI)" == "0"
59 !if "$(USE_GUI)" == "1"
62 !if "$(OFFICIAL_BUILD)" == "0"
63 VENDORTAG = _$(VENDOR)
65 !if "$(OFFICIAL_BUILD)" == "1"
68 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
71 !if "$(DEBUG_FLAG)" == "1"
74 !if "$(UNICODE)" == "1"
77 !if "$(WXUNIV)" == "1"
80 !if "$(TARGET_CPU)" == "amd64"
81 DIR_SUFFIX_CPU = _amd64
83 !if "$(TARGET_CPU)" == "amd64"
84 DIR_SUFFIX_CPU = _amd64
86 !if "$(TARGET_CPU)" == "ia64"
87 DIR_SUFFIX_CPU = _ia64
89 !if "$(TARGET_CPU)" == "ia64"
90 DIR_SUFFIX_CPU = _ia64
92 !if "$(SHARED)" == "1"
95 !if "$(SHARED)" == "0"
98 !if "$(SHARED)" == "1"
101 !if "$(TARGET_CPU)" == "amd64"
102 LINK_TARGET_CPU = /MACHINE:AMD64
104 !if "$(TARGET_CPU)" == "amd64"
105 LINK_TARGET_CPU = /MACHINE:AMD64
107 !if "$(TARGET_CPU)" == "ia64"
108 LINK_TARGET_CPU = /MACHINE:IA64
110 !if "$(TARGET_CPU)" == "ia64"
111 LINK_TARGET_CPU = /MACHINE:IA64
113 !if "$(MONOLITHIC)" == "0"
116 !if "$(MONOLITHIC)" == "1"
119 !if "$(SHARED)" == "1"
120 __foldbardll___depname = \
121 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll
123 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
124 __DEBUGINFO_2 = /DEBUG
126 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
129 !if "$(DEBUG_INFO)" == "0"
132 !if "$(DEBUG_INFO)" == "1"
133 __DEBUGINFO_2 = /DEBUG
135 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
136 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
138 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
139 ____DEBUGRUNTIME_3_p_1 =
141 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
142 ____DEBUGRUNTIME_3_p_1 =
144 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
145 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
147 !if "$(RUNTIME_LIBS)" == "dynamic"
150 !if "$(RUNTIME_LIBS)" == "static"
151 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
153 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
154 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
156 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
157 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
159 !if "$(WXUNIV)" == "1"
160 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
162 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
163 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
165 !if "$(DEBUG_FLAG)" == "1"
166 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
168 !if "$(USE_EXCEPTIONS)" == "0"
169 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
171 !if "$(USE_RTTI)" == "0"
172 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
174 !if "$(USE_THREADS)" == "0"
175 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
177 !if "$(UNICODE)" == "1"
178 __UNICODE_DEFINE_p_1 = /d _UNICODE
181 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
183 !if "$(MONOLITHIC)" == "1"
185 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
187 !if "$(USE_GUI)" == "1"
188 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
190 !if "$(USE_GUI)" == "1"
191 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
193 !if "$(USE_GUI)" == "1"
194 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
197 __UNICOWS_LIB_p = unicows.lib
199 !if "$(MONOLITHIC)" == "0"
201 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
203 !if "$(MONOLITHIC)" == "0"
205 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
207 !if "$(SHARED)" == "0"
208 __foldbarlib___depname = \
209 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
211 !if "$(RUNTIME_LIBS)" == "dynamic"
212 __RUNTIME_LIBS_22 = D
214 !if "$(RUNTIME_LIBS)" == "static"
215 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
217 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
220 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
223 !if "$(DEBUG_INFO)" == "0"
226 !if "$(DEBUG_INFO)" == "1"
229 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
230 ____DEBUGRUNTIME = /D_DEBUG
232 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
235 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
238 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
239 ____DEBUGRUNTIME = /D_DEBUG
241 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
244 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
247 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
250 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
253 !if "$(BUILD)" == "debug"
256 !if "$(BUILD)" == "release"
259 !if "$(USE_THREADS)" == "0"
262 !if "$(USE_THREADS)" == "1"
265 !if "$(USE_RTTI)" == "0"
268 !if "$(USE_RTTI)" == "1"
271 !if "$(USE_EXCEPTIONS)" == "0"
274 !if "$(USE_EXCEPTIONS)" == "1"
275 __EXCEPTIONSFLAG = /EHsc
277 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
278 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
280 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
281 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
283 !if "$(WXUNIV)" == "1"
284 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
286 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
287 __DEBUG_DEFINE_p = /D__WXDEBUG__
289 !if "$(DEBUG_FLAG)" == "1"
290 __DEBUG_DEFINE_p = /D__WXDEBUG__
292 !if "$(USE_EXCEPTIONS)" == "0"
293 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
295 !if "$(USE_RTTI)" == "0"
296 __RTTI_DEFINE_p = /DwxNO_RTTI
298 !if "$(USE_THREADS)" == "0"
299 __THREAD_DEFINE_p = /DwxNO_THREADS
301 !if "$(UNICODE)" == "1"
302 __UNICODE_DEFINE_p = /D_UNICODE
305 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
311 -if not exist $(OBJS) mkdir $(OBJS)
315 all: $(__foldbardll___depname) $(__foldbarlib___depname)
318 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
319 -if exist $(OBJS)\*.res del $(OBJS)\*.res
320 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
321 -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
322 -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
323 -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
324 -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
325 -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
327 !if "$(SHARED)" == "1"
328 $(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
329 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
330 $(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 odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
334 !if "$(SHARED)" == "0"
335 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
337 link /LIB /NOLOGO /OUT:$@ @<<
338 $(FOLDBARLIB_OBJECTS)
342 $(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\common\dummy.cpp
343 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) /Ycwx/wxprec.h $**
345 $(OBJS)\foldbardll_version.res: ../../src/foldbar\..\..\..\src\msw\version.rc
346 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 $(SETUPHDIR) /i ..\..\src\foldbar\..\..\..\include /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG) $**
348 $(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
349 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
351 $(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
352 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
354 $(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
355 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
357 $(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\common\dummy.cpp
358 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) /Ycwx/wxprec.h $**
360 $(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
361 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
363 $(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
364 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
366 $(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
367 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**