]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/gizmos/makefile.gcc
Add implementation for pure virtual method.
[wxWidgets.git] / contrib / build / gizmos / makefile.gcc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (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
c33fae85 15WX_RELEASE_NODOT = 25
b14abf14 16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
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)
9bfe7ad9 22GIZMOSDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
3f55f5b8 23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
b14abf14 24 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) -W \
ec08d395 25 -Wall -I..\..\src\gizmos\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS \
b14abf14
JS
26 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy \
27 $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
28GIZMOSDLL_OBJECTS = \
29 $(OBJS)\gizmosdll_dummy.o \
30 $(OBJS)\gizmosdll_dynamicsash.o \
31 $(OBJS)\gizmosdll_editlbox.o \
32 $(OBJS)\gizmosdll_ledctrl.o \
33 $(OBJS)\gizmosdll_multicell.o \
34 $(OBJS)\gizmosdll_splittree.o \
8151e997 35 $(OBJS)\gizmosdll_statpict.o
9bfe7ad9 36GIZMOSLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
3f55f5b8 37 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
b14abf14 38 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include -I$(SETUPHDIR) -W \
9bfe7ad9 39 -Wall -I..\..\src\gizmos\..\..\include $(__EXCEPTIONSFLAG) \
b14abf14 40 $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
3f55f5b8
VS
41GIZMOSLIB_OBJECTS = \
42 $(OBJS)\gizmoslib_dummy.o \
43 $(OBJS)\gizmoslib_dynamicsash.o \
44 $(OBJS)\gizmoslib_editlbox.o \
45 $(OBJS)\gizmoslib_ledctrl.o \
46 $(OBJS)\gizmoslib_multicell.o \
47 $(OBJS)\gizmoslib_splittree.o \
8151e997 48 $(OBJS)\gizmoslib_statpict.o
250700e4
RD
49
50### Conditionally set variables: ###
51
52ifeq ($(GCC_VERSION),2.95)
53GCCFLAGS = -fvtable-thunks
54endif
55ifeq ($(USE_GUI),0)
56PORTNAME = base
57endif
58ifeq ($(USE_GUI),1)
59PORTNAME = msw
60endif
61ifeq ($(OFFICIAL_BUILD),0)
62VENDORTAG = _$(VENDOR)
63endif
64ifeq ($(OFFICIAL_BUILD),1)
65VENDORTAG =
66endif
67ifeq ($(BUILD),debug)
3f55f5b8
VS
68ifeq ($(DEBUG_FLAG),default)
69WXDEBUGFLAG = d
70endif
71endif
72ifeq ($(DEBUG_FLAG),1)
250700e4
RD
73WXDEBUGFLAG = d
74endif
250700e4
RD
75ifeq ($(UNICODE),1)
76WXUNICODEFLAG = u
77endif
78ifeq ($(WXUNIV),1)
79WXUNIVNAME = univ
80endif
b17c1746
DE
81ifeq ($(SHARED),1)
82WXDLLFLAG = dll
83endif
b14abf14
JS
84ifeq ($(SHARED),0)
85LIBTYPE_SUFFIX = lib
86endif
87ifeq ($(SHARED),1)
88LIBTYPE_SUFFIX = dll
89endif
dd65d8c8
RN
90ifeq ($(MONOLITHIC),0)
91EXTRALIBS_FOR_BASE =
92endif
93ifeq ($(MONOLITHIC),1)
94EXTRALIBS_FOR_BASE =
95endif
b17c1746
DE
96ifeq ($(SHARED),1)
97__gizmosdll___depname = \
c33fae85 98 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll
b17c1746
DE
99endif
100ifeq ($(MONOLITHIC),1)
101__WXLIB_MONO_p = \
c33fae85 102 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
b17c1746
DE
103endif
104ifeq ($(USE_GUI),1)
9c2d002b 105__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
b17c1746
DE
106endif
107ifeq ($(USE_GUI),1)
9c2d002b 108__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
b17c1746
DE
109endif
110ifeq ($(USE_GUI),1)
9c2d002b 111__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
b17c1746
DE
112endif
113ifeq ($(MSLU),1)
114__UNICOWS_LIB_p = -lunicows
115endif
116ifeq ($(MONOLITHIC),0)
c33fae85
RN
117__WXLIB_BASE_p = \
118 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
b17c1746
DE
119endif
120ifeq ($(MONOLITHIC),0)
121__WXLIB_CORE_p = \
c33fae85 122 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
b17c1746
DE
123endif
124ifeq ($(SHARED),0)
125__gizmoslib___depname = \
c33fae85 126 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a
b17c1746 127endif
250700e4 128ifeq ($(BUILD),debug)
3f55f5b8
VS
129ifeq ($(DEBUG_INFO),default)
130__DEBUGINFO = -g
131endif
250700e4
RD
132endif
133ifeq ($(BUILD),release)
3f55f5b8
VS
134ifeq ($(DEBUG_INFO),default)
135__DEBUGINFO =
136endif
137endif
138ifeq ($(DEBUG_INFO),0)
139__DEBUGINFO =
140endif
141ifeq ($(DEBUG_INFO),1)
142__DEBUGINFO = -g
250700e4
RD
143endif
144ifeq ($(BUILD),debug)
b17c1746 145__OPTIMIZEFLAG = -O0
3f55f5b8 146endif
b17c1746
DE
147ifeq ($(BUILD),release)
148__OPTIMIZEFLAG = -O2
250700e4 149endif
a4ad36cd
VS
150ifeq ($(USE_EXCEPTIONS),0)
151__EXCEPTIONSFLAG = -fno-rtti
152endif
153ifeq ($(USE_EXCEPTIONS),1)
154__EXCEPTIONSFLAG =
155endif
156ifeq ($(USE_EXCEPTIONS),0)
157__EXCEPTIONSFLAG_0 = -fno-exceptions
158endif
159ifeq ($(USE_EXCEPTIONS),1)
160__EXCEPTIONSFLAG_0 =
161endif
b17c1746
DE
162ifeq ($(WXUNIV),1)
163__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
3f55f5b8 164endif
250700e4 165ifeq ($(BUILD),debug)
b17c1746
DE
166ifeq ($(DEBUG_FLAG),default)
167__DEBUG_DEFINE_p = -D__WXDEBUG__
250700e4 168endif
b17c1746
DE
169endif
170ifeq ($(DEBUG_FLAG),1)
171__DEBUG_DEFINE_p = -D__WXDEBUG__
250700e4
RD
172endif
173ifeq ($(UNICODE),1)
ec08d395 174__UNICODE_DEFINE_p = -D_UNICODE
250700e4 175endif
250700e4
RD
176
177
178all: $(OBJS)
179$(OBJS):
180 -if not exist $(OBJS) mkdir $(OBJS)
181
182### Targets: ###
183
184all: $(__gizmosdll___depname) $(__gizmoslib___depname)
185
b17c1746
DE
186clean:
187 -if exist $(OBJS)\*.o del $(OBJS)\*.o
c33fae85
RN
188 -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
189 -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
190 -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
b17c1746
DE
191
192ifeq ($(SHARED),1)
c33fae85 193$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos_gcc$(VENDORTAG).dll: $(GIZMOSDLL_OBJECTS)
b14abf14 194 $(CXX) -shared -fPIC -o $@ $(GIZMOSDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -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_BASE_p) $(__WXLIB_CORE_p)
b17c1746
DE
195endif
196
197ifeq ($(SHARED),0)
c33fae85 198$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gizmos.a: $(GIZMOSLIB_OBJECTS)
b17c1746
DE
199 if exist $@ del $@
200 ar rcu $@ $(GIZMOSLIB_OBJECTS)
201 ranlib $@
202endif
203
1c3a6972 204$(OBJS)\gizmosdll_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
250700e4
RD
205 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
206
1c3a6972 207$(OBJS)\gizmosdll_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
250700e4
RD
208 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
209
1c3a6972 210$(OBJS)\gizmosdll_editlbox.o: ../../src/gizmos/editlbox.cpp
250700e4
RD
211 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
212
1c3a6972 213$(OBJS)\gizmosdll_ledctrl.o: ../../src/gizmos/ledctrl.cpp
250700e4
RD
214 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
215
1c3a6972 216$(OBJS)\gizmosdll_multicell.o: ../../src/gizmos/multicell.cpp
250700e4
RD
217 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
218
1c3a6972 219$(OBJS)\gizmosdll_splittree.o: ../../src/gizmos/splittree.cpp
250700e4
RD
220 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
221
1c3a6972 222$(OBJS)\gizmosdll_statpict.o: ../../src/gizmos/statpict.cpp
250700e4
RD
223 $(CXX) -c -o $@ $(GIZMOSDLL_CXXFLAGS) $<
224
1c3a6972 225$(OBJS)\gizmoslib_dummy.o: ../../src/gizmos/../../../src/msw/dummy.cpp
250700e4
RD
226 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
227
1c3a6972 228$(OBJS)\gizmoslib_dynamicsash.o: ../../src/gizmos/dynamicsash.cpp
250700e4
RD
229 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
230
1c3a6972 231$(OBJS)\gizmoslib_editlbox.o: ../../src/gizmos/editlbox.cpp
250700e4
RD
232 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
233
1c3a6972 234$(OBJS)\gizmoslib_ledctrl.o: ../../src/gizmos/ledctrl.cpp
250700e4
RD
235 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
236
1c3a6972 237$(OBJS)\gizmoslib_multicell.o: ../../src/gizmos/multicell.cpp
250700e4
RD
238 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
239
1c3a6972 240$(OBJS)\gizmoslib_splittree.o: ../../src/gizmos/splittree.cpp
250700e4
RD
241 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
242
1c3a6972 243$(OBJS)\gizmoslib_statpict.o: ../../src/gizmos/statpict.cpp
250700e4
RD
244 $(CXX) -c -o $@ $(GIZMOSLIB_CXXFLAGS) $<
245
250700e4 246.PHONY: all clean
b14abf14 247