]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.9 (http://bakefile.sourceforge.net) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | include ../../../build/msw/config.gcc | |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
15 | CPPDEPS = -MT$@ -MF$@.d -MD | |
16 | WX_RELEASE_NODOT = 27 | |
17 | WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0 | |
18 | OBJS = \ | |
19 | gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
20 | LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG) | |
21 | SETUPHDIR = \ | |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
23 | GIZMOSDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ | |
24 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
25 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
26 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
27 | -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) -W -Wall \ | |
28 | -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \ | |
29 | $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \ | |
30 | $(CXXFLAGS) | |
31 | GIZMOSDLL_OBJECTS = \ | |
32 | $(OBJS)\gizmosdll_dummy.o \ | |
33 | $(OBJS)\gizmosdll_version_rc.o \ | |
34 | $(OBJS)\gizmosdll_dynamicsash.o \ | |
35 | $(OBJS)\gizmosdll_editlbox.o \ | |
36 | $(OBJS)\gizmosdll_ledctrl.o \ | |
37 | $(OBJS)\gizmosdll_multicell.o \ | |
38 | $(OBJS)\gizmosdll_splittree.o \ | |
39 | $(OBJS)\gizmosdll_statpict.o | |
40 | GIZMOS_XRCDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ | |
41 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
42 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
43 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
44 | -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) -W -Wall \ | |
45 | -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS_XRC \ | |
46 | $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \ | |
47 | $(CXXFLAGS) | |
48 | GIZMOS_XRCDLL_OBJECTS = \ | |
49 | $(OBJS)\gizmos_xrcdll_dummy.o \ | |
50 | $(OBJS)\gizmos_xrcdll_version_rc.o \ | |
51 | $(OBJS)\gizmos_xrcdll_xh_statpict.o | |
52 | GIZMOSLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ | |
53 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
54 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
55 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
56 | -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) -W -Wall \ | |
57 | -I..\..\src\gizmos\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
58 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) | |
59 | GIZMOSLIB_OBJECTS = \ | |
60 | $(OBJS)\gizmoslib_dummy.o \ | |
61 | $(OBJS)\gizmoslib_dynamicsash.o \ | |
62 | $(OBJS)\gizmoslib_editlbox.o \ | |
63 | $(OBJS)\gizmoslib_ledctrl.o \ | |
64 | $(OBJS)\gizmoslib_multicell.o \ | |
65 | $(OBJS)\gizmoslib_splittree.o \ | |
66 | $(OBJS)\gizmoslib_statpict.o | |
67 | GIZMOS_XRCLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ | |
68 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
69 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
70 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ | |
71 | -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) -W -Wall \ | |
72 | -I..\..\src\gizmos\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
73 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) | |
74 | GIZMOS_XRCLIB_OBJECTS = \ | |
75 | $(OBJS)\gizmos_xrclib_dummy.o \ | |
76 | $(OBJS)\gizmos_xrclib_xh_statpict.o | |
77 | ||
78 | ### Conditionally set variables: ### | |
79 | ||
80 | ifeq ($(GCC_VERSION),2.95) | |
81 | GCCFLAGS = -fvtable-thunks | |
82 | endif | |
83 | ifeq ($(USE_GUI),0) | |
84 | PORTNAME = base | |
85 | endif | |
86 | ifeq ($(USE_GUI),1) | |
87 | PORTNAME = msw | |
88 | endif | |
89 | ifeq ($(OFFICIAL_BUILD),0) | |
90 | VENDORTAG = _$(VENDOR) | |
91 | endif | |
92 | ifeq ($(OFFICIAL_BUILD),1) | |
93 | VENDORTAG = | |
94 | endif | |
95 | ifeq ($(BUILD),debug) | |
96 | ifeq ($(DEBUG_FLAG),default) | |
97 | WXDEBUGFLAG = d | |
98 | endif | |
99 | endif | |
100 | ifeq ($(DEBUG_FLAG),1) | |
101 | WXDEBUGFLAG = d | |
102 | endif | |
103 | ifeq ($(UNICODE),1) | |
104 | WXUNICODEFLAG = u | |
105 | endif | |
106 | ifeq ($(WXUNIV),1) | |
107 | WXUNIVNAME = univ | |
108 | endif | |
109 | ifeq ($(SHARED),1) | |
110 | WXDLLFLAG = dll | |
111 | endif | |
112 | ifeq ($(SHARED),0) | |
113 | LIBTYPE_SUFFIX = lib | |
114 | endif | |
115 | ifeq ($(SHARED),1) | |
116 | LIBTYPE_SUFFIX = dll | |
117 | endif | |
118 | ifeq ($(MONOLITHIC),0) | |
119 | EXTRALIBS_FOR_BASE = | |
120 | endif | |
121 | ifeq ($(MONOLITHIC),1) | |
122 | EXTRALIBS_FOR_BASE = | |
123 | endif | |
124 | ifeq ($(SHARED),1) | |
125 | __gizmosdll___depname = \ | |
126 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll | |
127 | endif | |
128 | ifeq ($(SHARED),1) | |
129 | ifeq ($(USE_XRC),1) | |
130 | __gizmos_xrcdll___depname = \ | |
131 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_gcc$(VENDORTAG).dll | |
132 | endif | |
133 | endif | |
134 | ifeq ($(MONOLITHIC),0) | |
135 | __WXLIB_XRC_p = \ | |
136 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc | |
137 | endif | |
138 | ifeq ($(MONOLITHIC),0) | |
139 | __WXLIB_XML_p = \ | |
140 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml | |
141 | endif | |
142 | ifeq ($(SHARED),0) | |
143 | __gizmoslib___depname = \ | |
144 | $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a | |
145 | endif | |
146 | ifeq ($(SHARED),0) | |
147 | ifeq ($(USE_XRC),1) | |
148 | __gizmos_xrclib___depname = \ | |
149 | $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.a | |
150 | endif | |
151 | endif | |
152 | ifeq ($(WXUNIV),1) | |
153 | __WXUNIV_DEFINE_p_0 = --define __WXUNIVERSAL__ | |
154 | endif | |
155 | ifeq ($(BUILD),debug) | |
156 | ifeq ($(DEBUG_FLAG),default) | |
157 | __DEBUG_DEFINE_p_0 = --define __WXDEBUG__ | |
158 | endif | |
159 | endif | |
160 | ifeq ($(DEBUG_FLAG),1) | |
161 | __DEBUG_DEFINE_p_0 = --define __WXDEBUG__ | |
162 | endif | |
163 | ifeq ($(USE_EXCEPTIONS),0) | |
164 | __EXCEPTIONS_DEFINE_p_0 = --define wxNO_EXCEPTIONS | |
165 | endif | |
166 | ifeq ($(USE_RTTI),0) | |
167 | __RTTI_DEFINE_p_0 = --define wxNO_RTTI | |
168 | endif | |
169 | ifeq ($(USE_THREADS),0) | |
170 | __THREAD_DEFINE_p_0 = --define wxNO_THREADS | |
171 | endif | |
172 | ifeq ($(UNICODE),1) | |
173 | __UNICODE_DEFINE_p_0 = --define _UNICODE | |
174 | endif | |
175 | ifeq ($(MSLU),1) | |
176 | __MSLU_DEFINE_p_0 = --define wxUSE_UNICODE_MSLU=1 | |
177 | endif | |
178 | ifeq ($(MONOLITHIC),1) | |
179 | __WXLIB_MONO_p = \ | |
180 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) | |
181 | endif | |
182 | ifeq ($(USE_GUI),1) | |
183 | __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) | |
184 | endif | |
185 | ifeq ($(USE_GUI),1) | |
186 | __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) | |
187 | endif | |
188 | ifeq ($(USE_GUI),1) | |
189 | __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG) | |
190 | endif | |
191 | ifeq ($(MSLU),1) | |
192 | __UNICOWS_LIB_p = -lunicows | |
193 | endif | |
194 | ifeq ($(MONOLITHIC),0) | |
195 | __WXLIB_CORE_p = \ | |
196 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core | |
197 | endif | |
198 | ifeq ($(MONOLITHIC),0) | |
199 | __WXLIB_BASE_p = \ | |
200 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) | |
201 | endif | |
202 | ifeq ($(BUILD),debug) | |
203 | ifeq ($(DEBUG_INFO),default) | |
204 | __DEBUGINFO = -g | |
205 | endif | |
206 | endif | |
207 | ifeq ($(BUILD),release) | |
208 | ifeq ($(DEBUG_INFO),default) | |
209 | __DEBUGINFO = | |
210 | endif | |
211 | endif | |
212 | ifeq ($(DEBUG_INFO),0) | |
213 | __DEBUGINFO = | |
214 | endif | |
215 | ifeq ($(DEBUG_INFO),1) | |
216 | __DEBUGINFO = -g | |
217 | endif | |
218 | ifeq ($(BUILD),debug) | |
219 | __OPTIMIZEFLAG = -O0 | |
220 | endif | |
221 | ifeq ($(BUILD),release) | |
222 | __OPTIMIZEFLAG = -O2 | |
223 | endif | |
224 | ifeq ($(USE_THREADS),0) | |
225 | __THREADSFLAG = | |
226 | endif | |
227 | ifeq ($(USE_THREADS),1) | |
228 | __THREADSFLAG = -mthreads | |
229 | endif | |
230 | ifeq ($(USE_RTTI),0) | |
231 | __RTTIFLAG = -fno-rtti | |
232 | endif | |
233 | ifeq ($(USE_RTTI),1) | |
234 | __RTTIFLAG = | |
235 | endif | |
236 | ifeq ($(USE_EXCEPTIONS),0) | |
237 | __EXCEPTIONSFLAG = -fno-exceptions | |
238 | endif | |
239 | ifeq ($(USE_EXCEPTIONS),1) | |
240 | __EXCEPTIONSFLAG = | |
241 | endif | |
242 | ifeq ($(WXUNIV),1) | |
243 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
244 | endif | |
245 | ifeq ($(BUILD),debug) | |
246 | ifeq ($(DEBUG_FLAG),default) | |
247 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
248 | endif | |
249 | endif | |
250 | ifeq ($(DEBUG_FLAG),1) | |
251 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
252 | endif | |
253 | ifeq ($(USE_EXCEPTIONS),0) | |
254 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
255 | endif | |
256 | ifeq ($(USE_RTTI),0) | |
257 | __RTTI_DEFINE_p = -DwxNO_RTTI | |
258 | endif | |
259 | ifeq ($(USE_THREADS),0) | |
260 | __THREAD_DEFINE_p = -DwxNO_THREADS | |
261 | endif | |
262 | ifeq ($(UNICODE),1) | |
263 | __UNICODE_DEFINE_p = -D_UNICODE | |
264 | endif | |
265 | ifeq ($(MSLU),1) | |
266 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 | |
267 | endif | |
268 | ||
269 | ||
270 | all: $(OBJS) | |
271 | $(OBJS): | |
272 | -if not exist $(OBJS) mkdir $(OBJS) | |
273 | ||
274 | ### Targets: ### | |
275 | ||
276 | all: $(__gizmosdll___depname) $(__gizmos_xrcdll___depname) $(__gizmoslib___depname) $(__gizmos_xrclib___depname) | |
277 | ||
278 | clean: | |
279 | -if exist $(OBJS)\*.o del $(OBJS)\*.o | |
280 | -if exist $(OBJS)\*.d del $(OBJS)\*.d | |
281 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll | |
282 | -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a | |
283 | -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_gcc$(VENDORTAG).dll | |
284 | -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.a | |
285 | -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a | |
286 | -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.a | |
287 | ||
288 | ifeq ($(SHARED),1) | |
289 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_version_rc.o | |
290 | $(CXX) -shared -fPIC -o $@ $(GIZMOSDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) | |
291 | endif | |
292 | ||
293 | ifeq ($(SHARED),1) | |
294 | ifeq ($(USE_XRC),1) | |
295 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_gcc$(VENDORTAG).dll: $(GIZMOS_XRCDLL_OBJECTS) $(OBJS)\gizmos_xrcdll_version_rc.o $(__gizmosdll___depname) | |
296 | $(CXX) -shared -fPIC -o $@ $(GIZMOS_XRCDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.a $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) | |
297 | endif | |
298 | endif | |
299 | ||
300 | ifeq ($(SHARED),0) | |
301 | $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a: $(GIZMOSLIB_OBJECTS) | |
302 | if exist $@ del $@ | |
303 | ar rcu $@ $(GIZMOSLIB_OBJECTS) | |
304 | ranlib $@ | |
305 | endif | |
306 | ||
307 | ifeq ($(SHARED),0) | |
308 | ifeq ($(USE_XRC),1) | |
309 | $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.a: $(GIZMOS_XRCLIB_OBJECTS) | |
310 | if exist $@ del $@ | |
311 | ar rcu $@ $(GIZMOS_XRCLIB_OBJECTS) | |
312 | ranlib $@ | |
313 | endif | |
314 | endif | |
315 | ||
316 | $(OBJS)\gizmosdll_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp | |
317 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< | |
318 | ||
319 | $(OBJS)\gizmosdll_version_rc.o: ../../src/gizmos/../../../src/msw/version.rc | |
320 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) --include-dir ../../src/gizmos/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG) | |
321 | ||
322 | $(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp | |
323 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< | |
324 | ||
325 | $(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos/editlbox.cpp | |
326 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< | |
327 | ||
328 | $(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos/ledctrl.cpp | |
329 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< | |
330 | ||
331 | $(OBJS)\gizmosdll_multicell.o: ../../src/gizmos/multicell.cpp | |
332 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< | |
333 | ||
334 | $(OBJS)\gizmosdll_splittree.o: ../../src/gizmos/splittree.cpp | |
335 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< | |
336 | ||
337 | $(OBJS)\gizmosdll_statpict.o: ../../src/gizmos/statpict.cpp | |
338 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< | |
339 | ||
340 | $(OBJS)\gizmos_xrcdll_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp | |
341 | $(CXX) -c -o $@ $(GIZMOS_XRCDLL_CXXFLAGS) $(CPPDEPS) $< | |
342 | ||
343 | $(OBJS)\gizmos_xrcdll_version_rc.o: ../../src/gizmos/../../../src/msw/version.rc | |
344 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_0) $(__DEBUG_DEFINE_p_0) $(__EXCEPTIONS_DEFINE_p_0) $(__RTTI_DEFINE_p_0) $(__THREAD_DEFINE_p_0) $(__UNICODE_DEFINE_p_0) $(__MSLU_DEFINE_p_0) --include-dir ../../src/gizmos/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_gcc$(VENDORTAG) | |
345 | ||
346 | $(OBJS)\gizmos_xrcdll_xh_statpict.o: ../../src/gizmos/xh_statpict.cpp | |
347 | $(CXX) -c -o $@ $(GIZMOS_XRCDLL_CXXFLAGS) $(CPPDEPS) $< | |
348 | ||
349 | $(OBJS)\gizmoslib_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp | |
350 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< | |
351 | ||
352 | $(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp | |
353 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< | |
354 | ||
355 | $(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos/editlbox.cpp | |
356 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< | |
357 | ||
358 | $(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos/ledctrl.cpp | |
359 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< | |
360 | ||
361 | $(OBJS)\gizmoslib_multicell.o: ../../src/gizmos/multicell.cpp | |
362 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< | |
363 | ||
364 | $(OBJS)\gizmoslib_splittree.o: ../../src/gizmos/splittree.cpp | |
365 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< | |
366 | ||
367 | $(OBJS)\gizmoslib_statpict.o: ../../src/gizmos/statpict.cpp | |
368 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< | |
369 | ||
370 | $(OBJS)\gizmos_xrclib_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp | |
371 | $(CXX) -c -o $@ $(GIZMOS_XRCLIB_CXXFLAGS) $(CPPDEPS) $< | |
372 | ||
373 | $(OBJS)\gizmos_xrclib_xh_statpict.o: ../../src/gizmos/xh_statpict.cpp | |
374 | $(CXX) -c -o $@ $(GIZMOS_XRCLIB_CXXFLAGS) $(CPPDEPS) $< | |
375 | ||
376 | .PHONY: all clean | |
377 | ||
378 | ||
379 | # Dependencies tracking: | |
380 | -include $(OBJS)/*.d |