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