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