]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/plot/makefile.bcc
regenerated after last changes
[wxWidgets.git] / contrib / build / plot / makefile.bcc
CommitLineData
15e8daec
VS
1# =========================================================================
2# This makefile was generated by
cf9b63b3 3# Bakefile 0.2.0 (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
4cbcfb73 24WX_RELEASE_NODOT = 27
2add9e3c 25WX_VERSION_NODOT = $(WX_RELEASE_NODOT)2
15e8daec
VS
26OBJS = \
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 28LIBDIRNAME = ..\..\src\plot\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
29SETUPHDIR = \
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9 31PLOTDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
8c9f8f91
JS
32 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77 34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424 35 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I..\..\src\plot\..\..\..\include \
9bfe7ad9
VS
36 -I..\..\src\plot\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_PLOT -Hu \
37 -H=$(OBJS)\wxprec_plotdll.csm $(CPPFLAGS) $(CXXFLAGS)
15e8daec
VS
38PLOTDLL_OBJECTS = \
39 $(OBJS)\plotdll_dummy.obj \
40 $(OBJS)\plotdll_plot.obj
9bfe7ad9 41PLOTLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
8c9f8f91
JS
42 $(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
43 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77 44 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
3abcf424 45 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I..\..\src\plot\..\..\..\include \
9bfe7ad9
VS
46 -I..\..\src\plot\..\..\include -Hu -H=$(OBJS)\wxprec_plotlib.csm \
47 $(CPPFLAGS) $(CXXFLAGS)
15e8daec
VS
48PLOTLIB_OBJECTS = \
49 $(OBJS)\plotlib_dummy.obj \
50 $(OBJS)\plotlib_plot.obj
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__plotdll___depname = \
4cbcfb73 95 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll
15e8daec 96!endif
8c9f8f91
JS
97!if "$(USE_THREADS)" == "0"
98__THREADSFLAG_6 =
99!endif
100!if "$(USE_THREADS)" == "1"
101__THREADSFLAG_6 = mt
102!endif
b17c1746 103!if "$(RUNTIME_LIBS)" == "dynamic"
8c9f8f91 104__RUNTIME_LIBS_9 = i
15e8daec 105!endif
b17c1746 106!if "$(RUNTIME_LIBS)" == "static"
8c9f8f91
JS
107__RUNTIME_LIBS_9 =
108!endif
109!if "$(WXUNIV)" == "1"
110__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
111!endif
112!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
113__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
114!endif
115!if "$(DEBUG_FLAG)" == "1"
116__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
117!endif
118!if "$(USE_EXCEPTIONS)" == "0"
119__EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
120!endif
121!if "$(USE_RTTI)" == "0"
122__RTTI_DEFINE_p_1 = -dwxNO_RTTI
123!endif
124!if "$(USE_THREADS)" == "0"
125__THREAD_DEFINE_p_1 = -dwxNO_THREADS
126!endif
127!if "$(UNICODE)" == "1"
128__UNICODE_DEFINE_p_1 = -d_UNICODE
15e8daec 129!endif
2113bc77
MW
130!if "$(MSLU)" == "1"
131__MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
132!endif
3abcf424
RD
133!if "$(USE_GDIPLUS)" == "1"
134__GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
135!endif
b17c1746
DE
136!if "$(MONOLITHIC)" == "1"
137__WXLIB_MONO_p = \
c33fae85 138 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
15e8daec 139!endif
b17c1746 140!if "$(USE_GUI)" == "1"
9c2d002b 141__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
15e8daec
VS
142!endif
143!if "$(USE_GUI)" == "1"
9c2d002b 144__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
15e8daec
VS
145!endif
146!if "$(USE_GUI)" == "1"
9c2d002b 147__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
15e8daec 148!endif
b17c1746
DE
149!if "$(MSLU)" == "1"
150__UNICOWS_LIB_p = unicows.lib
151!endif
3abcf424
RD
152!if "$(USE_GDIPLUS)" == "1"
153__GDIPLUS_LIB_p = gdiplus.lib
154!endif
b17c1746
DE
155!if "$(MONOLITHIC)" == "0"
156__WXLIB_CORE_p = \
c33fae85 157 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
b17c1746
DE
158!endif
159!if "$(MONOLITHIC)" == "0"
c33fae85
RN
160__WXLIB_BASE_p = \
161 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
162!endif
163!if "$(SHARED)" == "0"
164__plotlib___depname = \
c33fae85 165 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
b17c1746
DE
166!endif
167!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
168__DEBUGINFO = -v
169!endif
170!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
171__DEBUGINFO = -v-
172!endif
173!if "$(DEBUG_INFO)" == "0"
174__DEBUGINFO = -v-
175!endif
176!if "$(DEBUG_INFO)" == "1"
177__DEBUGINFO = -v
15e8daec
VS
178!endif
179!if "$(BUILD)" == "debug"
180__OPTIMIZEFLAG = -Od
181!endif
182!if "$(BUILD)" == "release"
183__OPTIMIZEFLAG = -O2
184!endif
8c9f8f91
JS
185!if "$(USE_THREADS)" == "0"
186__THREADSFLAG =
187!endif
188!if "$(USE_THREADS)" == "1"
189__THREADSFLAG = -tWM
190!endif
15e8daec
VS
191!if "$(RUNTIME_LIBS)" == "dynamic"
192__RUNTIME_LIBS = -tWR
193!endif
194!if "$(RUNTIME_LIBS)" == "static"
195__RUNTIME_LIBS =
196!endif
b17c1746
DE
197!if "$(WXUNIV)" == "1"
198__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
15e8daec 199!endif
b17c1746
DE
200!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
201__DEBUG_DEFINE_p = -D__WXDEBUG__
202!endif
203!if "$(DEBUG_FLAG)" == "1"
204__DEBUG_DEFINE_p = -D__WXDEBUG__
15e8daec 205!endif
8c9f8f91
JS
206!if "$(USE_EXCEPTIONS)" == "0"
207__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
208!endif
209!if "$(USE_RTTI)" == "0"
210__RTTI_DEFINE_p = -DwxNO_RTTI
211!endif
212!if "$(USE_THREADS)" == "0"
213__THREAD_DEFINE_p = -DwxNO_THREADS
214!endif
15e8daec 215!if "$(UNICODE)" == "1"
ec08d395 216__UNICODE_DEFINE_p = -D_UNICODE
15e8daec 217!endif
2113bc77
MW
218!if "$(MSLU)" == "1"
219__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
220!endif
3abcf424
RD
221!if "$(USE_GDIPLUS)" == "1"
222__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
223!endif
15e8daec
VS
224
225
226all: $(OBJS)
227$(OBJS):
228 -if not exist $(OBJS) mkdir $(OBJS)
229
230### Targets: ###
231
232all: $(__plotdll___depname) $(__plotlib___depname)
233
15e8daec
VS
234clean:
235 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
236 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 237 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
4cbcfb73
VZ
238 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll
239 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).tds
240 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ilc
241 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ild
242 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ilf
243 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).ils
c33fae85
RN
244 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
245 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
15e8daec
VS
246
247!if "$(SHARED)" == "1"
4cbcfb73 248$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS) $(OBJS)\plotdll_version.res
9bfe7ad9 249 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
3abcf424 250 c0d32.obj $(PLOTDLL_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) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32$(__THREADSFLAG_6)$(__RUNTIME_LIBS_9).lib,, $(OBJS)\plotdll_version.res
15e8daec 251|
c33fae85 252 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot $@
15e8daec
VS
253!endif
254
255!if "$(SHARED)" == "0"
c33fae85 256$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
15e8daec 257 if exist $@ del $@
9bfe7ad9 258 tlib /a /p4096 $@ @&&|
15e8daec
VS
259 $(PLOTLIB_OBJECTS)
260|
261!endif
b17c1746 262
66b9f7f7 263$(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\common\dummy.cpp
b17c1746
DE
264 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) -H $**
265
102d46f3 266$(OBJS)\plotdll_version.res: ../../src/plot\..\..\..\src\msw\version.rc
3abcf424 267 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) -i$(SETUPHDIR) -i..\..\src\plot\..\..\..\include -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG) $**
8c9f8f91 268
b17c1746
DE
269$(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
270 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) $**
271
66b9f7f7 272$(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\common\dummy.cpp
b17c1746
DE
273 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) -H $**
274
275$(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
276 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) $**
b14abf14 277