]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/net/makefile.gcc
removed src/gtk/eggtrayicon.h
[wxWidgets.git] / contrib / build / net / makefile.gcc
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7include ../../../build/msw/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15WX_RELEASE_NODOT = 25
16WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
17OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21NETUTILSDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
22 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
23 $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) -Wall \
24 -I..\..\src\net\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_NETUTILS \
25 $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
26NETUTILSDLL_OBJECTS = \
27 $(OBJS)\netutilsdll_dummy.o \
28 $(OBJS)\netutilsdll_email.o \
29 $(OBJS)\netutilsdll_smapi.o \
30 $(OBJS)\netutilsdll_web.o
31NETUTILSLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
32 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) -Wall \
34 -I..\..\src\net\..\..\include $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) \
35 $(CPPFLAGS) $(CXXFLAGS)
36NETUTILSLIB_OBJECTS = \
37 $(OBJS)\netutilslib_dummy.o \
38 $(OBJS)\netutilslib_email.o \
39 $(OBJS)\netutilslib_smapi.o \
40 $(OBJS)\netutilslib_web.o
41
42### Conditionally set variables: ###
43
44ifeq ($(GCC_VERSION),2.95)
45GCCFLAGS = -fvtable-thunks
46endif
47ifeq ($(USE_GUI),0)
48PORTNAME = base
49endif
50ifeq ($(USE_GUI),1)
51PORTNAME = msw
52endif
53ifeq ($(OFFICIAL_BUILD),0)
54VENDORTAG = _$(VENDOR)
55endif
56ifeq ($(OFFICIAL_BUILD),1)
57VENDORTAG =
58endif
59ifeq ($(BUILD),debug)
60ifeq ($(DEBUG_FLAG),default)
61WXDEBUGFLAG = d
62endif
63endif
64ifeq ($(DEBUG_FLAG),1)
65WXDEBUGFLAG = d
66endif
67ifeq ($(UNICODE),1)
68WXUNICODEFLAG = u
69endif
70ifeq ($(WXUNIV),1)
71WXUNIVNAME = univ
72endif
73ifeq ($(SHARED),1)
74WXDLLFLAG = dll
75endif
76ifeq ($(SHARED),1)
77__netutilsdll___depname = \
78 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG).dll
79endif
80ifeq ($(MONOLITHIC),1)
81__WXLIB_MONO_p = \
82 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
83endif
84ifeq ($(USE_GUI),1)
85__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
86endif
87ifeq ($(USE_GUI),1)
88__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
89endif
90ifeq ($(USE_GUI),1)
91__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
92endif
93ifeq ($(MSLU),1)
94__UNICOWS_LIB_p = -lunicows
95endif
96ifeq ($(MONOLITHIC),0)
97__WXLIB_CORE_p = \
98 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
99endif
100ifeq ($(MONOLITHIC),0)
101__WXLIB_BASE_p = \
102 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
103endif
104ifeq ($(SHARED),0)
105__netutilslib___depname = \
106 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a
107endif
108ifeq ($(BUILD),debug)
109ifeq ($(DEBUG_INFO),default)
110__DEBUGINFO = -g
111endif
112endif
113ifeq ($(BUILD),release)
114ifeq ($(DEBUG_INFO),default)
115__DEBUGINFO =
116endif
117endif
118ifeq ($(DEBUG_INFO),0)
119__DEBUGINFO =
120endif
121ifeq ($(DEBUG_INFO),1)
122__DEBUGINFO = -g
123endif
124ifeq ($(BUILD),debug)
125__OPTIMIZEFLAG = -O0
126endif
127ifeq ($(BUILD),release)
128__OPTIMIZEFLAG = -O2
129endif
130ifeq ($(USE_EXCEPTIONS),0)
131__EXCEPTIONSFLAG = -fno-rtti
132endif
133ifeq ($(USE_EXCEPTIONS),1)
134__EXCEPTIONSFLAG =
135endif
136ifeq ($(USE_EXCEPTIONS),0)
137__EXCEPTIONSFLAG_0 = -fno-exceptions
138endif
139ifeq ($(USE_EXCEPTIONS),1)
140__EXCEPTIONSFLAG_0 =
141endif
142ifeq ($(WXUNIV),1)
143__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
144endif
145ifeq ($(BUILD),debug)
146ifeq ($(DEBUG_FLAG),default)
147__DEBUG_DEFINE_p = -D__WXDEBUG__
148endif
149endif
150ifeq ($(DEBUG_FLAG),1)
151__DEBUG_DEFINE_p = -D__WXDEBUG__
152endif
153ifeq ($(UNICODE),1)
154__UNICODE_DEFINE_p = -D_UNICODE
155endif
156ifeq ($(SHARED),0)
157LIBDIRNAME = ..\..\src\net\..\..\..\lib\gcc_lib$(CFG)
158endif
159ifeq ($(SHARED),1)
160LIBDIRNAME = ..\..\src\net\..\..\..\lib\gcc_dll$(CFG)
161endif
162
163
164all: $(OBJS)
165$(OBJS):
166 -if not exist $(OBJS) mkdir $(OBJS)
167
168### Targets: ###
169
170all: $(__netutilsdll___depname) $(__netutilslib___depname)
171
172clean:
173 -if exist $(OBJS)\*.o del $(OBJS)\*.o
174 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG).dll
175 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a
176 -if exist $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a del $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a
177
178ifeq ($(SHARED),1)
179$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG).dll: $(NETUTILSDLL_OBJECTS)
180 $(CXX) -shared -o $@ $(NETUTILSDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--out-implib,$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.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)
181endif
182
183ifeq ($(SHARED),0)
184$(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a: $(NETUTILSLIB_OBJECTS)
185 if exist $@ del $@
186 ar rcu $@ $(NETUTILSLIB_OBJECTS)
187 ranlib $@
188endif
189
190$(OBJS)\netutilsdll_dummy.o: ../../src/net/../../../src/msw/dummy.cpp
191 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
192
193$(OBJS)\netutilsdll_email.o: ../../src/net/email.cpp
194 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
195
196$(OBJS)\netutilsdll_smapi.o: ../../src/net/smapi.cpp
197 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
198
199$(OBJS)\netutilsdll_web.o: ../../src/net/web.cpp
200 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
201
202$(OBJS)\netutilslib_dummy.o: ../../src/net/../../../src/msw/dummy.cpp
203 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
204
205$(OBJS)\netutilslib_email.o: ../../src/net/email.cpp
206 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
207
208$(OBJS)\netutilslib_smapi.o: ../../src/net/smapi.cpp
209 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
210
211$(OBJS)\netutilslib_web.o: ../../src/net/web.cpp
212 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
213
214.PHONY: all clean