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