]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/deprecated/makefile.gcc
unicode for mac fixes
[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 \
75a0a7b7
VS
18 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -DWXUSINGDLL \
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) \
75a0a7b7 23 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
15e8daec 24 -I..\..\src\deprecated\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_DEPRECATED \
75a0a7b7 25 -I..\..\src\deprecated $(CXXFLAGS)
15e8daec
VS
26DEPRECATEDDLL_OBJECTS = \
27 $(OBJS)\deprecateddll_dummy.o \
28 $(OBJS)\deprecateddll_prop.o \
29 $(OBJS)\deprecateddll_propform.o \
30 $(OBJS)\deprecateddll_proplist.o \
31 $(OBJS)\deprecateddll_resource.o \
32 $(OBJS)\deprecateddll_treelay.o \
33 $(OBJS)\deprecateddll_wxexpr.o \
34 $(OBJS)\deprecateddll_dosyacc.o
35DEPRECATEDLIB_CFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
36 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
37 $(__UNICODE_DEFINE_p) -I..\..\src\deprecated\..\..\..\include \
75a0a7b7
VS
38 -I$(SETUPHDIR) -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated \
39 $(CFLAGS)
15e8daec
VS
40DEPRECATEDLIB_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) \
41 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
42 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
75a0a7b7
VS
43 -I..\..\src\deprecated\..\..\..\include -I$(SETUPHDIR) \
44 -I..\..\src\deprecated\..\..\include -I..\..\src\deprecated $(CXXFLAGS)
15e8daec
VS
45DEPRECATEDLIB_OBJECTS = \
46 $(OBJS)\deprecatedlib_dummy.o \
47 $(OBJS)\deprecatedlib_prop.o \
48 $(OBJS)\deprecatedlib_propform.o \
49 $(OBJS)\deprecatedlib_proplist.o \
50 $(OBJS)\deprecatedlib_resource.o \
51 $(OBJS)\deprecatedlib_treelay.o \
52 $(OBJS)\deprecatedlib_wxexpr.o \
53 $(OBJS)\deprecatedlib_dosyacc.o
15e8daec
VS
54OBJS = \
55 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
56SETUPHDIR = \
57 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
15e8daec
VS
58
59### Conditionally set variables: ###
60
61ifeq ($(GCC_VERSION),2.95)
62GCCFLAGS = -fvtable-thunks
63endif
75a0a7b7
VS
64ifeq ($(SHARED),0)
65LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_lib$(CFG)
66endif
67ifeq ($(SHARED),1)
68LIBDIRNAME = ..\..\src\deprecated\..\..\..\lib\gcc_dll$(CFG)
69endif
15e8daec
VS
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
90ifeq ($(SHARED),1)
91WXDLLFLAG = dll
92endif
93ifeq ($(UNICODE),1)
94WXUNICODEFLAG = u
95endif
96ifeq ($(WXUNIV),1)
97WXUNIVNAME = univ
98endif
99ifeq ($(BUILD),debug)
100ifeq ($(DEBUG_INFO),default)
101__DEBUGINFO = -g
102endif
103endif
104ifeq ($(BUILD),release)
105ifeq ($(DEBUG_INFO),default)
106__DEBUGINFO =
107endif
108endif
109ifeq ($(DEBUG_INFO),0)
110__DEBUGINFO =
111endif
112ifeq ($(DEBUG_INFO),1)
113__DEBUGINFO = -g
114endif
115ifeq ($(BUILD),debug)
116ifeq ($(DEBUG_FLAG),default)
117__DEBUG_DEFINE_p = -D__WXDEBUG__
118endif
119endif
120ifeq ($(DEBUG_FLAG),1)
121__DEBUG_DEFINE_p = -D__WXDEBUG__
122endif
123ifeq ($(USE_GUI),1)
124__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
125endif
126ifeq ($(USE_GUI),1)
127__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
128endif
129ifeq ($(USE_GUI),1)
130__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
131endif
132ifeq ($(BUILD),debug)
133__OPTIMIZEFLAG = -O0
134endif
135ifeq ($(BUILD),release)
136__OPTIMIZEFLAG = -O2
137endif
138ifeq ($(UNICODE),1)
139__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
140endif
2265a2d5
VS
141ifeq ($(MSLU),1)
142__UNICOWS_LIB_p = -lunicows
143endif
15e8daec
VS
144ifeq ($(MONOLITHIC),0)
145__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
146endif
147ifeq ($(MONOLITHIC),0)
148__WXLIB_CORE_p = \
149 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
150endif
151ifeq ($(MONOLITHIC),1)
152__WXLIB_MONO_p = \
153 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
154endif
155ifeq ($(WXUNIV),1)
156__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
157endif
158ifeq ($(SHARED),1)
159__deprecateddll___depname = \
160 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll
161endif
162ifeq ($(SHARED),0)
163__deprecatedlib___depname = \
164 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
165endif
166
167
168all: $(OBJS)
169$(OBJS):
170 -if not exist $(OBJS) mkdir $(OBJS)
171
172### Targets: ###
173
174all: $(__deprecateddll___depname) $(__deprecatedlib___depname)
175
176$(OBJS)\deprecateddll_dosyacc.o: ../../src/deprecated\dosyacc.c
177 $(CC) -c -o $@ $(DEPRECATEDDLL_CFLAGS) $<
178
179$(OBJS)\deprecateddll_dummy.o: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
180 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
181
182$(OBJS)\deprecateddll_prop.o: ../../src/deprecated\prop.cpp
183 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
184
185$(OBJS)\deprecateddll_propform.o: ../../src/deprecated\propform.cpp
186 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
187
188$(OBJS)\deprecateddll_proplist.o: ../../src/deprecated\proplist.cpp
189 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
190
191$(OBJS)\deprecateddll_resource.o: ../../src/deprecated\resource.cpp
192 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
193
194$(OBJS)\deprecateddll_treelay.o: ../../src/deprecated\treelay.cpp
195 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
196
197$(OBJS)\deprecateddll_wxexpr.o: ../../src/deprecated\wxexpr.cpp
198 $(CXX) -c -o $@ $(DEPRECATEDDLL_CXXFLAGS) $<
199
200$(OBJS)\deprecatedlib_dosyacc.o: ../../src/deprecated\dosyacc.c
201 $(CC) -c -o $@ $(DEPRECATEDLIB_CFLAGS) $<
202
203$(OBJS)\deprecatedlib_dummy.o: ../../src/deprecated\..\..\..\src\msw\dummy.cpp
204 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
205
206$(OBJS)\deprecatedlib_prop.o: ../../src/deprecated\prop.cpp
207 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
208
209$(OBJS)\deprecatedlib_propform.o: ../../src/deprecated\propform.cpp
210 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
211
212$(OBJS)\deprecatedlib_proplist.o: ../../src/deprecated\proplist.cpp
213 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
214
215$(OBJS)\deprecatedlib_resource.o: ../../src/deprecated\resource.cpp
216 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
217
218$(OBJS)\deprecatedlib_treelay.o: ../../src/deprecated\treelay.cpp
219 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
220
221$(OBJS)\deprecatedlib_wxexpr.o: ../../src/deprecated\wxexpr.cpp
222 $(CXX) -c -o $@ $(DEPRECATEDLIB_CXXFLAGS) $<
223
224clean:
225 -if exist $(OBJS)\*.o del $(OBJS)\*.o
226 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll
227 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
228 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a
229
230ifeq ($(SHARED),1)
231$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated_gcc$(VENDORTAG).dll: $(DEPRECATEDDLL_OBJECTS)
2265a2d5 232 $(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
233endif
234
235ifeq ($(SHARED),0)
236$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated.a: $(DEPRECATEDLIB_OBJECTS)
237 if exist $@ del $@
238 ar rcu $@ $(DEPRECATEDLIB_OBJECTS)
239 ranlib $@
240endif
241
242.PHONY: all clean