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