]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/net/makefile.bcc
Elliptic arc fix for getting bounds
[wxWidgets.git] / contrib / build / net / makefile.bcc
CommitLineData
15e8daec
VS
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
15e8daec
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
9bfe7ad9
VS
7.autodepend
8
15e8daec 9!ifndef BCCDIR
9bfe7ad9
VS
10!ifndef MAKEDIR
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12!endif
15e8daec
VS
13BCCDIR = $(MAKEDIR)\..
14!endif
15
fd9f42b6 16!include ../../../build/msw/config.bcc
15e8daec
VS
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
15e8daec
VS
22### Variables: ###
23
c33fae85 24WX_RELEASE_NODOT = 25
b14abf14 25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
b17c1746
DE
26OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 28LIBDIRNAME = ..\..\src\net\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
29SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
31NETUTILSDLL_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)
15e8daec
VS
36NETUTILSDLL_OBJECTS = \
37 $(OBJS)\netutilsdll_dummy.obj \
38 $(OBJS)\netutilsdll_email.obj \
39 $(OBJS)\netutilsdll_smapi.obj \
40 $(OBJS)\netutilsdll_web.obj
9bfe7ad9
VS
41NETUTILSLIB_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)
15e8daec
VS
46NETUTILSLIB_OBJECTS = \
47 $(OBJS)\netutilslib_dummy.obj \
48 $(OBJS)\netutilslib_email.obj \
49 $(OBJS)\netutilslib_smapi.obj \
50 $(OBJS)\netutilslib_web.obj
15e8daec
VS
51
52### Conditionally set variables: ###
53
54!if "$(USE_GUI)" == "0"
55PORTNAME = base
56!endif
57!if "$(USE_GUI)" == "1"
58PORTNAME = msw
59!endif
60!if "$(OFFICIAL_BUILD)" == "0"
61VENDORTAG = _$(VENDOR)
62!endif
63!if "$(OFFICIAL_BUILD)" == "1"
64VENDORTAG =
65!endif
66!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
67WXDEBUGFLAG = d
68!endif
69!if "$(DEBUG_FLAG)" == "1"
70WXDEBUGFLAG = d
71!endif
15e8daec
VS
72!if "$(UNICODE)" == "1"
73WXUNICODEFLAG = u
74!endif
75!if "$(WXUNIV)" == "1"
76WXUNIVNAME = univ
77!endif
b17c1746
DE
78!if "$(SHARED)" == "1"
79WXDLLFLAG = dll
15e8daec 80!endif
b14abf14
JS
81!if "$(SHARED)" == "0"
82LIBTYPE_SUFFIX = lib
83!endif
84!if "$(SHARED)" == "1"
85LIBTYPE_SUFFIX = dll
86!endif
dd65d8c8
RN
87!if "$(MONOLITHIC)" == "0"
88EXTRALIBS_FOR_BASE =
89!endif
90!if "$(MONOLITHIC)" == "1"
91EXTRALIBS_FOR_BASE =
92!endif
b17c1746
DE
93!if "$(SHARED)" == "1"
94__netutilsdll___depname = \
c33fae85 95 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll
15e8daec 96!endif
b17c1746 97!if "$(RUNTIME_LIBS)" == "dynamic"
c4839ccf 98__RUNTIME_LIBS_8 = i
15e8daec 99!endif
b17c1746 100!if "$(RUNTIME_LIBS)" == "static"
c4839ccf 101__RUNTIME_LIBS_8 =
15e8daec 102!endif
b17c1746
DE
103!if "$(MONOLITHIC)" == "1"
104__WXLIB_MONO_p = \
c33fae85 105 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
15e8daec 106!endif
b17c1746 107!if "$(USE_GUI)" == "1"
9c2d002b 108__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
15e8daec
VS
109!endif
110!if "$(USE_GUI)" == "1"
9c2d002b 111__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
15e8daec
VS
112!endif
113!if "$(USE_GUI)" == "1"
9c2d002b 114__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
15e8daec 115!endif
b17c1746
DE
116!if "$(MSLU)" == "1"
117__UNICOWS_LIB_p = unicows.lib
118!endif
119!if "$(MONOLITHIC)" == "0"
120__WXLIB_CORE_p = \
c33fae85 121 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
b17c1746
DE
122!endif
123!if "$(MONOLITHIC)" == "0"
c33fae85
RN
124__WXLIB_BASE_p = \
125 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
126!endif
127!if "$(SHARED)" == "0"
128__netutilslib___depname = \
c33fae85 129 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib
b17c1746
DE
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
15e8daec
VS
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
b17c1746
DE
155!if "$(WXUNIV)" == "1"
156__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
15e8daec 157!endif
b17c1746
DE
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__
15e8daec
VS
163!endif
164!if "$(UNICODE)" == "1"
ec08d395 165__UNICODE_DEFINE_p = -D_UNICODE
15e8daec 166!endif
15e8daec
VS
167
168
169all: $(OBJS)
170$(OBJS):
171 -if not exist $(OBJS) mkdir $(OBJS)
172
173### Targets: ###
174
175all: $(__netutilsdll___depname) $(__netutilslib___depname)
176
15e8daec
VS
177clean:
178 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
179 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 180 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
c33fae85
RN
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
15e8daec
VS
189
190!if "$(SHARED)" == "1"
c33fae85 191$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils_bcc$(VENDORTAG).dll: $(OBJS)\netutilsdll_dummy.obj $(NETUTILSDLL_OBJECTS)
9bfe7ad9 192 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
dd65d8c8 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,,
15e8daec 194|
c33fae85 195 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils $@
15e8daec
VS
196!endif
197
198!if "$(SHARED)" == "0"
c33fae85 199$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_netutils.lib: $(OBJS)\netutilslib_dummy.obj $(NETUTILSLIB_OBJECTS)
15e8daec 200 if exist $@ del $@
9bfe7ad9 201 tlib /a /p4096 $@ @&&|
15e8daec
VS
202 $(NETUTILSLIB_OBJECTS)
203|
204!endif
b17c1746
DE
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) $**
b14abf14 229