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 # =========================================================================
7 include ../../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = ..\..\src\net\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
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
44 ### Conditionally set variables: ###
46 ifeq ($(GCC_VERSION),2.95)
47 GCCFLAGS = -fvtable-thunks
55 ifeq ($(OFFICIAL_BUILD),0)
56 VENDORTAG = _$(VENDOR)
58 ifeq ($(OFFICIAL_BUILD),1)
62 ifeq ($(DEBUG_FLAG),default)
66 ifeq ($(DEBUG_FLAG),1)
84 ifeq ($(MONOLITHIC),0)
87 ifeq ($(MONOLITHIC),1)
91 __netutilsdll___depname = \
92 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG).dll
94 ifeq ($(MONOLITHIC),1)
96 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
99 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
102 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
105 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
108 __UNICOWS_LIB_p = -lunicows
110 ifeq ($(MONOLITHIC),0)
112 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
114 ifeq ($(MONOLITHIC),0)
116 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
119 __netutilslib___depname = \
120 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a
122 ifeq ($(BUILD),debug)
123 ifeq ($(DEBUG_INFO),default)
127 ifeq ($(BUILD),release)
128 ifeq ($(DEBUG_INFO),default)
132 ifeq ($(DEBUG_INFO),0)
135 ifeq ($(DEBUG_INFO),1)
138 ifeq ($(BUILD),debug)
141 ifeq ($(BUILD),release)
144 ifeq ($(USE_EXCEPTIONS),0)
145 __EXCEPTIONSFLAG = -fno-rtti
147 ifeq ($(USE_EXCEPTIONS),1)
150 ifeq ($(USE_EXCEPTIONS),0)
151 __EXCEPTIONSFLAG_0 = -fno-exceptions
153 ifeq ($(USE_EXCEPTIONS),1)
157 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
159 ifeq ($(BUILD),debug)
160 ifeq ($(DEBUG_FLAG),default)
161 __DEBUG_DEFINE_p = -D__WXDEBUG__
164 ifeq ($(DEBUG_FLAG),1)
165 __DEBUG_DEFINE_p = -D__WXDEBUG__
168 __UNICODE_DEFINE_p = -D_UNICODE
174 -if not exist $(OBJS) mkdir $(OBJS)
178 all: $(__netutilsdll___depname) $(__netutilslib___depname)
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
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)
192 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a: $(NETUTILSLIB_OBJECTS)
194 ar rcu $@ $(NETUTILSLIB_OBJECTS)
198 $(OBJS)\netutilsdll_dummy.o: ../../src/net/../../../src/msw/dummy.cpp
199 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
201 $(OBJS)\netutilsdll_email.o: ../../src/net/email.cpp
202 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
204 $(OBJS)\netutilsdll_smapi.o: ../../src/net/smapi.cpp
205 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
207 $(OBJS)\netutilsdll_web.o: ../../src/net/web.cpp
208 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
210 $(OBJS)\netutilslib_dummy.o: ../../src/net/../../../src/msw/dummy.cpp
211 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
213 $(OBJS)\netutilslib_email.o: ../../src/net/email.cpp
214 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
216 $(OBJS)\netutilslib_smapi.o: ../../src/net/smapi.cpp
217 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
219 $(OBJS)\netutilslib_web.o: ../../src/net/web.cpp
220 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<