1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 FOLDBARDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \
21 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_vc$(VENDORTAG).pdb \
22 $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
23 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
24 /I..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /W4 \
25 /I..\..\src\foldbar\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_FOLDBAR \
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \
27 /Fp"$(OBJS)\wxprec_foldbardll.pch" $(CPPFLAGS) $(CXXFLAGS)
28 FOLDBARDLL_OBJECTS = \
29 $(OBJS)\foldbardll_dummy.obj \
30 $(OBJS)\foldbardll_captionbar.obj \
31 $(OBJS)\foldbardll_foldpanelbar.obj \
32 $(OBJS)\foldbardll_foldpanelitem.obj
33 FOLDBARLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
35 /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.pdb \
36 $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \
37 $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
38 /I..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /W4 \
39 /I..\..\src\foldbar\..\..\include $(__EXCEPTIONSFLAG) \
40 $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_foldbarlib.pch" \
41 $(CPPFLAGS) $(CXXFLAGS)
42 FOLDBARLIB_OBJECTS = \
43 $(OBJS)\foldbarlib_dummy.obj \
44 $(OBJS)\foldbarlib_captionbar.obj \
45 $(OBJS)\foldbarlib_foldpanelbar.obj \
46 $(OBJS)\foldbarlib_foldpanelitem.obj
48 ### Conditionally set variables: ###
50 !if "$(USE_GUI)" == "0"
53 !if "$(USE_GUI)" == "1"
56 !if "$(OFFICIAL_BUILD)" == "0"
57 VENDORTAG = _$(VENDOR)
59 !if "$(OFFICIAL_BUILD)" == "1"
62 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
65 !if "$(DEBUG_FLAG)" == "1"
68 !if "$(UNICODE)" == "1"
71 !if "$(WXUNIV)" == "1"
74 !if "$(SHARED)" == "1"
77 !if "$(SHARED)" == "1"
78 __foldbardll___depname = \
79 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_vc$(VENDORTAG).dll
81 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
82 __DEBUGINFO_2 = /DEBUG
84 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
87 !if "$(DEBUG_INFO)" == "0"
90 !if "$(DEBUG_INFO)" == "1"
91 __DEBUGINFO_2 = /DEBUG
93 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
94 ____DEBUGRUNTIME_3_p =
96 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
97 ____DEBUGRUNTIME_3_p = /D_DEBUG
99 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
100 ____DEBUGRUNTIME_3_p = $(____DEBUGINFO)
102 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
105 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
108 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
109 __DEBUGRUNTIME_4 = $(__DEBUGINFO)
111 !if "$(MONOLITHIC)" == "1"
113 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
115 !if "$(USE_GUI)" == "1"
116 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
118 !if "$(USE_GUI)" == "1"
119 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
121 !if "$(USE_GUI)" == "1"
122 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
125 __UNICOWS_LIB_p = unicows.lib
127 !if "$(MONOLITHIC)" == "0"
129 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
131 !if "$(MONOLITHIC)" == "0"
132 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
134 !if "$(SHARED)" == "0"
135 __foldbarlib___depname = \
136 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.lib
138 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
139 ____DEBUGRUNTIME_15_p =
141 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
142 ____DEBUGRUNTIME_15_p = /D_DEBUG
144 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
145 ____DEBUGRUNTIME_15_p = $(____DEBUGINFO)
147 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
150 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
151 __DEBUGRUNTIME_16 = d
153 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
154 __DEBUGRUNTIME_16 = $(__DEBUGINFO)
156 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
159 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
162 !if "$(DEBUG_INFO)" == "0"
165 !if "$(DEBUG_INFO)" == "1"
168 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
169 ____DEBUGINFO = /D_DEBUG
171 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
174 !if "$(DEBUG_INFO)" == "0"
177 !if "$(DEBUG_INFO)" == "1"
178 ____DEBUGINFO = /D_DEBUG
180 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
183 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
186 !if "$(DEBUG_INFO)" == "0"
189 !if "$(DEBUG_INFO)" == "1"
192 !if "$(BUILD)" == "debug"
195 !if "$(BUILD)" == "release"
198 !if "$(RUNTIME_LIBS)" == "dynamic"
201 !if "$(RUNTIME_LIBS)" == "static"
204 !if "$(USE_EXCEPTIONS)" == "0"
207 !if "$(USE_EXCEPTIONS)" == "1"
208 __EXCEPTIONSFLAG = /GR
210 !if "$(USE_EXCEPTIONS)" == "0"
213 !if "$(USE_EXCEPTIONS)" == "1"
214 __EXCEPTIONSFLAG_0 = /GX
216 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
217 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
219 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
220 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
222 !if "$(WXUNIV)" == "1"
223 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
225 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
226 __DEBUG_DEFINE_p = /D__WXDEBUG__
228 !if "$(DEBUG_FLAG)" == "1"
229 __DEBUG_DEFINE_p = /D__WXDEBUG__
231 !if "$(UNICODE)" == "1"
232 __UNICODE_DEFINE_p = /D_UNICODE
234 !if "$(SHARED)" == "0"
235 LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\vc_lib$(CFG)
237 !if "$(SHARED)" == "1"
238 LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\vc_dll$(CFG)
244 -if not exist $(OBJS) mkdir $(OBJS)
248 all: $(__foldbardll___depname) $(__foldbarlib___depname)
251 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
252 -if exist $(OBJS)\*.res del $(OBJS)\*.res
253 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_vc$(VENDORTAG).dll
254 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_vc$(VENDORTAG).ilk
255 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_vc$(VENDORTAG).pdb
256 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.lib
257 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.lib
259 !if "$(SHARED)" == "1"
260 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)252$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar_vc$(VENDORTAG).dll: $(OBJS)\foldbardll_dummy.obj $(FOLDBARDLL_OBJECTS)
261 link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<<
262 $(FOLDBARDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__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)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.lib
266 !if "$(SHARED)" == "0"
267 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS)
269 lib /NOLOGO /OUT:$@ @<<
270 $(FOLDBARLIB_OBJECTS)
274 $(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
275 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) /Ycwx/wxprec.h $**
277 $(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp
278 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
280 $(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
281 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
283 $(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
284 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $**
286 $(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp
287 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) /Ycwx/wxprec.h $**
289 $(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp
290 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
292 $(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp
293 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**
295 $(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp
296 $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $**