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 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)2
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 NETUTILSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \
33 -I..\..\src\net\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_NETUTILS -Hu \
34 -H=$(OBJS)\wxprec_netutilsdll.csm $(CPPFLAGS) $(CXXFLAGS)
35 NETUTILSDLL_OBJECTS = \
36 $(OBJS)\netutilsdll_dummy.obj \
37 $(OBJS)\netutilsdll_email.obj \
38 $(OBJS)\netutilsdll_smapi.obj \
39 $(OBJS)\netutilsdll_web.obj
40 NETUTILSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
41 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
42 $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \
43 -I..\..\src\net\..\..\include -Hu -H=$(OBJS)\wxprec_netutilslib.csm \
44 $(CPPFLAGS) $(CXXFLAGS)
45 NETUTILSLIB_OBJECTS = \
46 $(OBJS)\netutilslib_dummy.obj \
47 $(OBJS)\netutilslib_email.obj \
48 $(OBJS)\netutilslib_smapi.obj \
49 $(OBJS)\netutilslib_web.obj
51 ### Conditionally set variables: ###
53 !if "$(USE_GUI)" == "0"
56 !if "$(USE_GUI)" == "1"
59 !if "$(OFFICIAL_BUILD)" == "0"
60 VENDORTAG = _$(VENDOR)
62 !if "$(OFFICIAL_BUILD)" == "1"
65 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
68 !if "$(DEBUG_FLAG)" == "1"
71 !if "$(UNICODE)" == "1"
74 !if "$(WXUNIV)" == "1"
77 !if "$(SHARED)" == "1"
80 !if "$(SHARED)" == "1"
81 __netutilsdll___depname = \
82 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll
84 !if "$(RUNTIME_LIBS)" == "dynamic"
87 !if "$(RUNTIME_LIBS)" == "static"
90 !if "$(MONOLITHIC)" == "1"
92 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
94 !if "$(USE_GUI)" == "1"
95 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
97 !if "$(USE_GUI)" == "1"
98 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
100 !if "$(USE_GUI)" == "1"
101 __LIB_PNG_p = wxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
104 __UNICOWS_LIB_p = unicows.lib
106 !if "$(MONOLITHIC)" == "0"
108 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
110 !if "$(MONOLITHIC)" == "0"
112 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
114 !if "$(SHARED)" == "0"
115 __netutilslib___depname = \
116 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
118 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
121 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
124 !if "$(DEBUG_INFO)" == "0"
127 !if "$(DEBUG_INFO)" == "1"
130 !if "$(BUILD)" == "debug"
133 !if "$(BUILD)" == "release"
136 !if "$(RUNTIME_LIBS)" == "dynamic"
137 __RUNTIME_LIBS = -tWR
139 !if "$(RUNTIME_LIBS)" == "static"
142 !if "$(WXUNIV)" == "1"
143 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
145 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
146 __DEBUG_DEFINE_p = -D__WXDEBUG__
148 !if "$(DEBUG_FLAG)" == "1"
149 __DEBUG_DEFINE_p = -D__WXDEBUG__
151 !if "$(UNICODE)" == "1"
152 __UNICODE_DEFINE_p = -D_UNICODE
154 !if "$(SHARED)" == "0"
155 LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_lib$(CFG)
157 !if "$(SHARED)" == "1"
158 LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_dll$(CFG)
164 -if not exist $(OBJS) mkdir $(OBJS)
168 all: $(__netutilsdll___depname) $(__netutilslib___depname)
171 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
172 -if exist $(OBJS)\*.res del $(OBJS)\*.res
173 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll
174 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).tds
175 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilc
176 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ild
177 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ilf
178 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).ils
179 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
180 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
182 !if "$(SHARED)" == "1"
183 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS)
184 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
185 c0d32.obj $(NETUTILSDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
187 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils $@
190 !if "$(SHARED)" == "0"
191 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
193 tlib /a /p4096 $@ @&&|
194 $(NETUTILSLIB_OBJECTS)
198 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
199 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) -H $**
201 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
202 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
204 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
205 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
207 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
208 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
210 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
211 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) -H $**
213 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
214 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
216 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
217 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
219 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
220 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**