]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/gizmos/makefile.gcc
offset version by 1 to avoid having compatibility_version of 0.0.0 under Darwin:...
[wxWidgets.git] / contrib / build / gizmos / makefile.gcc
CommitLineData
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 7include ../../../build/msw/config.gcc
250700e4
RD
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
0d90d6ea 15CPPDEPS = -MT$@ -MF$@.d -MD
4818141b 16WX_RELEASE_NODOT = 26
b17c1746
DE
17OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 19LIBDIRNAME = ..\..\src\gizmos\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
20SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
8c9f8f91
JS
22GIZMOSDLL_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
30GIZMOSDLL_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
39GIZMOS_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)
47GIZMOS_XRCDLL_OBJECTS = \
48 $(OBJS)\gizmos_xrcdll_dummy.o \
49 $(OBJS)\gizmos_xrcdll_version_rc.o \
50 $(OBJS)\gizmos_xrcdll_xh_statpict.o
8c9f8f91
JS
51GIZMOSLIB_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
58GIZMOSLIB_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
66GIZMOS_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)
73GIZMOS_XRCLIB_OBJECTS = \
74 $(OBJS)\gizmos_xrclib_dummy.o \
75 $(OBJS)\gizmos_xrclib_xh_statpict.o
250700e4
RD
76
77### Conditionally set variables: ###
78
79ifeq ($(GCC_VERSION),2.95)
80GCCFLAGS = -fvtable-thunks
81endif
82ifeq ($(USE_GUI),0)
83PORTNAME = base
84endif
85ifeq ($(USE_GUI),1)
86PORTNAME = msw
87endif
88ifeq ($(OFFICIAL_BUILD),0)
89VENDORTAG = _$(VENDOR)
90endif
91ifeq ($(OFFICIAL_BUILD),1)
92VENDORTAG =
93endif
94ifeq ($(BUILD),debug)
3f55f5b8
VS
95ifeq ($(DEBUG_FLAG),default)
96WXDEBUGFLAG = d
97endif
98endif
99ifeq ($(DEBUG_FLAG),1)
250700e4
RD
100WXDEBUGFLAG = d
101endif
250700e4
RD
102ifeq ($(UNICODE),1)
103WXUNICODEFLAG = u
104endif
105ifeq ($(WXUNIV),1)
106WXUNIVNAME = univ
107endif
b17c1746
DE
108ifeq ($(SHARED),1)
109WXDLLFLAG = dll
110endif
b14abf14
JS
111ifeq ($(SHARED),0)
112LIBTYPE_SUFFIX = lib
113endif
114ifeq ($(SHARED),1)
115LIBTYPE_SUFFIX = dll
116endif
dd65d8c8
RN
117ifeq ($(MONOLITHIC),0)
118EXTRALIBS_FOR_BASE =
119endif
120ifeq ($(MONOLITHIC),1)
121EXTRALIBS_FOR_BASE =
122endif
b17c1746
DE
123ifeq ($(SHARED),1)
124__gizmosdll___depname = \
4818141b
JS
125 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll
126endif
127ifeq ($(SHARED),1)
128ifeq ($(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
131endif
132endif
133ifeq ($(MONOLITHIC),0)
134__WXLIB_XRC_p = \
135 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc
136endif
21c6080d
JS
137ifeq ($(MONOLITHIC),0)
138__WXLIB_XML_p = \
139 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
140endif
4818141b
JS
141ifeq ($(SHARED),0)
142__gizmoslib___depname = \
143 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a
144endif
145ifeq ($(SHARED),0)
146ifeq ($(USE_XRC),1)
147__gizmos_xrclib___depname = \
148 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_xrc.a
149endif
b17c1746 150endif
8c9f8f91 151ifeq ($(WXUNIV),1)
4818141b 152__WXUNIV_DEFINE_p_0 = --define __WXUNIVERSAL__
8c9f8f91
JS
153endif
154ifeq ($(BUILD),debug)
155ifeq ($(DEBUG_FLAG),default)
4818141b 156__DEBUG_DEFINE_p_0 = --define __WXDEBUG__
8c9f8f91
JS
157endif
158endif
159ifeq ($(DEBUG_FLAG),1)
4818141b 160__DEBUG_DEFINE_p_0 = --define __WXDEBUG__
8c9f8f91
JS
161endif
162ifeq ($(USE_EXCEPTIONS),0)
4818141b 163__EXCEPTIONS_DEFINE_p_0 = --define wxNO_EXCEPTIONS
8c9f8f91
JS
164endif
165ifeq ($(USE_RTTI),0)
4818141b 166__RTTI_DEFINE_p_0 = --define wxNO_RTTI
8c9f8f91
JS
167endif
168ifeq ($(USE_THREADS),0)
4818141b 169__THREAD_DEFINE_p_0 = --define wxNO_THREADS
8c9f8f91
JS
170endif
171ifeq ($(UNICODE),1)
4818141b 172__UNICODE_DEFINE_p_0 = --define _UNICODE
8c9f8f91 173endif
2113bc77
MW
174ifeq ($(MSLU),1)
175__MSLU_DEFINE_p_0 = --define wxUSE_UNICODE_MSLU=1
176endif
b17c1746
DE
177ifeq ($(MONOLITHIC),1)
178__WXLIB_MONO_p = \
c33fae85 179 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
b17c1746
DE
180endif
181ifeq ($(USE_GUI),1)
9c2d002b 182__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
b17c1746
DE
183endif
184ifeq ($(USE_GUI),1)
9c2d002b 185__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
b17c1746
DE
186endif
187ifeq ($(USE_GUI),1)
9c2d002b 188__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
b17c1746
DE
189endif
190ifeq ($(MSLU),1)
191__UNICOWS_LIB_p = -lunicows
192endif
193ifeq ($(MONOLITHIC),0)
b17c1746 194__WXLIB_CORE_p = \
c33fae85 195 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
b17c1746 196endif
4818141b
JS
197ifeq ($(MONOLITHIC),0)
198__WXLIB_BASE_p = \
199 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
b17c1746 200endif
250700e4 201ifeq ($(BUILD),debug)
3f55f5b8
VS
202ifeq ($(DEBUG_INFO),default)
203__DEBUGINFO = -g
204endif
250700e4
RD
205endif
206ifeq ($(BUILD),release)
3f55f5b8
VS
207ifeq ($(DEBUG_INFO),default)
208__DEBUGINFO =
209endif
210endif
211ifeq ($(DEBUG_INFO),0)
212__DEBUGINFO =
213endif
214ifeq ($(DEBUG_INFO),1)
215__DEBUGINFO = -g
250700e4
RD
216endif
217ifeq ($(BUILD),debug)
b17c1746 218__OPTIMIZEFLAG = -O0
3f55f5b8 219endif
b17c1746
DE
220ifeq ($(BUILD),release)
221__OPTIMIZEFLAG = -O2
250700e4 222endif
8c9f8f91
JS
223ifeq ($(USE_THREADS),0)
224__THREADSFLAG =
a4ad36cd 225endif
8c9f8f91
JS
226ifeq ($(USE_THREADS),1)
227__THREADSFLAG = -mthreads
228endif
229ifeq ($(USE_RTTI),0)
230__RTTIFLAG = -fno-rtti
231endif
232ifeq ($(USE_RTTI),1)
233__RTTIFLAG =
a4ad36cd
VS
234endif
235ifeq ($(USE_EXCEPTIONS),0)
8c9f8f91 236__EXCEPTIONSFLAG = -fno-exceptions
a4ad36cd
VS
237endif
238ifeq ($(USE_EXCEPTIONS),1)
8c9f8f91 239__EXCEPTIONSFLAG =
a4ad36cd 240endif
b17c1746
DE
241ifeq ($(WXUNIV),1)
242__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
3f55f5b8 243endif
250700e4 244ifeq ($(BUILD),debug)
b17c1746
DE
245ifeq ($(DEBUG_FLAG),default)
246__DEBUG_DEFINE_p = -D__WXDEBUG__
250700e4 247endif
b17c1746
DE
248endif
249ifeq ($(DEBUG_FLAG),1)
250__DEBUG_DEFINE_p = -D__WXDEBUG__
250700e4 251endif
8c9f8f91
JS
252ifeq ($(USE_EXCEPTIONS),0)
253__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
254endif
255ifeq ($(USE_RTTI),0)
256__RTTI_DEFINE_p = -DwxNO_RTTI
257endif
258ifeq ($(USE_THREADS),0)
259__THREAD_DEFINE_p = -DwxNO_THREADS
260endif
250700e4 261ifeq ($(UNICODE),1)
ec08d395 262__UNICODE_DEFINE_p = -D_UNICODE
250700e4 263endif
2113bc77
MW
264ifeq ($(MSLU),1)
265__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
266endif
250700e4
RD
267
268
269all: $(OBJS)
270$(OBJS):
271 -if not exist $(OBJS) mkdir $(OBJS)
272
273### Targets: ###
274
4818141b 275all: $(__gizmosdll___depname) $(__gizmos_xrcdll___depname) $(__gizmoslib___depname) $(__gizmos_xrclib___depname)
250700e4 276
b17c1746
DE
277clean:
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
287ifeq ($(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)
290endif
b17c1746
DE
291
292ifeq ($(SHARED),1)
4818141b
JS
293ifeq ($(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 296endif
b17c1746
DE
297endif
298
299ifeq ($(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 $@
304endif
305
4818141b
JS
306ifeq ($(SHARED),0)
307ifeq ($(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 $@
312endif
313endif
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