]>
Commit | Line | Data |
---|---|---|
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 | # ========================================================================= | |
6 | ||
7 | .autodepend | |
8 | ||
9 | !ifndef BCCDIR | |
10 | !ifndef MAKEDIR | |
11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 | |
12 | !endif | |
13 | BCCDIR = $(MAKEDIR)\.. | |
14 | !endif | |
15 | ||
16 | !include ../../../build/msw/config.bcc | |
17 | ||
18 | # ------------------------------------------------------------------------- | |
19 | # Do not modify the rest of this file! | |
20 | # ------------------------------------------------------------------------- | |
21 | ||
22 | ### Variables: ### | |
23 | ||
24 | WX_RELEASE_NODOT = 25 | |
25 | WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4 | |
26 | OBJS = \ | |
27 | bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
28 | LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG) | |
29 | SETUPHDIR = \ | |
30 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
31 | NETUTILSDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ | |
32 | $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
33 | $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \ | |
34 | -I..\..\src\net\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_NETUTILS -Hu \ | |
35 | -H=$(OBJS)\wxprec_netutilsdll.csm $(CPPFLAGS) $(CXXFLAGS) | |
36 | NETUTILSDLL_OBJECTS = \ | |
37 | $(OBJS)\netutilsdll_dummy.obj \ | |
38 | $(OBJS)\netutilsdll_email.obj \ | |
39 | $(OBJS)\netutilsdll_smapi.obj \ | |
40 | $(OBJS)\netutilsdll_web.obj | |
41 | NETUTILSLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ | |
42 | $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \ | |
43 | $(__UNICODE_DEFINE_p) -I..\..\src\net\..\..\..\include -I$(SETUPHDIR) \ | |
44 | -I..\..\src\net\..\..\include -Hu -H=$(OBJS)\wxprec_netutilslib.csm \ | |
45 | $(CPPFLAGS) $(CXXFLAGS) | |
46 | NETUTILSLIB_OBJECTS = \ | |
47 | $(OBJS)\netutilslib_dummy.obj \ | |
48 | $(OBJS)\netutilslib_email.obj \ | |
49 | $(OBJS)\netutilslib_smapi.obj \ | |
50 | $(OBJS)\netutilslib_web.obj | |
51 | ||
52 | ### Conditionally set variables: ### | |
53 | ||
54 | !if "$(USE_GUI)" == "0" | |
55 | PORTNAME = base | |
56 | !endif | |
57 | !if "$(USE_GUI)" == "1" | |
58 | PORTNAME = msw | |
59 | !endif | |
60 | !if "$(OFFICIAL_BUILD)" == "0" | |
61 | VENDORTAG = _$(VENDOR) | |
62 | !endif | |
63 | !if "$(OFFICIAL_BUILD)" == "1" | |
64 | VENDORTAG = | |
65 | !endif | |
66 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
67 | WXDEBUGFLAG = d | |
68 | !endif | |
69 | !if "$(DEBUG_FLAG)" == "1" | |
70 | WXDEBUGFLAG = d | |
71 | !endif | |
72 | !if "$(UNICODE)" == "1" | |
73 | WXUNICODEFLAG = u | |
74 | !endif | |
75 | !if "$(WXUNIV)" == "1" | |
76 | WXUNIVNAME = univ | |
77 | !endif | |
78 | !if "$(SHARED)" == "1" | |
79 | WXDLLFLAG = dll | |
80 | !endif | |
81 | !if "$(SHARED)" == "0" | |
82 | LIBTYPE_SUFFIX = lib | |
83 | !endif | |
84 | !if "$(SHARED)" == "1" | |
85 | LIBTYPE_SUFFIX = dll | |
86 | !endif | |
87 | !if "$(MONOLITHIC)" == "0" | |
88 | EXTRALIBS_FOR_BASE = | |
89 | !endif | |
90 | !if "$(MONOLITHIC)" == "1" | |
91 | EXTRALIBS_FOR_BASE = | |
92 | !endif | |
93 | !if "$(SHARED)" == "1" | |
94 | __netutilsdll___depname = \ | |
95 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll | |
96 | !endif | |
97 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
98 | __RUNTIME_LIBS_8 = i | |
99 | !endif | |
100 | !if "$(RUNTIME_LIBS)" == "static" | |
101 | __RUNTIME_LIBS_8 = | |
102 | !endif | |
103 | !if "$(MONOLITHIC)" == "1" | |
104 | __WXLIB_MONO_p = \ | |
105 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
106 | !endif | |
107 | !if "$(USE_GUI)" == "1" | |
108 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
109 | !endif | |
110 | !if "$(USE_GUI)" == "1" | |
111 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
112 | !endif | |
113 | !if "$(USE_GUI)" == "1" | |
114 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
115 | !endif | |
116 | !if "$(MSLU)" == "1" | |
117 | __UNICOWS_LIB_p = unicows.lib | |
118 | !endif | |
119 | !if "$(MONOLITHIC)" == "0" | |
120 | __WXLIB_CORE_p = \ | |
121 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib | |
122 | !endif | |
123 | !if "$(MONOLITHIC)" == "0" | |
124 | __WXLIB_BASE_p = \ | |
125 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
126 | !endif | |
127 | !if "$(SHARED)" == "0" | |
128 | __netutilslib___depname = \ | |
129 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib | |
130 | !endif | |
131 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
132 | __DEBUGINFO = -v | |
133 | !endif | |
134 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
135 | __DEBUGINFO = -v- | |
136 | !endif | |
137 | !if "$(DEBUG_INFO)" == "0" | |
138 | __DEBUGINFO = -v- | |
139 | !endif | |
140 | !if "$(DEBUG_INFO)" == "1" | |
141 | __DEBUGINFO = -v | |
142 | !endif | |
143 | !if "$(BUILD)" == "debug" | |
144 | __OPTIMIZEFLAG = -Od | |
145 | !endif | |
146 | !if "$(BUILD)" == "release" | |
147 | __OPTIMIZEFLAG = -O2 | |
148 | !endif | |
149 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
150 | __RUNTIME_LIBS = -tWR | |
151 | !endif | |
152 | !if "$(RUNTIME_LIBS)" == "static" | |
153 | __RUNTIME_LIBS = | |
154 | !endif | |
155 | !if "$(WXUNIV)" == "1" | |
156 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
157 | !endif | |
158 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
159 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
160 | !endif | |
161 | !if "$(DEBUG_FLAG)" == "1" | |
162 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
163 | !endif | |
164 | !if "$(UNICODE)" == "1" | |
165 | __UNICODE_DEFINE_p = -D_UNICODE | |
166 | !endif | |
167 | ||
168 | ||
169 | all: $(OBJS) | |
170 | $(OBJS): | |
171 | -if not exist $(OBJS) mkdir $(OBJS) | |
172 | ||
173 | ### Targets: ### | |
174 | ||
175 | all: $(__netutilsdll___depname) $(__netutilslib___depname) | |
176 | ||
177 | clean: | |
178 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
179 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
180 | -if exist $(OBJS)\*.csm del $(OBJS)\*.csm | |
181 | -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 | |
182 | -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 | |
183 | -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 | |
184 | -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 | |
185 | -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 | |
186 | -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 | |
187 | -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 | |
188 | -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 | |
189 | ||
190 | !if "$(SHARED)" == "1" | |
191 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS) | |
192 | ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&| | |
193 | c0d32.obj $(NETUTILSDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,, | |
194 | | | |
195 | implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils $@ | |
196 | !endif | |
197 | ||
198 | !if "$(SHARED)" == "0" | |
199 | $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS) | |
200 | if exist $@ del $@ | |
201 | tlib /a /p4096 $@ @&&| | |
202 | $(NETUTILSLIB_OBJECTS) | |
203 | | | |
204 | !endif | |
205 | ||
206 | $(OBJS)\netutilsdll_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp | |
207 | $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) -H $** | |
208 | ||
209 | $(OBJS)\netutilsdll_email.obj: ../../src/net\email.cpp | |
210 | $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $** | |
211 | ||
212 | $(OBJS)\netutilsdll_smapi.obj: ../../src/net\smapi.cpp | |
213 | $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $** | |
214 | ||
215 | $(OBJS)\netutilsdll_web.obj: ../../src/net\web.cpp | |
216 | $(CXX) -q -c -P -o$@ $(NETUTILSDLL_CXXFLAGS) $** | |
217 | ||
218 | $(OBJS)\netutilslib_dummy.obj: ../../src/net\..\..\..\src\msw\dummy.cpp | |
219 | $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) -H $** | |
220 | ||
221 | $(OBJS)\netutilslib_email.obj: ../../src/net\email.cpp | |
222 | $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $** | |
223 | ||
224 | $(OBJS)\netutilslib_smapi.obj: ../../src/net\smapi.cpp | |
225 | $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $** | |
226 | ||
227 | $(OBJS)\netutilslib_web.obj: ../../src/net\web.cpp | |
228 | $(CXX) -q -c -P -o$@ $(NETUTILSLIB_CXXFLAGS) $** | |
229 |