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 # =========================================================================
11 !include ../../../build/msw/config.bcc
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
24 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
25 PLOTDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
26 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
27 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
28 -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) \
29 -I..\..\src\plot\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_PLOT $(CXXFLAGS) \
30 -Hu -H=$(OBJS)\wxprec_plotdll.csm
32 $(OBJS)\plotdll_dummy.obj \
33 $(OBJS)\plotdll_plot.obj
34 PLOTLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
35 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
36 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
37 -I..\..\src\plot\..\..\..\include -I$(SETUPHDIR) \
38 -I..\..\src\plot\..\..\include $(CXXFLAGS) -Hu \
39 -H=$(OBJS)\wxprec_plotlib.csm
41 $(OBJS)\plotlib_dummy.obj \
42 $(OBJS)\plotlib_plot.obj
44 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
46 ### Conditionally set variables: ###
48 !if "$(SHARED)" == "0"
49 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\bcc_lib$(CFG)
51 !if "$(SHARED)" == "1"
52 LIBDIRNAME = ..\..\src\plot\..\..\..\lib\bcc_dll$(CFG)
54 !if "$(USE_GUI)" == "0"
57 !if "$(USE_GUI)" == "1"
60 !if "$(OFFICIAL_BUILD)" == "0"
61 VENDORTAG = _$(VENDOR)
63 !if "$(OFFICIAL_BUILD)" == "1"
66 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
69 !if "$(DEBUG_FLAG)" == "1"
72 !if "$(SHARED)" == "1"
75 !if "$(UNICODE)" == "1"
78 !if "$(WXUNIV)" == "1"
81 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
84 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
87 !if "$(DEBUG_INFO)" == "0"
90 !if "$(DEBUG_INFO)" == "1"
93 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
94 __DEBUG_DEFINE_p = -D__WXDEBUG__
96 !if "$(DEBUG_FLAG)" == "1"
97 __DEBUG_DEFINE_p = -D__WXDEBUG__
99 !if "$(USE_GUI)" == "1"
100 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
102 !if "$(USE_GUI)" == "1"
103 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
105 !if "$(USE_GUI)" == "1"
106 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
108 !if "$(BUILD)" == "debug"
111 !if "$(BUILD)" == "release"
114 !if "$(RUNTIME_LIBS)" == "dynamic"
115 __RUNTIME_LIBS = -tWR
117 !if "$(RUNTIME_LIBS)" == "static"
120 !if "$(RUNTIME_LIBS)" == "dynamic"
123 !if "$(RUNTIME_LIBS)" == "static"
126 !if "$(UNICODE)" == "1"
127 __UNICODE_DEFINE_p = -D_UNICODE
130 __UNICOWS_LIB_p = unicows.lib
132 !if "$(MONOLITHIC)" == "0"
133 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
135 !if "$(MONOLITHIC)" == "0"
137 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
139 !if "$(MONOLITHIC)" == "1"
141 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
143 !if "$(WXUNIV)" == "1"
144 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
146 !if "$(SHARED)" == "1"
147 __plotdll___depname = \
148 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll
150 !if "$(SHARED)" == "0"
151 __plotlib___depname = \
152 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
158 -if not exist $(OBJS) mkdir $(OBJS)
162 all: $(__plotdll___depname) $(__plotlib___depname)
164 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
165 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) -H $**
167 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
168 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) $**
170 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
171 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) -H $**
173 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
174 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) $**
177 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
178 -if exist $(OBJS)\*.res del $(OBJS)\*.res
179 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll
180 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).tds del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).tds
181 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ilc del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ilc
182 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ild del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ild
183 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ilf del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ilf
184 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ils del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).ils
185 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
186 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
188 !if "$(SHARED)" == "1"
189 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)251$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll: $(OBJS)\plotdll_dummy.obj $(PLOTDLL_OBJECTS)
190 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
191 c0d32.obj $(PLOTDLL_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,,
193 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot $@
196 !if "$(SHARED)" == "0"
197 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib: $(OBJS)\plotlib_dummy.obj $(PLOTLIB_OBJECTS)
199 tlib /a /p2048 $@ @&&|