]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
cf9b63b3 | 3 | # Bakefile 0.2.0 (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 |
4cbcfb73 VZ |
16 | WX_RELEASE_NODOT = 27 |
17 | WX_VERSION_NODOT = $(WX_RELEASE_NODOT)0 | |
b17c1746 DE |
18 | OBJS = \ |
19 | gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
b14abf14 | 20 | LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG) |
b17c1746 DE |
21 | SETUPHDIR = \ |
22 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
8c9f8f91 JS |
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) \ | |
2113bc77 | 26 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
cf9b63b3 | 27 | -I$(SETUPHDIR) -I..\..\src\gizmos\..\..\..\include -W -Wall \ |
8c9f8f91 JS |
28 | -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \ |
29 | $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \ | |
30 | $(CXXFLAGS) | |
3f55f5b8 VS |
31 | GIZMOSDLL_OBJECTS = \ |
32 | $(OBJS)\gizmosdll_dummy.o \ | |
8c9f8f91 | 33 | $(OBJS)\gizmosdll_version_rc.o \ |
3f55f5b8 VS |
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 \ | |
4818141b JS |
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) \ | |
2113bc77 | 43 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
cf9b63b3 | 44 | -I$(SETUPHDIR) -I..\..\src\gizmos\..\..\..\include -W -Wall \ |
4818141b JS |
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 | |
8c9f8f91 JS |
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) \ | |
2113bc77 | 55 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
cf9b63b3 | 56 | -I$(SETUPHDIR) -I..\..\src\gizmos\..\..\..\include -W -Wall \ |
8c9f8f91 JS |
57 | -I..\..\src\gizmos\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ |
58 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) | |
3f55f5b8 VS |
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 \ | |
4818141b JS |
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) \ | |
2113bc77 | 70 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
cf9b63b3 | 71 | -I$(SETUPHDIR) -I..\..\src\gizmos\..\..\..\include -W -Wall \ |
4818141b JS |
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 | |
250700e4 RD |
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) | |
3f55f5b8 VS |
96 | ifeq ($(DEBUG_FLAG),default) |
97 | WXDEBUGFLAG = d | |
98 | endif | |
99 | endif | |
100 | ifeq ($(DEBUG_FLAG),1) | |
250700e4 RD |
101 | WXDEBUGFLAG = d |
102 | endif | |
250700e4 RD |
103 | ifeq ($(UNICODE),1) |
104 | WXUNICODEFLAG = u | |
105 | endif | |
106 | ifeq ($(WXUNIV),1) | |
107 | WXUNIVNAME = univ | |
108 | endif | |
b17c1746 DE |
109 | ifeq ($(SHARED),1) |
110 | WXDLLFLAG = dll | |
111 | endif | |
b14abf14 JS |
112 | ifeq ($(SHARED),0) |
113 | LIBTYPE_SUFFIX = lib | |
114 | endif | |
115 | ifeq ($(SHARED),1) | |
116 | LIBTYPE_SUFFIX = dll | |
117 | endif | |
dd65d8c8 RN |
118 | ifeq ($(MONOLITHIC),0) |
119 | EXTRALIBS_FOR_BASE = | |
120 | endif | |
121 | ifeq ($(MONOLITHIC),1) | |
122 | EXTRALIBS_FOR_BASE = | |
123 | endif | |
b17c1746 DE |
124 | ifeq ($(SHARED),1) |
125 | __gizmosdll___depname = \ | |
4cbcfb73 | 126 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll |
4818141b JS |
127 | endif |
128 | ifeq ($(SHARED),1) | |
129 | ifeq ($(USE_XRC),1) | |
130 | __gizmos_xrcdll___depname = \ | |
4cbcfb73 | 131 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_gcc$(VENDORTAG).dll |
4818141b JS |
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 | |
21c6080d JS |
138 | ifeq ($(MONOLITHIC),0) |
139 | __WXLIB_XML_p = \ | |
140 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml | |
141 | endif | |
4818141b JS |
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 | |
b17c1746 | 151 | endif |
8c9f8f91 | 152 | ifeq ($(WXUNIV),1) |
4818141b | 153 | __WXUNIV_DEFINE_p_0 = --define __WXUNIVERSAL__ |
8c9f8f91 JS |
154 | endif |
155 | ifeq ($(BUILD),debug) | |
156 | ifeq ($(DEBUG_FLAG),default) | |
4818141b | 157 | __DEBUG_DEFINE_p_0 = --define __WXDEBUG__ |
8c9f8f91 JS |
158 | endif |
159 | endif | |
160 | ifeq ($(DEBUG_FLAG),1) | |
4818141b | 161 | __DEBUG_DEFINE_p_0 = --define __WXDEBUG__ |
8c9f8f91 JS |
162 | endif |
163 | ifeq ($(USE_EXCEPTIONS),0) | |
4818141b | 164 | __EXCEPTIONS_DEFINE_p_0 = --define wxNO_EXCEPTIONS |
8c9f8f91 JS |
165 | endif |
166 | ifeq ($(USE_RTTI),0) | |
4818141b | 167 | __RTTI_DEFINE_p_0 = --define wxNO_RTTI |
8c9f8f91 JS |
168 | endif |
169 | ifeq ($(USE_THREADS),0) | |
4818141b | 170 | __THREAD_DEFINE_p_0 = --define wxNO_THREADS |
8c9f8f91 JS |
171 | endif |
172 | ifeq ($(UNICODE),1) | |
4818141b | 173 | __UNICODE_DEFINE_p_0 = --define _UNICODE |
8c9f8f91 | 174 | endif |
2113bc77 MW |
175 | ifeq ($(MSLU),1) |
176 | __MSLU_DEFINE_p_0 = --define wxUSE_UNICODE_MSLU=1 | |
177 | endif | |
b17c1746 DE |
178 | ifeq ($(MONOLITHIC),1) |
179 | __WXLIB_MONO_p = \ | |
c33fae85 | 180 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) |
b17c1746 DE |
181 | endif |
182 | ifeq ($(USE_GUI),1) | |
9c2d002b | 183 | __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) |
b17c1746 DE |
184 | endif |
185 | ifeq ($(USE_GUI),1) | |
9c2d002b | 186 | __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) |
b17c1746 DE |
187 | endif |
188 | ifeq ($(USE_GUI),1) | |
9c2d002b | 189 | __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG) |
b17c1746 DE |
190 | endif |
191 | ifeq ($(MSLU),1) | |
192 | __UNICOWS_LIB_p = -lunicows | |
193 | endif | |
194 | ifeq ($(MONOLITHIC),0) | |
b17c1746 | 195 | __WXLIB_CORE_p = \ |
c33fae85 | 196 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core |
b17c1746 | 197 | endif |
4818141b JS |
198 | ifeq ($(MONOLITHIC),0) |
199 | __WXLIB_BASE_p = \ | |
200 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) | |
b17c1746 | 201 | endif |
250700e4 | 202 | ifeq ($(BUILD),debug) |
3f55f5b8 VS |
203 | ifeq ($(DEBUG_INFO),default) |
204 | __DEBUGINFO = -g | |
205 | endif | |
250700e4 RD |
206 | endif |
207 | ifeq ($(BUILD),release) | |
3f55f5b8 VS |
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 | |
250700e4 RD |
217 | endif |
218 | ifeq ($(BUILD),debug) | |
b17c1746 | 219 | __OPTIMIZEFLAG = -O0 |
3f55f5b8 | 220 | endif |
b17c1746 DE |
221 | ifeq ($(BUILD),release) |
222 | __OPTIMIZEFLAG = -O2 | |
250700e4 | 223 | endif |
8c9f8f91 JS |
224 | ifeq ($(USE_THREADS),0) |
225 | __THREADSFLAG = | |
a4ad36cd | 226 | endif |
8c9f8f91 JS |
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 = | |
a4ad36cd VS |
235 | endif |
236 | ifeq ($(USE_EXCEPTIONS),0) | |
8c9f8f91 | 237 | __EXCEPTIONSFLAG = -fno-exceptions |
a4ad36cd VS |
238 | endif |
239 | ifeq ($(USE_EXCEPTIONS),1) | |
8c9f8f91 | 240 | __EXCEPTIONSFLAG = |
a4ad36cd | 241 | endif |
b17c1746 DE |
242 | ifeq ($(WXUNIV),1) |
243 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
3f55f5b8 | 244 | endif |
250700e4 | 245 | ifeq ($(BUILD),debug) |
b17c1746 DE |
246 | ifeq ($(DEBUG_FLAG),default) |
247 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
250700e4 | 248 | endif |
b17c1746 DE |
249 | endif |
250 | ifeq ($(DEBUG_FLAG),1) | |
251 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
250700e4 | 252 | endif |
8c9f8f91 JS |
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 | |
250700e4 | 262 | ifeq ($(UNICODE),1) |
ec08d395 | 263 | __UNICODE_DEFINE_p = -D_UNICODE |
250700e4 | 264 | endif |
2113bc77 MW |
265 | ifeq ($(MSLU),1) |
266 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 | |
267 | endif | |
250700e4 RD |
268 | |
269 | ||
270 | all: $(OBJS) | |
271 | $(OBJS): | |
272 | -if not exist $(OBJS) mkdir $(OBJS) | |
273 | ||
274 | ### Targets: ### | |
275 | ||
4818141b | 276 | all: $(__gizmosdll___depname) $(__gizmos_xrcdll___depname) $(__gizmoslib___depname) $(__gizmos_xrclib___depname) |
250700e4 | 277 | |
b17c1746 DE |
278 | clean: |
279 | -if exist $(OBJS)\*.o del $(OBJS)\*.o | |
0d90d6ea | 280 | -if exist $(OBJS)\*.d del $(OBJS)\*.d |
4cbcfb73 | 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 |
c33fae85 | 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 |
4cbcfb73 | 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 |
4818141b | 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 |
c33fae85 | 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 |
4818141b JS |
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) | |
4cbcfb73 | 289 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS) $(OBJS)\gizmosdll_version_rc.o |
66b9f7f7 | 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) |
4818141b | 291 | endif |
b17c1746 DE |
292 | |
293 | ifeq ($(SHARED),1) | |
4818141b | 294 | ifeq ($(USE_XRC),1) |
4cbcfb73 | 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) |
66b9f7f7 | 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) |
4818141b | 297 | endif |
b17c1746 DE |
298 | endif |
299 | ||
300 | ifeq ($(SHARED),0) | |
c33fae85 | 301 | $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a: $(GIZMOSLIB_OBJECTS) |
b17c1746 DE |
302 | if exist $@ del $@ |
303 | ar rcu $@ $(GIZMOSLIB_OBJECTS) | |
304 | ranlib $@ | |
305 | endif | |
306 | ||
4818141b JS |
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 | ||
66b9f7f7 | 316 | $(OBJS)\gizmosdll_dummy.o: ../../src/gizmos/../../../src/common/dummy.cpp |
0d90d6ea | 317 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 318 | |
102d46f3 | 319 | $(OBJS)\gizmosdll_version_rc.o: ../../src/gizmos/../../../src/msw/version.rc |
cf9b63b3 | 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 $(SETUPHDIR) --include-dir ../../src/gizmos/../../../include --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG) |
8c9f8f91 | 321 | |
1c3a6972 | 322 | $(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp |
0d90d6ea | 323 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 324 | |
1c3a6972 | 325 | $(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos/editlbox.cpp |
0d90d6ea | 326 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 327 | |
1c3a6972 | 328 | $(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos/ledctrl.cpp |
0d90d6ea | 329 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 330 | |
1c3a6972 | 331 | $(OBJS)\gizmosdll_multicell.o: ../../src/gizmos/multicell.cpp |
0d90d6ea | 332 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 333 | |
1c3a6972 | 334 | $(OBJS)\gizmosdll_splittree.o: ../../src/gizmos/splittree.cpp |
0d90d6ea | 335 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 336 | |
1c3a6972 | 337 | $(OBJS)\gizmosdll_statpict.o: ../../src/gizmos/statpict.cpp |
0d90d6ea | 338 | $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 339 | |
66b9f7f7 | 340 | $(OBJS)\gizmos_xrcdll_dummy.o: ../../src/gizmos/../../../src/common/dummy.cpp |
0d90d6ea | 341 | $(CXX) -c -o $@ $(GIZMOS_XRCDLL_CXXFLAGS) $(CPPDEPS) $< |
4818141b JS |
342 | |
343 | $(OBJS)\gizmos_xrcdll_version_rc.o: ../../src/gizmos/../../../src/msw/version.rc | |
cf9b63b3 | 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 $(SETUPHDIR) --include-dir ../../src/gizmos/../../../include --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc_gcc$(VENDORTAG) |
4818141b JS |
345 | |
346 | $(OBJS)\gizmos_xrcdll_xh_statpict.o: ../../src/gizmos/xh_statpict.cpp | |
0d90d6ea | 347 | $(CXX) -c -o $@ $(GIZMOS_XRCDLL_CXXFLAGS) $(CPPDEPS) $< |
92c45b12 | 348 | |
66b9f7f7 | 349 | $(OBJS)\gizmoslib_dummy.o: ../../src/gizmos/../../../src/common/dummy.cpp |
0d90d6ea | 350 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 351 | |
1c3a6972 | 352 | $(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp |
0d90d6ea | 353 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 354 | |
1c3a6972 | 355 | $(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos/editlbox.cpp |
0d90d6ea | 356 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 357 | |
1c3a6972 | 358 | $(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos/ledctrl.cpp |
0d90d6ea | 359 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 360 | |
1c3a6972 | 361 | $(OBJS)\gizmoslib_multicell.o: ../../src/gizmos/multicell.cpp |
0d90d6ea | 362 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 363 | |
1c3a6972 | 364 | $(OBJS)\gizmoslib_splittree.o: ../../src/gizmos/splittree.cpp |
0d90d6ea | 365 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 366 | |
1c3a6972 | 367 | $(OBJS)\gizmoslib_statpict.o: ../../src/gizmos/statpict.cpp |
0d90d6ea | 368 | $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $(CPPDEPS) $< |
250700e4 | 369 | |
66b9f7f7 | 370 | $(OBJS)\gizmos_xrclib_dummy.o: ../../src/gizmos/../../../src/common/dummy.cpp |
0d90d6ea | 371 | $(CXX) -c -o $@ $(GIZMOS_XRCLIB_CXXFLAGS) $(CPPDEPS) $< |
4818141b JS |
372 | |
373 | $(OBJS)\gizmos_xrclib_xh_statpict.o: ../../src/gizmos/xh_statpict.cpp | |
0d90d6ea | 374 | $(CXX) -c -o $@ $(GIZMOS_XRCLIB_CXXFLAGS) $(CPPDEPS) $< |
92c45b12 | 375 | |
250700e4 | 376 | .PHONY: all clean |
b14abf14 | 377 | |
8c9f8f91 | 378 | |
0d90d6ea JS |
379 | # Dependencies tracking: |
380 | -include $(OBJS)/*.d |