1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 include ../../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
17 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = ..\..\src\net\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 NETUTILSDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
22 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
23 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
24 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
25 -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) -W -Wall \
26 -I..\..\src\net\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_NETUTILS \
27 $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy $(CPPFLAGS) \
29 NETUTILSDLL_OBJECTS = \
30 $(OBJS)\netutilsdll_dummy.o \
31 $(OBJS)\netutilsdll_version_rc.o \
32 $(OBJS)\netutilsdll_email.o \
33 $(OBJS)\netutilsdll_smapi.o \
34 $(OBJS)\netutilsdll_web.o
35 NETUTILSLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
36 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
37 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
38 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \
39 -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) -W -Wall \
40 -I..\..\src\net\..\..\include $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
41 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
42 NETUTILSLIB_OBJECTS = \
43 $(OBJS)\netutilslib_dummy.o \
44 $(OBJS)\netutilslib_email.o \
45 $(OBJS)\netutilslib_smapi.o \
46 $(OBJS)\netutilslib_web.o
48 ### Conditionally set variables: ###
50 ifeq ($(GCC_VERSION),2.95)
51 GCCFLAGS = -fvtable-thunks
59 ifeq ($(OFFICIAL_BUILD),0)
60 VENDORTAG = _$(VENDOR)
62 ifeq ($(OFFICIAL_BUILD),1)
66 ifeq ($(DEBUG_FLAG),default)
70 ifeq ($(DEBUG_FLAG),1)
88 ifeq ($(MONOLITHIC),0)
91 ifeq ($(MONOLITHIC),1)
95 __netutilsdll___depname = \
96 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG).dll
99 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
101 ifeq ($(BUILD),debug)
102 ifeq ($(DEBUG_FLAG),default)
103 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
106 ifeq ($(DEBUG_FLAG),1)
107 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
109 ifeq ($(USE_EXCEPTIONS),0)
110 __EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
113 __RTTI_DEFINE_p_1 = --define wxNO_RTTI
115 ifeq ($(USE_THREADS),0)
116 __THREAD_DEFINE_p_1 = --define wxNO_THREADS
119 __UNICODE_DEFINE_p_1 = --define _UNICODE
121 ifeq ($(MONOLITHIC),1)
123 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
126 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
129 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
132 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
135 __UNICOWS_LIB_p = -lunicows
137 ifeq ($(MONOLITHIC),0)
139 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
141 ifeq ($(MONOLITHIC),0)
143 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
146 __netutilslib___depname = \
147 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a
149 ifeq ($(BUILD),debug)
150 ifeq ($(DEBUG_INFO),default)
154 ifeq ($(BUILD),release)
155 ifeq ($(DEBUG_INFO),default)
159 ifeq ($(DEBUG_INFO),0)
162 ifeq ($(DEBUG_INFO),1)
165 ifeq ($(BUILD),debug)
168 ifeq ($(BUILD),release)
171 ifeq ($(USE_THREADS),0)
174 ifeq ($(USE_THREADS),1)
175 __THREADSFLAG = -mthreads
178 __RTTIFLAG = -fno-rtti
183 ifeq ($(USE_EXCEPTIONS),0)
184 __EXCEPTIONSFLAG = -fno-exceptions
186 ifeq ($(USE_EXCEPTIONS),1)
190 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
192 ifeq ($(BUILD),debug)
193 ifeq ($(DEBUG_FLAG),default)
194 __DEBUG_DEFINE_p = -D__WXDEBUG__
197 ifeq ($(DEBUG_FLAG),1)
198 __DEBUG_DEFINE_p = -D__WXDEBUG__
200 ifeq ($(USE_EXCEPTIONS),0)
201 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
204 __RTTI_DEFINE_p = -DwxNO_RTTI
206 ifeq ($(USE_THREADS),0)
207 __THREAD_DEFINE_p = -DwxNO_THREADS
210 __UNICODE_DEFINE_p = -D_UNICODE
216 -if not exist $(OBJS) mkdir $(OBJS)
220 all: $(__netutilsdll___depname) $(__netutilslib___depname)
223 -if exist $(OBJS)\*.o del $(OBJS)\*.o
224 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG).dll
225 -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
226 -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
229 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG).dll: $(NETUTILSDLL_OBJECTS) $(OBJS)\netutilsdll_version_rc.o
230 $(CXX) -shared -fPIC -o $@ $(NETUTILSDLL_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -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)
234 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a: $(NETUTILSLIB_OBJECTS)
236 ar rcu $@ $(NETUTILSLIB_OBJECTS)
240 $(OBJS)\netutilsdll_dummy.o: ../../src/net/../../../src/msw/dummy.cpp
241 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
243 $(OBJS)\netutilsdll_version_rc.o: ../../src/net/../../../src/msw/version.rc
244 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ../../src/net/../../../include --include-dir $(SETUPHDIR) --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG)
246 $(OBJS)\netutilsdll_email.o: ../../src/net/email.cpp
247 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
249 $(OBJS)\netutilsdll_smapi.o: ../../src/net/smapi.cpp
250 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
252 $(OBJS)\netutilsdll_web.o: ../../src/net/web.cpp
253 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
255 $(OBJS)\netutilslib_dummy.o: ../../src/net/../../../src/msw/dummy.cpp
256 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
258 $(OBJS)\netutilslib_email.o: ../../src/net/email.cpp
259 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
261 $(OBJS)\netutilslib_smapi.o: ../../src/net/smapi.cpp
262 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
264 $(OBJS)\netutilslib_web.o: ../../src/net/web.cpp
265 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<