1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.9 (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..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /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..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /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)" == "IA64"
84 DIR_SUFFIX_CPU = _ia64
86 !if "$(SHARED)" == "1"
89 !if "$(SHARED)" == "0"
92 !if "$(SHARED)" == "1"
95 !if "$(TARGET_CPU)" == "AMD64"
96 LINK_TARGET_CPU = /MACHINE:AMD64
98 !if "$(TARGET_CPU)" == "IA64"
99 LINK_TARGET_CPU = /MACHINE:IA64
101 !if "$(MONOLITHIC)" == "0"
104 !if "$(MONOLITHIC)" == "1"
107 !if "$(SHARED)" == "1"
108 __foldbardll___depname = \
109 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll
111 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
112 __DEBUGINFO_2 = /DEBUG
114 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
117 !if "$(DEBUG_INFO)" == "0"
120 !if "$(DEBUG_INFO)" == "1"
121 __DEBUGINFO_2 = /DEBUG
123 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
124 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
126 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
127 ____DEBUGRUNTIME_3_p_1 =
129 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
130 ____DEBUGRUNTIME_3_p_1 =
132 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
133 ____DEBUGRUNTIME_3_p_1 = /d _DEBUG
135 !if "$(RUNTIME_LIBS)" == "dynamic"
138 !if "$(RUNTIME_LIBS)" == "static"
139 __RUNTIME_LIBS_9 = $(__THREADSFLAG)
141 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
142 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
144 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
145 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
147 !if "$(TARGET_CPU)" == "AMD64"
148 __RES_TARGET_CPU_p = /d WX_CPU_AMD64
150 !if "$(TARGET_CPU)" == "IA64"
151 __RES_TARGET_CPU_p = /d WX_CPU_IA64
153 !if "$(WXUNIV)" == "1"
154 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
156 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
157 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
159 !if "$(DEBUG_FLAG)" == "1"
160 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
162 !if "$(USE_EXCEPTIONS)" == "0"
163 __EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
165 !if "$(USE_RTTI)" == "0"
166 __RTTI_DEFINE_p_1 = /d wxNO_RTTI
168 !if "$(USE_THREADS)" == "0"
169 __THREAD_DEFINE_p_1 = /d wxNO_THREADS
171 !if "$(UNICODE)" == "1"
172 __UNICODE_DEFINE_p_1 = /d _UNICODE
175 __MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
177 !if "$(MONOLITHIC)" == "1"
179 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
181 !if "$(USE_GUI)" == "1"
182 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
184 !if "$(USE_GUI)" == "1"
185 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
187 !if "$(USE_GUI)" == "1"
188 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
191 __UNICOWS_LIB_p = unicows.lib
193 !if "$(MONOLITHIC)" == "0"
195 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
197 !if "$(MONOLITHIC)" == "0"
199 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
201 !if "$(SHARED)" == "0"
202 __foldbarlib___depname = \
203 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib
205 !if "$(RUNTIME_LIBS)" == "dynamic"
206 __RUNTIME_LIBS_22 = D
208 !if "$(RUNTIME_LIBS)" == "static"
209 __RUNTIME_LIBS_22 = $(__THREADSFLAG)
211 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
214 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
217 !if "$(DEBUG_INFO)" == "0"
220 !if "$(DEBUG_INFO)" == "1"
223 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
224 ____DEBUGRUNTIME = /D_DEBUG
226 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
229 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
232 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
233 ____DEBUGRUNTIME = /D_DEBUG
235 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
238 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
241 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
244 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
247 !if "$(BUILD)" == "debug"
250 !if "$(BUILD)" == "release"
253 !if "$(USE_THREADS)" == "0"
256 !if "$(USE_THREADS)" == "1"
259 !if "$(USE_RTTI)" == "0"
262 !if "$(USE_RTTI)" == "1"
265 !if "$(USE_EXCEPTIONS)" == "0"
268 !if "$(USE_EXCEPTIONS)" == "1"
269 __EXCEPTIONSFLAG = /EHsc
271 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
272 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
274 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
275 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
277 !if "$(WXUNIV)" == "1"
278 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
280 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
281 __DEBUG_DEFINE_p = /D__WXDEBUG__
283 !if "$(DEBUG_FLAG)" == "1"
284 __DEBUG_DEFINE_p = /D__WXDEBUG__
286 !if "$(USE_EXCEPTIONS)" == "0"
287 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
289 !if "$(USE_RTTI)" == "0"
290 __RTTI_DEFINE_p = /DwxNO_RTTI
292 !if "$(USE_THREADS)" == "0"
293 __THREAD_DEFINE_p = /DwxNO_THREADS
295 !if "$(UNICODE)" == "1"
296 __UNICODE_DEFINE_p = /D_UNICODE
299 __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
305 -if not exist $(OBJS) mkdir $(OBJS)
309 all: $(__foldbardll___depname) $(__foldbarlib___depname)
312 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
313 -if exist $(OBJS)\*.res del $(OBJS)\*.res
314 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
315 -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
316 -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
317 -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
318 -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
319 -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
321 !if "$(SHARED)" == "1"
322 $(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
323 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) @<<
324 $(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
328 !if "$(SHARED)" == "0"
329 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
331 link /LIB /NOLOGO /OUT:$@ @<<
332 $(FOLDBARLIB_OBJECTS)
336 $(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
337 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) /Ycwx/wxprec.h $**
339 $(OBJS)\foldbardll_version.res: ../../src/foldbar\..\..\..\src\msw\version.rc
340 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) $(__NO_VC_CRTDBG_p_1) $(__RES_TARGET_CPU_p) /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 ..\..\src\foldbar\..\..\..\include /i $(SETUPHDIR) /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG) $**
342 $(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
343 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
345 $(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
346 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
348 $(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
349 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
351 $(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
352 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) /Ycwx/wxprec.h $**
354 $(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
355 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
357 $(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
358 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
360 $(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
361 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**