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 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
25 WX_VERSION_NODOT = $(WX_RELEASE_NODOT)4
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 PLOTDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) \
34 -I..\..\src\plot\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_PLOT -Hu \
35 -H=$(OBJS)\wxprec_plotdll.csm $(CPPFLAGS) $(CXXFLAGS)
37 $(OBJS)\plotdll_dummy.obj \
38 $(OBJS)\plotdll_plot.obj
39 PLOTLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
40 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
41 $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) \
42 -I..\..\src\plot\..\..\include -Hu -H=$(OBJS)\wxprec_plotlib.csm \
43 $(CPPFLAGS) $(CXXFLAGS)
45 $(OBJS)\plotlib_dummy.obj \
46 $(OBJS)\plotlib_plot.obj
48 ### Conditionally set variables: ###
50 !if "$(USE_GUI)" == "0"
53 !if "$(USE_GUI)" == "1"
56 !if "$(OFFICIAL_BUILD)" == "0"
57 VENDORTAG = _$(VENDOR)
59 !if "$(OFFICIAL_BUILD)" == "1"
62 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
65 !if "$(DEBUG_FLAG)" == "1"
68 !if "$(UNICODE)" == "1"
71 !if "$(WXUNIV)" == "1"
74 !if "$(SHARED)" == "1"
77 !if "$(SHARED)" == "0"
80 !if "$(SHARED)" == "1"
83 !if "$(MONOLITHIC)" == "0"
86 !if "$(MONOLITHIC)" == "1"
89 !if "$(SHARED)" == "1"
90 __plotdll___depname = \
91 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll
93 !if "$(RUNTIME_LIBS)" == "dynamic"
96 !if "$(RUNTIME_LIBS)" == "static"
99 !if "$(MONOLITHIC)" == "1"
101 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
103 !if "$(USE_GUI)" == "1"
104 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
106 !if "$(USE_GUI)" == "1"
107 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
109 !if "$(USE_GUI)" == "1"
110 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
113 __UNICOWS_LIB_p = unicows.lib
115 !if "$(MONOLITHIC)" == "0"
117 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
119 !if "$(MONOLITHIC)" == "0"
121 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
123 !if "$(SHARED)" == "0"
124 __plotlib___depname = \
125 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
127 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
130 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
133 !if "$(DEBUG_INFO)" == "0"
136 !if "$(DEBUG_INFO)" == "1"
139 !if "$(BUILD)" == "debug"
142 !if "$(BUILD)" == "release"
145 !if "$(RUNTIME_LIBS)" == "dynamic"
146 __RUNTIME_LIBS = -tWR
148 !if "$(RUNTIME_LIBS)" == "static"
151 !if "$(WXUNIV)" == "1"
152 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
154 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
155 __DEBUG_DEFINE_p = -D__WXDEBUG__
157 !if "$(DEBUG_FLAG)" == "1"
158 __DEBUG_DEFINE_p = -D__WXDEBUG__
160 !if "$(UNICODE)" == "1"
161 __UNICODE_DEFINE_p = -D_UNICODE
167 -if not exist $(OBJS) mkdir $(OBJS)
171 all: $(__plotdll___depname) $(__plotlib___depname)
174 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
175 -if exist $(OBJS)\*.res del $(OBJS)\*.res
176 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
177 -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
178 -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
179 -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
180 -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
181 -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
182 -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
183 -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
184 -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
186 !if "$(SHARED)" == "1"
187 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS)
188 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
189 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) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
191 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot $@
194 !if "$(SHARED)" == "0"
195 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
197 tlib /a /p4096 $@ @&&|
202 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
203 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) -H $**
205 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
206 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) $**
208 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
209 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) -H $**
211 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
212 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) $**