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 # =========================================================================
7 include ../../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)3
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 NETUTILSDLL_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)
26 NETUTILSDLL_OBJECTS = \
27 $(OBJS)\netutilsdll_dummy.o \
28 $(OBJS)\netutilsdll_email.o \
29 $(OBJS)\netutilsdll_smapi.o \
30 $(OBJS)\netutilsdll_web.o
31 NETUTILSLIB_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)
36 NETUTILSLIB_OBJECTS = \
37 $(OBJS)\netutilslib_dummy.o \
38 $(OBJS)\netutilslib_email.o \
39 $(OBJS)\netutilslib_smapi.o \
40 $(OBJS)\netutilslib_web.o
42 ### Conditionally set variables: ###
44 ifeq ($(GCC_VERSION),2.95)
45 GCCFLAGS = -fvtable-thunks
53 ifeq ($(OFFICIAL_BUILD),0)
54 VENDORTAG = _$(VENDOR)
56 ifeq ($(OFFICIAL_BUILD),1)
60 ifeq ($(DEBUG_FLAG),default)
64 ifeq ($(DEBUG_FLAG),1)
76 ifeq ($(MONOLITHIC),0)
79 ifeq ($(MONOLITHIC),1)
83 __netutilsdll___depname = \
84 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG).dll
86 ifeq ($(MONOLITHIC),1)
88 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
91 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
94 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
97 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
100 __UNICOWS_LIB_p = -lunicows
102 ifeq ($(MONOLITHIC),0)
104 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
106 ifeq ($(MONOLITHIC),0)
108 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
111 __netutilslib___depname = \
112 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a
114 ifeq ($(BUILD),debug)
115 ifeq ($(DEBUG_INFO),default)
119 ifeq ($(BUILD),release)
120 ifeq ($(DEBUG_INFO),default)
124 ifeq ($(DEBUG_INFO),0)
127 ifeq ($(DEBUG_INFO),1)
130 ifeq ($(BUILD),debug)
133 ifeq ($(BUILD),release)
136 ifeq ($(USE_EXCEPTIONS),0)
137 __EXCEPTIONSFLAG = -fno-rtti
139 ifeq ($(USE_EXCEPTIONS),1)
142 ifeq ($(USE_EXCEPTIONS),0)
143 __EXCEPTIONSFLAG_0 = -fno-exceptions
145 ifeq ($(USE_EXCEPTIONS),1)
149 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
151 ifeq ($(BUILD),debug)
152 ifeq ($(DEBUG_FLAG),default)
153 __DEBUG_DEFINE_p = -D__WXDEBUG__
156 ifeq ($(DEBUG_FLAG),1)
157 __DEBUG_DEFINE_p = -D__WXDEBUG__
160 __UNICODE_DEFINE_p = -D_UNICODE
163 LIBDIRNAME = ..\..\src\net\..\..\..\lib\gcc_lib$(CFG)
166 LIBDIRNAME = ..\..\src\net\..\..\..\lib\gcc_dll$(CFG)
172 -if not exist $(OBJS) mkdir $(OBJS)
176 all: $(__netutilsdll___depname) $(__netutilslib___depname)
179 -if exist $(OBJS)\*.o del $(OBJS)\*.o
180 -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
181 -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
182 -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 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_gcc$(VENDORTAG).dll: $(NETUTILSDLL_OBJECTS)
186 $(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) $(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)
190 $(LIBDIRNAME)\libwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.a: $(NETUTILSLIB_OBJECTS)
192 ar rcu $@ $(NETUTILSLIB_OBJECTS)
196 $(OBJS)\netutilsdll_dummy.o: ../../src/net/../../../src/msw/dummy.cpp
197 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
199 $(OBJS)\netutilsdll_email.o: ../../src/net/email.cpp
200 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
202 $(OBJS)\netutilsdll_smapi.o: ../../src/net/smapi.cpp
203 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
205 $(OBJS)\netutilsdll_web.o: ../../src/net/web.cpp
206 $(CXX) -c -o $@ $(NETUTILSDLL_CXXFLAGS) $<
208 $(OBJS)\netutilslib_dummy.o: ../../src/net/../../../src/msw/dummy.cpp
209 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
211 $(OBJS)\netutilslib_email.o: ../../src/net/email.cpp
212 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
214 $(OBJS)\netutilslib_smapi.o: ../../src/net/smapi.cpp
215 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<
217 $(OBJS)\netutilslib_web.o: ../../src/net/web.cpp
218 $(CXX) -c -o $@ $(NETUTILSLIB_CXXFLAGS) $<