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