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