1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 !include ../../../build/msw/config.bcc
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
23 NETUTILSDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
24 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \
26 -I..\..\src\net\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_NETUTILS \
27 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_netutilsdll.csm
28 NETUTILSDLL_OBJECTS = \
29 $(OBJS)\netutilsdll_dummy.obj \
30 $(OBJS)\netutilsdll_email.obj \
31 $(OBJS)\netutilsdll_smapi.obj \
32 $(OBJS)\netutilsdll_web.obj
33 NETUTILSLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
34 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
35 $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \
36 -I..\..\src\net\..\..\include $(CXXFLAGS) -Hu \
37 -H=$(OBJS)\wxprec_netutilslib.csm
38 NETUTILSLIB_OBJECTS = \
39 $(OBJS)\netutilslib_dummy.obj \
40 $(OBJS)\netutilslib_email.obj \
41 $(OBJS)\netutilslib_smapi.obj \
42 $(OBJS)\netutilslib_web.obj
44 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
46 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
48 ### Conditionally set variables: ###
50 !if "$(SHARED)" == "0"
51 LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_lib$(CFG)
53 !if "$(SHARED)" == "1"
54 LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_dll$(CFG)
56 !if "$(USE_GUI)" == "0"
59 !if "$(USE_GUI)" == "1"
62 !if "$(OFFICIAL_BUILD)" == "0"
63 VENDORTAG = _$(VENDOR)
65 !if "$(OFFICIAL_BUILD)" == "1"
68 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
71 !if "$(DEBUG_FLAG)" == "1"
74 !if "$(SHARED)" == "1"
77 !if "$(UNICODE)" == "1"
80 !if "$(WXUNIV)" == "1"
83 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
86 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
89 !if "$(DEBUG_INFO)" == "0"
92 !if "$(DEBUG_INFO)" == "1"
95 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
96 __DEBUG_DEFINE_p = -D__WXDEBUG__
98 !if "$(DEBUG_FLAG)" == "1"
99 __DEBUG_DEFINE_p = -D__WXDEBUG__
101 !if "$(USE_GUI)" == "1"
102 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
104 !if "$(USE_GUI)" == "1"
105 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
107 !if "$(USE_GUI)" == "1"
108 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
110 !if "$(BUILD)" == "debug"
113 !if "$(BUILD)" == "release"
116 !if "$(RUNTIME_LIBS)" == "dynamic"
117 __RUNTIME_LIBS = -tWR
119 !if "$(RUNTIME_LIBS)" == "static"
122 !if "$(RUNTIME_LIBS)" == "dynamic"
125 !if "$(RUNTIME_LIBS)" == "static"
128 !if "$(UNICODE)" == "1"
129 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
132 __UNICOWS_LIB_p = unicows.lib
134 !if "$(MONOLITHIC)" == "0"
135 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
137 !if "$(MONOLITHIC)" == "0"
139 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
141 !if "$(MONOLITHIC)" == "1"
143 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
145 !if "$(WXUNIV)" == "1"
146 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
148 !if "$(SHARED)" == "1"
149 __netutilsdll___depname = \
150 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll
152 !if "$(SHARED)" == "0"
153 __netutilslib___depname = \
154 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
160 -if not exist $(OBJS) mkdir $(OBJS)
164 all: $(__netutilsdll___depname) $(__netutilslib___depname)
166 $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
167 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) -H $**
169 $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp
170 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
172 $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp
173 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
175 $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp
176 $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $**
178 $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp
179 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) -H $**
181 $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp
182 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
184 $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp
185 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
187 $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp
188 $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $**
191 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
192 -if exist $(OBJS)\*.res del $(OBJS)\*.res
193 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll
194 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
195 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib
197 !if "$(SHARED)" == "1"
198 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils_bcc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS)
199 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
200 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) import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
202 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils $@
205 !if "$(SHARED)" == "0"
206 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
208 tlib /a /p2048 $@ @&&|
209 $(NETUTILSLIB_OBJECTS)