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