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