]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.1 (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 | ||
15 | GIZMOSDLL_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) \ | |
16 | /DWIN32 $(__DEBUGINFO_2) \ | |
17 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).pdb \ | |
18 | $(____DEBUGRUNTIME_2_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ | |
19 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
20 | /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \ | |
21 | /I..\..\src\gizmos\..\..\include /DWXUSINGDLL /DWXMAKINGDLL_GIZMOS \ | |
22 | $(CXXFLAGS) $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" \ | |
23 | /Fp"$(OBJS)\wxprec_gizmosdll.pch" | |
24 | GIZMOSDLL_OBJECTS = \ | |
25 | $(OBJS)\gizmosdll_dummy.obj \ | |
26 | $(OBJS)\gizmosdll_dynamicsash.obj \ | |
27 | $(OBJS)\gizmosdll_editlbox.obj \ | |
28 | $(OBJS)\gizmosdll_ledctrl.obj \ | |
29 | $(OBJS)\gizmosdll_multicell.obj \ | |
30 | $(OBJS)\gizmosdll_splittree.obj \ | |
31 | $(OBJS)\gizmosdll_statpict.obj | |
32 | GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_15) \ | |
33 | /DWIN32 $(__DEBUGINFO_2) \ | |
34 | /Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.pdb \ | |
35 | $(____DEBUGRUNTIME_14_p) $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ \ | |
36 | $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \ | |
37 | /I..\..\src\gizmos\..\..\..\include /I$(SETUPHDIR) /W4 \ | |
38 | /I..\..\src\gizmos\..\..\include $(CXXFLAGS) $(__EXCEPTIONSFLAG) \ | |
39 | $(__EXCEPTIONSFLAG_0) /Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_gizmoslib.pch" | |
40 | GIZMOSLIB_OBJECTS = \ | |
41 | $(OBJS)\gizmoslib_dummy.obj \ | |
42 | $(OBJS)\gizmoslib_dynamicsash.obj \ | |
43 | $(OBJS)\gizmoslib_editlbox.obj \ | |
44 | $(OBJS)\gizmoslib_ledctrl.obj \ | |
45 | $(OBJS)\gizmoslib_multicell.obj \ | |
46 | $(OBJS)\gizmoslib_splittree.obj \ | |
47 | $(OBJS)\gizmoslib_statpict.obj | |
48 | OBJS = \ | |
49 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
50 | SETUPHDIR = \ | |
51 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
52 | ||
53 | ### Conditionally set variables: ### | |
54 | ||
55 | !if "$(SHARED)" == "0" | |
56 | LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_lib$(CFG) | |
57 | !endif | |
58 | !if "$(SHARED)" == "1" | |
59 | LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\vc_dll$(CFG) | |
60 | !endif | |
61 | !if "$(USE_GUI)" == "0" | |
62 | PORTNAME = base | |
63 | !endif | |
64 | !if "$(USE_GUI)" == "1" | |
65 | PORTNAME = msw | |
66 | !endif | |
67 | !if "$(OFFICIAL_BUILD)" == "0" | |
68 | VENDORTAG = _$(VENDOR) | |
69 | !endif | |
70 | !if "$(OFFICIAL_BUILD)" == "1" | |
71 | VENDORTAG = | |
72 | !endif | |
73 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
74 | WXDEBUGFLAG = d | |
75 | !endif | |
76 | !if "$(DEBUG_FLAG)" == "1" | |
77 | WXDEBUGFLAG = d | |
78 | !endif | |
79 | !if "$(SHARED)" == "1" | |
80 | WXDLLFLAG = dll | |
81 | !endif | |
82 | !if "$(UNICODE)" == "1" | |
83 | WXUNICODEFLAG = u | |
84 | !endif | |
85 | !if "$(WXUNIV)" == "1" | |
86 | WXUNIVNAME = univ | |
87 | !endif | |
88 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
89 | __DEBUGINFO = d | |
90 | !endif | |
91 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
92 | __DEBUGINFO = | |
93 | !endif | |
94 | !if "$(DEBUG_INFO)" == "0" | |
95 | __DEBUGINFO = | |
96 | !endif | |
97 | !if "$(DEBUG_INFO)" == "1" | |
98 | __DEBUGINFO = d | |
99 | !endif | |
100 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
101 | __DEBUGINFO_1 = /DEBUG | |
102 | !endif | |
103 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
104 | __DEBUGINFO_1 = | |
105 | !endif | |
106 | !if "$(DEBUG_INFO)" == "0" | |
107 | __DEBUGINFO_1 = | |
108 | !endif | |
109 | !if "$(DEBUG_INFO)" == "1" | |
110 | __DEBUGINFO_1 = /DEBUG | |
111 | !endif | |
112 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
113 | __DEBUGINFO_2 = /Zi | |
114 | !endif | |
115 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
116 | __DEBUGINFO_2 = | |
117 | !endif | |
118 | !if "$(DEBUG_INFO)" == "0" | |
119 | __DEBUGINFO_2 = | |
120 | !endif | |
121 | !if "$(DEBUG_INFO)" == "1" | |
122 | __DEBUGINFO_2 = /Zi | |
123 | !endif | |
124 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
125 | __DEBUGRUNTIME_15 = | |
126 | !endif | |
127 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
128 | __DEBUGRUNTIME_15 = d | |
129 | !endif | |
130 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
131 | __DEBUGRUNTIME_15 = $(__DEBUGINFO) | |
132 | !endif | |
133 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
134 | __DEBUGRUNTIME_3 = | |
135 | !endif | |
136 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
137 | __DEBUGRUNTIME_3 = d | |
138 | !endif | |
139 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
140 | __DEBUGRUNTIME_3 = $(__DEBUGINFO) | |
141 | !endif | |
142 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
143 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
144 | !endif | |
145 | !if "$(DEBUG_FLAG)" == "1" | |
146 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
147 | !endif | |
148 | !if "$(USE_EXCEPTIONS)" == "0" | |
149 | __EXCEPTIONSFLAG = | |
150 | !endif | |
151 | !if "$(USE_EXCEPTIONS)" == "1" | |
152 | __EXCEPTIONSFLAG = /GR | |
153 | !endif | |
154 | !if "$(USE_EXCEPTIONS)" == "0" | |
155 | __EXCEPTIONSFLAG_0 = | |
156 | !endif | |
157 | !if "$(USE_EXCEPTIONS)" == "1" | |
158 | __EXCEPTIONSFLAG_0 = /GX | |
159 | !endif | |
160 | !if "$(USE_GUI)" == "1" | |
161 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
162 | !endif | |
163 | !if "$(USE_GUI)" == "1" | |
164 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
165 | !endif | |
166 | !if "$(USE_GUI)" == "1" | |
167 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
168 | !endif | |
169 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
170 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
171 | !endif | |
172 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
173 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
174 | !endif | |
175 | !if "$(BUILD)" == "debug" | |
176 | __OPTIMIZEFLAG = /Od | |
177 | !endif | |
178 | !if "$(BUILD)" == "release" | |
179 | __OPTIMIZEFLAG = /O2 | |
180 | !endif | |
181 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
182 | __RUNTIME_LIBS = D | |
183 | !endif | |
184 | !if "$(RUNTIME_LIBS)" == "static" | |
185 | __RUNTIME_LIBS = T | |
186 | !endif | |
187 | !if "$(UNICODE)" == "1" | |
188 | __UNICODE_DEFINE_p = /D_UNICODE | |
189 | !endif | |
190 | !if "$(MSLU)" == "1" | |
191 | __UNICOWS_LIB_p = unicows.lib | |
192 | !endif | |
193 | !if "$(MONOLITHIC)" == "0" | |
194 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
195 | !endif | |
196 | !if "$(MONOLITHIC)" == "0" | |
197 | __WXLIB_CORE_p = \ | |
198 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
199 | !endif | |
200 | !if "$(MONOLITHIC)" == "1" | |
201 | __WXLIB_MONO_p = \ | |
202 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
203 | !endif | |
204 | !if "$(WXUNIV)" == "1" | |
205 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
206 | !endif | |
207 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
208 | ____DEBUGINFO = /D_DEBUG | |
209 | !endif | |
210 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
211 | ____DEBUGINFO = | |
212 | !endif | |
213 | !if "$(DEBUG_INFO)" == "0" | |
214 | ____DEBUGINFO = | |
215 | !endif | |
216 | !if "$(DEBUG_INFO)" == "1" | |
217 | ____DEBUGINFO = /D_DEBUG | |
218 | !endif | |
219 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
220 | ____DEBUGRUNTIME_14_p = | |
221 | !endif | |
222 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
223 | ____DEBUGRUNTIME_14_p = /D_DEBUG | |
224 | !endif | |
225 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
226 | ____DEBUGRUNTIME_14_p = $(____DEBUGINFO) | |
227 | !endif | |
228 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
229 | ____DEBUGRUNTIME_2_p = | |
230 | !endif | |
231 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
232 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
233 | !endif | |
234 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
235 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO) | |
236 | !endif | |
237 | !if "$(SHARED)" == "1" | |
238 | __gizmosdll___depname = \ | |
239 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll | |
240 | !endif | |
241 | !if "$(SHARED)" == "0" | |
242 | __gizmoslib___depname = \ | |
243 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib | |
244 | !endif | |
245 | ||
246 | ||
247 | all: $(OBJS) | |
248 | $(OBJS): | |
249 | -if not exist $(OBJS) mkdir $(OBJS) | |
250 | ||
251 | ### Targets: ### | |
252 | ||
253 | all: $(__gizmosdll___depname) $(__gizmoslib___depname) | |
254 | ||
255 | $(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp | |
256 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) /Ycwx/wxprec.h $** | |
257 | ||
258 | $(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp | |
259 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
260 | ||
261 | $(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp | |
262 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
263 | ||
264 | $(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp | |
265 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
266 | ||
267 | $(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp | |
268 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
269 | ||
270 | $(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp | |
271 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
272 | ||
273 | $(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp | |
274 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSDLL_CXXFLAGS) $** | |
275 | ||
276 | $(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp | |
277 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) /Ycwx/wxprec.h $** | |
278 | ||
279 | $(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp | |
280 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
281 | ||
282 | $(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp | |
283 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
284 | ||
285 | $(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp | |
286 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
287 | ||
288 | $(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp | |
289 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
290 | ||
291 | $(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp | |
292 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
293 | ||
294 | $(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp | |
295 | $(CXX) /c /nologo /TP /Fo$@ $(GIZMOSLIB_CXXFLAGS) $** | |
296 | ||
297 | clean: | |
298 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
299 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
300 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll | |
301 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).ilk del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).ilk | |
302 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).pdb del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).pdb | |
303 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib | |
304 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib | |
305 | ||
306 | !if "$(SHARED)" == "1" | |
307 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_vc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(GIZMOSDLL_OBJECTS) | |
308 | link /DLL /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) @<< | |
309 | $(GIZMOSDLL_OBJECTS) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) /IMPLIB:$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib | |
310 | << | |
311 | !endif | |
312 | ||
313 | !if "$(SHARED)" == "0" | |
314 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(GIZMOSLIB_OBJECTS) | |
315 | if exist $@ del $@ | |
316 | lib /NOLOGO /OUT:$@ @<< | |
317 | $(GIZMOSLIB_OBJECTS) | |
318 | << | |
319 | !endif |