]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/deprecated/makefile.gcc
Elliptic arc fix for getting bounds
[wxWidgets.git] / contrib / build / deprecated / makefile.gcc
CommitLineData
15e8daec
VS
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
15e8daec
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
fd9f42b6 7include ../../../build/msw/config.gcc
15e8daec
VS
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\deprecated\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
20SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9 22DEPRECATEDDLL_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
15e8daec
VS
23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
b14abf14 25 -I$(SETUPHDIR) -W -Wall -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
9bfe7ad9
VS
26 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
27DEPRECATEDDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
28 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
29 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
b14abf14 30 -I$(SETUPHDIR) -W -Wall -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
9bfe7ad9 31 -DWXMAKINGDLL_DEPRECATED -I..\..\src\deprecated $(__EXCEPTIONSFLAG) \
b14abf14 32 $(__EXCEPTIONSFLAG_0) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
15e8daec
VS
33DEPRECATEDDLL_OBJECTS = \
34 $(OBJS)\deprecateddll_dummy.o \
35 $(OBJS)\deprecateddll_prop.o \
36 $(OBJS)\deprecateddll_propform.o \
37 $(OBJS)\deprecateddll_proplist.o \
38 $(OBJS)\deprecateddll_resource.o \
8a82c9ec 39 $(OBJS)\deprecateddll_tbarsmpl.o \
15e8daec
VS
40 $(OBJS)\deprecateddll_treelay.o \
41 $(OBJS)\deprecateddll_wxexpr.o \
42 $(OBJS)\deprecateddll_dosyacc.o
9bfe7ad9
VS
43DEPRECATEDLIB_CFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
44 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
45 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
b14abf14 46 -I$(SETUPHDIR) -W -Wall -I..\..\src\deprecated\..\..\include \
9bfe7ad9
VS
47 -I..\..\src\deprecated $(CPPFLAGS) $(CFLAGS)
48DEPRECATEDLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
15e8daec
VS
49 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
50 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
b14abf14 51 -I$(SETUPHDIR) -W -Wall -I..\..\src\deprecated\..\..\include \
9bfe7ad9 52 -I..\..\src\deprecated $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
b14abf14 53 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
15e8daec
VS
54DEPRECATEDLIB_OBJECTS = \
55 $(OBJS)\deprecatedlib_dummy.o \
56 $(OBJS)\deprecatedlib_prop.o \
57 $(OBJS)\deprecatedlib_propform.o \
58 $(OBJS)\deprecatedlib_proplist.o \
59 $(OBJS)\deprecatedlib_resource.o \
8a82c9ec 60 $(OBJS)\deprecatedlib_tbarsmpl.o \
15e8daec
VS
61 $(OBJS)\deprecatedlib_treelay.o \
62 $(OBJS)\deprecatedlib_wxexpr.o \
63 $(OBJS)\deprecatedlib_dosyacc.o
15e8daec
VS
64
65### Conditionally set variables: ###
66
67ifeq ($(GCC_VERSION),2.95)
68GCCFLAGS = -fvtable-thunks
69endif
70ifeq ($(USE_GUI),0)
71PORTNAME = base
72endif
73ifeq ($(USE_GUI),1)
74PORTNAME = msw
75endif
76ifeq ($(OFFICIAL_BUILD),0)
77VENDORTAG = _$(VENDOR)
78endif
79ifeq ($(OFFICIAL_BUILD),1)
80VENDORTAG =
81endif
82ifeq ($(BUILD),debug)
83ifeq ($(DEBUG_FLAG),default)
84WXDEBUGFLAG = d
85endif
86endif
87ifeq ($(DEBUG_FLAG),1)
88WXDEBUGFLAG = d
89endif
15e8daec
VS
90ifeq ($(UNICODE),1)
91WXUNICODEFLAG = u
92endif
93ifeq ($(WXUNIV),1)
94WXUNIVNAME = univ
95endif
b17c1746
DE
96ifeq ($(SHARED),1)
97WXDLLFLAG = dll
98endif
b14abf14
JS
99ifeq ($(SHARED),0)
100LIBTYPE_SUFFIX = lib
101endif
102ifeq ($(SHARED),1)
103LIBTYPE_SUFFIX = dll
104endif
dd65d8c8
RN
105ifeq ($(MONOLITHIC),0)
106EXTRALIBS_FOR_BASE =
107endif
108ifeq ($(MONOLITHIC),1)
109EXTRALIBS_FOR_BASE =
110endif
b17c1746
DE
111ifeq ($(SHARED),1)
112__deprecateddll___depname = \
c33fae85 113 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll
b17c1746
DE
114endif
115ifeq ($(MONOLITHIC),1)
116__WXLIB_MONO_p = \
c33fae85 117 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
b17c1746
DE
118endif
119ifeq ($(USE_GUI),1)
9c2d002b 120__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
b17c1746
DE
121endif
122ifeq ($(USE_GUI),1)
9c2d002b 123__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
b17c1746
DE
124endif
125ifeq ($(USE_GUI),1)
9c2d002b 126__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
b17c1746
DE
127endif
128ifeq ($(MSLU),1)
129__UNICOWS_LIB_p = -lunicows
130endif
131ifeq ($(MONOLITHIC),0)
132__WXLIB_CORE_p = \
c33fae85 133 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
b17c1746
DE
134endif
135ifeq ($(MONOLITHIC),0)
c33fae85
RN
136__WXLIB_BASE_p = \
137 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
b17c1746
DE
138endif
139ifeq ($(SHARED),0)
140__deprecatedlib___depname = \
c33fae85 141 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a
b17c1746 142endif
15e8daec
VS
143ifeq ($(BUILD),debug)
144ifeq ($(DEBUG_INFO),default)
145__DEBUGINFO = -g
146endif
147endif
148ifeq ($(BUILD),release)
149ifeq ($(DEBUG_INFO),default)
150__DEBUGINFO =
151endif
152endif
153ifeq ($(DEBUG_INFO),0)
154__DEBUGINFO =
155endif
156ifeq ($(DEBUG_INFO),1)
157__DEBUGINFO = -g
158endif
159ifeq ($(BUILD),debug)
b17c1746 160__OPTIMIZEFLAG = -O0
15e8daec 161endif
b17c1746
DE
162ifeq ($(BUILD),release)
163__OPTIMIZEFLAG = -O2
15e8daec 164endif
a4ad36cd
VS
165ifeq ($(USE_EXCEPTIONS),0)
166__EXCEPTIONSFLAG = -fno-rtti
167endif
168ifeq ($(USE_EXCEPTIONS),1)
169__EXCEPTIONSFLAG =
170endif
171ifeq ($(USE_EXCEPTIONS),0)
172__EXCEPTIONSFLAG_0 = -fno-exceptions
173endif
174ifeq ($(USE_EXCEPTIONS),1)
175__EXCEPTIONSFLAG_0 =
176endif
b17c1746
DE
177ifeq ($(WXUNIV),1)
178__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
15e8daec
VS
179endif
180ifeq ($(BUILD),debug)
b17c1746
DE
181ifeq ($(DEBUG_FLAG),default)
182__DEBUG_DEFINE_p = -D__WXDEBUG__
15e8daec 183endif
b17c1746
DE
184endif
185ifeq ($(DEBUG_FLAG),1)
186__DEBUG_DEFINE_p = -D__WXDEBUG__
15e8daec
VS
187endif
188ifeq ($(UNICODE),1)
ec08d395 189__UNICODE_DEFINE_p = -D_UNICODE
15e8daec 190endif
15e8daec
VS
191
192
193all: $(OBJS)
194$(OBJS):
195 -if not exist $(OBJS) mkdir $(OBJS)
196
197### Targets: ###
198
199all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
200
b17c1746
DE
201clean:
202 -if exist $(OBJS)\*.o del $(OBJS)\*.o
c33fae85
RN
203 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll
204 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a
205 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a
b17c1746
DE
206
207ifeq ($(SHARED),1)
c33fae85 208$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated_gcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS)
b14abf14 209 $(CXX) -shared -fPIC -o $@ $(DEPRECATEDDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.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)
b17c1746
DE
210endif
211
212ifeq ($(SHARED),0)
c33fae85 213$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.a: $(DEPRECATEDLIB_OBJECTS)
b17c1746
DE
214 if exist $@ del $@
215 ar rcu $@ $(DEPRECATEDLIB_OBJECTS)
216 ranlib $@
217endif
15e8daec 218
1c3a6972 219$(OBJS)\deprecateddll_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
15e8daec
VS
220 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
221
1c3a6972 222$(OBJS)\deprecateddll_prop.o: ../../src/deprecated/prop.cpp
15e8daec
VS
223 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
224
1c3a6972 225$(OBJS)\deprecateddll_propform.o: ../../src/deprecated/propform.cpp
15e8daec
VS
226 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
227
1c3a6972 228$(OBJS)\deprecateddll_proplist.o: ../../src/deprecated/proplist.cpp
15e8daec
VS
229 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
230
1c3a6972 231$(OBJS)\deprecateddll_resource.o: ../../src/deprecated/resource.cpp
15e8daec
VS
232 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
233
1c3a6972 234$(OBJS)\deprecateddll_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
8a82c9ec
JS
235 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
236
1c3a6972 237$(OBJS)\deprecateddll_treelay.o: ../../src/deprecated/treelay.cpp
15e8daec
VS
238 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
239
1c3a6972 240$(OBJS)\deprecateddll_wxexpr.o: ../../src/deprecated/wxexpr.cpp
15e8daec
VS
241 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
242
b17c1746
DE
243$(OBJS)\deprecateddll_dosyacc.o: ../../src/deprecated/dosyacc.c
244 $(CC) -c -o $@ $(DEPRECATEDDLL_CFLAGS) $<
15e8daec 245
1c3a6972 246$(OBJS)\deprecatedlib_dummy.o: ../../src/deprecated/../../../src/msw/dummy.cpp
15e8daec
VS
247 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
248
1c3a6972 249$(OBJS)\deprecatedlib_prop.o: ../../src/deprecated/prop.cpp
15e8daec
VS
250 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
251
1c3a6972 252$(OBJS)\deprecatedlib_propform.o: ../../src/deprecated/propform.cpp
15e8daec
VS
253 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
254
1c3a6972 255$(OBJS)\deprecatedlib_proplist.o: ../../src/deprecated/proplist.cpp
15e8daec
VS
256 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
257
1c3a6972 258$(OBJS)\deprecatedlib_resource.o: ../../src/deprecated/resource.cpp
15e8daec
VS
259 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
260
1c3a6972 261$(OBJS)\deprecatedlib_tbarsmpl.o: ../../src/deprecated/tbarsmpl.cpp
8a82c9ec
JS
262 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
263
1c3a6972 264$(OBJS)\deprecatedlib_treelay.o: ../../src/deprecated/treelay.cpp
15e8daec
VS
265 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
266
1c3a6972 267$(OBJS)\deprecatedlib_wxexpr.o: ../../src/deprecated/wxexpr.cpp
15e8daec
VS
268 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
269
b17c1746
DE
270$(OBJS)\deprecatedlib_dosyacc.o: ../../src/deprecated/dosyacc.c
271 $(CC) -c -o $@ $(DEPRECATEDLIB_CFLAGS) $<
15e8daec
VS
272
273.PHONY: all clean
b14abf14 274