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