1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.2 (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 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 NETUTILSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
30 $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \
31 -I..\..\src\net\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_NETUTILS -Hu \
32 -H=$(OBJS)\wxprec_netutilsdll.csm $(CPPFLAGS) $(CXXFLAGS)
33 NETUTILSDLL_OBJECTS = \
34 $(OBJS)\netutilsdll_dummy.obj \
35 $(OBJS)\netutilsdll_email.obj \
36 $(OBJS)\netutilsdll_smapi.obj \
37 $(OBJS)\netutilsdll_web.obj
38 NETUTILSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
39 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
40 $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \
41 -I..\..\src\net\..\..\include -Hu -H=$(OBJS)\wxprec_netutilslib.csm \
42 $(CPPFLAGS) $(CXXFLAGS)
43 NETUTILSLIB_OBJECTS = \
44 $(OBJS)\netutilslib_dummy.obj \
45 $(OBJS)\netutilslib_email.obj \
46 $(OBJS)\netutilslib_smapi.obj \
47 $(OBJS)\netutilslib_web.obj
49 ### Conditionally set variables: ###
51 !if "$(USE_GUI)" == "0"
54 !if "$(USE_GUI)" == "1"
57 !if "$(OFFICIAL_BUILD)" == "0"
58 VENDORTAG = _$(VENDOR)
60 !if "$(OFFICIAL_BUILD)" == "1"
63 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
66 !if "$(DEBUG_FLAG)" == "1"
69 !if "$(UNICODE)" == "1"
72 !if "$(WXUNIV)" == "1"
75 !if "$(SHARED)" == "1"
78 !if "$(SHARED)" == "1"
79 __netutilsdll___depname = \
80 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll
82 !if "$(RUNTIME_LIBS)" == "dynamic"
85 !if "$(RUNTIME_LIBS)" == "static"
88 !if "$(MONOLITHIC)" == "1"
90 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
92 !if "$(USE_GUI)" == "1"
93 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
95 !if "$(USE_GUI)" == "1"
96 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
98 !if "$(USE_GUI)" == "1"
99 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
102 __UNICOWS_LIB_p = unicows.lib
104 !if "$(MONOLITHIC)" == "0"
106 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
108 !if "$(MONOLITHIC)" == "0"
109 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
111 !if "$(SHARED)" == "0"
112 __netutilslib___depname = \
113 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
115 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
118 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
121 !if "$(DEBUG_INFO)" == "0"
124 !if "$(DEBUG_INFO)" == "1"
127 !if "$(BUILD)" == "debug"
130 !if "$(BUILD)" == "release"
133 !if "$(RUNTIME_LIBS)" == "dynamic"
134 __RUNTIME_LIBS = -tWR
136 !if "$(RUNTIME_LIBS)" == "static"
139 !if "$(WXUNIV)" == "1"
140 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
142 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
143 __DEBUG_DEFINE_p = -D__WXDEBUG__
145 !if "$(DEBUG_FLAG)" == "1"
146 __DEBUG_DEFINE_p = -D__WXDEBUG__
148 !if "$(UNICODE)" == "1"
149 __UNICODE_DEFINE_p = -D_UNICODE
151 !if "$(SHARED)" == "0"
152 LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_lib$(CFG)
154 !if "$(SHARED)" == "1"
155 LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_dll$(CFG)
161 -if not exist $(OBJS) mkdir $(OBJS)
165 all: $(__netutilsdll___depname) $(__netutilslib___depname)
168 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
169 -if exist $(OBJS)\*.res del $(OBJS)\*.res
170 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll
171 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).tds
172 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ilc
173 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ild
174 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ilf
175 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).ils
176 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
177 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
179 !if "$(SHARED)" == "1"
180 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS)
181 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
182 c0d32.obj $(NETUTILSDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
184 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils $@
187 !if "$(SHARED)" == "0"
188 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
190 tlib /a /p4096 $@ @&&|
191 $(NETUTILSLIB_OBJECTS)
195 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
196 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) -H $**
198 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
199 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
201 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
202 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
204 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
205 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
207 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
208 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) -H $**
210 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
211 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
213 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
214 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
216 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
217 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**