1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (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)3
27 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 PLOTDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) \
33 -I..\..\src\plot\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_PLOT -Hu \
34 -H=$(OBJS)\wxprec_plotdll.csm $(CPPFLAGS) $(CXXFLAGS)
36 $(OBJS)\plotdll_dummy.obj \
37 $(OBJS)\plotdll_plot.obj
38 PLOTLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
39 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
40 $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) \
41 -I..\..\src\plot\..\..\include -Hu -H=$(OBJS)\wxprec_plotlib.csm \
42 $(CPPFLAGS) $(CXXFLAGS)
44 $(OBJS)\plotlib_dummy.obj \
45 $(OBJS)\plotlib_plot.obj
47 ### Conditionally set variables: ###
49 !if "$(USE_GUI)" == "0"
52 !if "$(USE_GUI)" == "1"
55 !if "$(OFFICIAL_BUILD)" == "0"
56 VENDORTAG = _$(VENDOR)
58 !if "$(OFFICIAL_BUILD)" == "1"
61 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
64 !if "$(DEBUG_FLAG)" == "1"
67 !if "$(UNICODE)" == "1"
70 !if "$(WXUNIV)" == "1"
73 !if "$(SHARED)" == "1"
76 !if "$(SHARED)" == "1"
77 __plotdll___depname = \
78 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll
80 !if "$(RUNTIME_LIBS)" == "dynamic"
83 !if "$(RUNTIME_LIBS)" == "static"
86 !if "$(MONOLITHIC)" == "1"
88 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
90 !if "$(USE_GUI)" == "1"
91 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
93 !if "$(USE_GUI)" == "1"
94 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
96 !if "$(USE_GUI)" == "1"
97 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
100 __UNICOWS_LIB_p = unicows.lib
102 !if "$(MONOLITHIC)" == "0"
104 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
106 !if "$(MONOLITHIC)" == "0"
108 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
110 !if "$(SHARED)" == "0"
111 __plotlib___depname = \
112 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib
114 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
117 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
120 !if "$(DEBUG_INFO)" == "0"
123 !if "$(DEBUG_INFO)" == "1"
126 !if "$(BUILD)" == "debug"
129 !if "$(BUILD)" == "release"
132 !if "$(RUNTIME_LIBS)" == "dynamic"
133 __RUNTIME_LIBS = -tWR
135 !if "$(RUNTIME_LIBS)" == "static"
138 !if "$(WXUNIV)" == "1"
139 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
141 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
142 __DEBUG_DEFINE_p = -D__WXDEBUG__
144 !if "$(DEBUG_FLAG)" == "1"
145 __DEBUG_DEFINE_p = -D__WXDEBUG__
147 !if "$(UNICODE)" == "1"
148 __UNICODE_DEFINE_p = -D_UNICODE
150 !if "$(SHARED)" == "0"
151 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\bcc_lib$(CFG)
153 !if "$(SHARED)" == "1"
154 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\bcc_dll$(CFG)
160 -if not exist $(OBJS) mkdir $(OBJS)
164 all: $(__plotdll___depname) $(__plotlib___depname)
167 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
168 -if exist $(OBJS)\*.res del $(OBJS)\*.res
169 -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
170 -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
171 -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
172 -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
173 -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
174 -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
175 -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
176 -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
178 !if "$(SHARED)" == "1"
179 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot_bcc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS)
180 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
181 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 $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_8).lib,,
183 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot $@
186 !if "$(SHARED)" == "0"
187 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
189 tlib /a /p4096 $@ @&&|
194 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
195 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) -H $**
197 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
198 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) $**
200 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
201 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) -H $**
203 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
204 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) $**