]>
Commit | Line | Data |
---|---|---|
f3ac19c2 WS |
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 | # ========================================================================= | |
6 | ||
7 | !include <../../../build/msw/config.vc> | |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
c33fae85 | 15 | WX_RELEASE_NODOT = 25 |
ab921f5f | 16 | WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3 |
f3ac19c2 WS |
17 | OBJS = \ |
18 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
19 | SETUPHDIR = \ | |
20 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
21 | FOLDBARDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_4) /DWIN32 \ | |
22 | $(__DEBUGINFO_1) \ | |
c33fae85 | 23 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).pdb \ |
f3ac19c2 WS |
24 | $(____DEBUGRUNTIME_3_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
25 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
26 | /I..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /W4 \ | |
27 | /I..\..\src\foldbar\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_FOLDBAR \ | |
28 | $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \ | |
29 | /Fp"$(OBJS)\wxprec_foldbardll.pch" $(CPPFLAGS) $(CXXFLAGS) | |
30 | FOLDBARDLL_OBJECTS = \ | |
31 | $(OBJS)\foldbardll_dummy.obj \ | |
32 | $(OBJS)\foldbardll_captionbar.obj \ | |
33 | $(OBJS)\foldbardll_foldpanelbar.obj \ | |
34 | $(OBJS)\foldbardll_foldpanelitem.obj | |
35 | FOLDBARLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \ | |
36 | $(__DEBUGINFO_1) \ | |
c33fae85 | 37 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.pdb \ |
f3ac19c2 WS |
38 | $(____DEBUGRUNTIME_15_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ |
39 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
40 | /I..\..\src\foldbar\..\..\..\include /I$(SETUPHDIR) /W4 \ | |
41 | /I..\..\src\foldbar\..\..\include $(__EXCEPTIONSFLAG) \ | |
42 | $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_foldbarlib.pch" \ | |
43 | $(CPPFLAGS) $(CXXFLAGS) | |
44 | FOLDBARLIB_OBJECTS = \ | |
45 | $(OBJS)\foldbarlib_dummy.obj \ | |
46 | $(OBJS)\foldbarlib_captionbar.obj \ | |
47 | $(OBJS)\foldbarlib_foldpanelbar.obj \ | |
48 | $(OBJS)\foldbarlib_foldpanelitem.obj | |
49 | ||
50 | ### Conditionally set variables: ### | |
51 | ||
52 | !if "$(USE_GUI)" == "0" | |
53 | PORTNAME = base | |
54 | !endif | |
55 | !if "$(USE_GUI)" == "1" | |
56 | PORTNAME = msw | |
57 | !endif | |
58 | !if "$(OFFICIAL_BUILD)" == "0" | |
59 | VENDORTAG = _$(VENDOR) | |
60 | !endif | |
61 | !if "$(OFFICIAL_BUILD)" == "1" | |
62 | VENDORTAG = | |
63 | !endif | |
64 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
65 | WXDEBUGFLAG = d | |
66 | !endif | |
67 | !if "$(DEBUG_FLAG)" == "1" | |
68 | WXDEBUGFLAG = d | |
69 | !endif | |
70 | !if "$(UNICODE)" == "1" | |
71 | WXUNICODEFLAG = u | |
72 | !endif | |
73 | !if "$(WXUNIV)" == "1" | |
74 | WXUNIVNAME = univ | |
75 | !endif | |
76 | !if "$(SHARED)" == "1" | |
77 | WXDLLFLAG = dll | |
78 | !endif | |
dd65d8c8 RN |
79 | !if "$(MONOLITHIC)" == "0" |
80 | EXTRALIBS_FOR_BASE = | |
81 | !endif | |
82 | !if "$(MONOLITHIC)" == "1" | |
83 | EXTRALIBS_FOR_BASE = | |
84 | !endif | |
f3ac19c2 WS |
85 | !if "$(SHARED)" == "1" |
86 | __foldbardll___depname = \ | |
c33fae85 | 87 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll |
f3ac19c2 WS |
88 | !endif |
89 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
90 | __DEBUGINFO_2 = /DEBUG | |
91 | !endif | |
92 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
93 | __DEBUGINFO_2 = | |
94 | !endif | |
95 | !if "$(DEBUG_INFO)" == "0" | |
96 | __DEBUGINFO_2 = | |
97 | !endif | |
98 | !if "$(DEBUG_INFO)" == "1" | |
99 | __DEBUGINFO_2 = /DEBUG | |
100 | !endif | |
101 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
102 | ____DEBUGRUNTIME_3_p = | |
103 | !endif | |
104 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
105 | ____DEBUGRUNTIME_3_p = /D_DEBUG | |
106 | !endif | |
107 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
108 | ____DEBUGRUNTIME_3_p = $(____DEBUGINFO) | |
109 | !endif | |
110 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
111 | __DEBUGRUNTIME_4 = | |
112 | !endif | |
113 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
114 | __DEBUGRUNTIME_4 = d | |
115 | !endif | |
116 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
117 | __DEBUGRUNTIME_4 = $(__DEBUGINFO) | |
118 | !endif | |
119 | !if "$(MONOLITHIC)" == "1" | |
120 | __WXLIB_MONO_p = \ | |
c33fae85 | 121 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
f3ac19c2 WS |
122 | !endif |
123 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 124 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
f3ac19c2 WS |
125 | !endif |
126 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 127 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
f3ac19c2 WS |
128 | !endif |
129 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 130 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
f3ac19c2 WS |
131 | !endif |
132 | !if "$(MSLU)" == "1" | |
133 | __UNICOWS_LIB_p = unicows.lib | |
134 | !endif | |
135 | !if "$(MONOLITHIC)" == "0" | |
136 | __WXLIB_CORE_p = \ | |
c33fae85 | 137 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
f3ac19c2 WS |
138 | !endif |
139 | !if "$(MONOLITHIC)" == "0" | |
c33fae85 RN |
140 | __WXLIB_BASE_p = \ |
141 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
f3ac19c2 WS |
142 | !endif |
143 | !if "$(SHARED)" == "0" | |
144 | __foldbarlib___depname = \ | |
c33fae85 | 145 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib |
f3ac19c2 WS |
146 | !endif |
147 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
148 | ____DEBUGRUNTIME_15_p = | |
149 | !endif | |
150 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
151 | ____DEBUGRUNTIME_15_p = /D_DEBUG | |
152 | !endif | |
153 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
154 | ____DEBUGRUNTIME_15_p = $(____DEBUGINFO) | |
155 | !endif | |
156 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
157 | __DEBUGRUNTIME_16 = | |
158 | !endif | |
159 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
160 | __DEBUGRUNTIME_16 = d | |
161 | !endif | |
162 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
163 | __DEBUGRUNTIME_16 = $(__DEBUGINFO) | |
164 | !endif | |
165 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
166 | __DEBUGINFO_1 = /Zi | |
167 | !endif | |
168 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
169 | __DEBUGINFO_1 = | |
170 | !endif | |
171 | !if "$(DEBUG_INFO)" == "0" | |
172 | __DEBUGINFO_1 = | |
173 | !endif | |
174 | !if "$(DEBUG_INFO)" == "1" | |
175 | __DEBUGINFO_1 = /Zi | |
176 | !endif | |
177 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
178 | ____DEBUGINFO = /D_DEBUG | |
179 | !endif | |
180 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
181 | ____DEBUGINFO = | |
182 | !endif | |
183 | !if "$(DEBUG_INFO)" == "0" | |
184 | ____DEBUGINFO = | |
185 | !endif | |
186 | !if "$(DEBUG_INFO)" == "1" | |
187 | ____DEBUGINFO = /D_DEBUG | |
188 | !endif | |
189 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
190 | __DEBUGINFO = d | |
191 | !endif | |
192 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
193 | __DEBUGINFO = | |
194 | !endif | |
195 | !if "$(DEBUG_INFO)" == "0" | |
196 | __DEBUGINFO = | |
197 | !endif | |
198 | !if "$(DEBUG_INFO)" == "1" | |
199 | __DEBUGINFO = d | |
200 | !endif | |
201 | !if "$(BUILD)" == "debug" | |
202 | __OPTIMIZEFLAG = /Od | |
203 | !endif | |
204 | !if "$(BUILD)" == "release" | |
205 | __OPTIMIZEFLAG = /O2 | |
206 | !endif | |
207 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
208 | __RUNTIME_LIBS = D | |
209 | !endif | |
210 | !if "$(RUNTIME_LIBS)" == "static" | |
211 | __RUNTIME_LIBS = T | |
212 | !endif | |
213 | !if "$(USE_EXCEPTIONS)" == "0" | |
214 | __EXCEPTIONSFLAG = | |
215 | !endif | |
216 | !if "$(USE_EXCEPTIONS)" == "1" | |
217 | __EXCEPTIONSFLAG = /GR | |
218 | !endif | |
219 | !if "$(USE_EXCEPTIONS)" == "0" | |
220 | __EXCEPTIONSFLAG_0 = | |
221 | !endif | |
222 | !if "$(USE_EXCEPTIONS)" == "1" | |
223 | __EXCEPTIONSFLAG_0 = /GX | |
224 | !endif | |
225 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
226 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
227 | !endif | |
228 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
229 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
230 | !endif | |
231 | !if "$(WXUNIV)" == "1" | |
232 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
233 | !endif | |
234 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
235 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
236 | !endif | |
237 | !if "$(DEBUG_FLAG)" == "1" | |
238 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
239 | !endif | |
240 | !if "$(UNICODE)" == "1" | |
241 | __UNICODE_DEFINE_p = /D_UNICODE | |
242 | !endif | |
243 | !if "$(SHARED)" == "0" | |
244 | LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\vc_lib$(CFG) | |
245 | !endif | |
246 | !if "$(SHARED)" == "1" | |
247 | LIBDIRNAME = ..\..\src\foldbar\..\..\..\lib\vc_dll$(CFG) | |
248 | !endif | |
249 | ||
250 | ||
251 | all: $(OBJS) | |
252 | $(OBJS): | |
253 | -if not exist $(OBJS) mkdir $(OBJS) | |
254 | ||
255 | ### Targets: ### | |
256 | ||
257 | all: $(__foldbardll___depname) $(__foldbarlib___depname) | |
258 | ||
259 | clean: | |
260 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
261 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
c33fae85 RN |
262 | -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 |
263 | -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 | |
264 | -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 | |
265 | -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 | |
266 | -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 | |
f3ac19c2 WS |
267 | |
268 | !if "$(SHARED)" == "1" | |
c33fae85 | 269 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar_vc$(VENDORTAG).dll: $(OBJS)\foldbardll_dummy.obj $(FOLDBARDLL_OBJECTS) |
f3ac19c2 | 270 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_2) /LIBPATH:$(LIBDIRNAME) @<< |
dd65d8c8 | 271 | $(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 |
f3ac19c2 WS |
272 | << |
273 | !endif | |
274 | ||
275 | !if "$(SHARED)" == "0" | |
c33fae85 | 276 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_foldbar.lib: $(OBJS)\foldbarlib_dummy.obj $(FOLDBARLIB_OBJECTS) |
f3ac19c2 WS |
277 | if exist $@ del $@ |
278 | lib /NOLOGO /OUT:$@ @<< | |
279 | $(FOLDBARLIB_OBJECTS) | |
280 | << | |
281 | !endif | |
282 | ||
283 | $(OBJS)\foldbardll_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp | |
284 | $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) /Ycwx/wxprec.h $** | |
285 | ||
286 | $(OBJS)\foldbardll_captionbar.obj: ../../src/foldbar\captionbar.cpp | |
287 | $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $** | |
288 | ||
289 | $(OBJS)\foldbardll_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp | |
290 | $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $** | |
291 | ||
292 | $(OBJS)\foldbardll_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp | |
293 | $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARDLL_CXXFLAGS) $** | |
294 | ||
295 | $(OBJS)\foldbarlib_dummy.obj: ../../src/foldbar\..\..\..\src\msw\dummy.cpp | |
296 | $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) /Ycwx/wxprec.h $** | |
297 | ||
298 | $(OBJS)\foldbarlib_captionbar.obj: ../../src/foldbar\captionbar.cpp | |
299 | $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $** | |
300 | ||
301 | $(OBJS)\foldbarlib_foldpanelbar.obj: ../../src/foldbar\foldpanelbar.cpp | |
302 | $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $** | |
303 | ||
304 | $(OBJS)\foldbarlib_foldpanelitem.obj: ../../src/foldbar\foldpanelitem.cpp | |
305 | $(CXX) /c /nologo /TP /Fo$@ $(FOLDBARLIB_CXXFLAGS) $** |