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