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