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/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 ..\..\src\plot\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 PLOTDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
28 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
29 $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(LIBDIRNAME) \
30 -I..\..\src\plot\..\..\..\src\tiff -I..\..\src\plot\..\..\..\src\jpeg \
31 -I..\..\src\plot\..\..\..\src\png -I..\..\src\plot\..\..\..\src\zlib \
32 -I..\..\src\plot\..\..\..\src\regex \
33 -I..\..\src\plot\..\..\..\src\expat\lib -I..\..\src\plot\..\..\include \
34 -DWXUSINGDLL -DWXMAKINGDLL_PLOT $(CXXFLAGS) -Hu \
35 -H=$(OBJS)\wxprec_plotdll.csm
37 $(OBJS)\plotdll_dummy.obj \
38 $(OBJS)\plotdll_plot.obj
39 PLOTLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
40 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
41 $(__UNICODE_DEFINE_p) -I..\..\src\plot\..\..\..\include -I$(LIBDIRNAME) \
42 -I..\..\src\plot\..\..\..\src\tiff -I..\..\src\plot\..\..\..\src\jpeg \
43 -I..\..\src\plot\..\..\..\src\png -I..\..\src\plot\..\..\..\src\zlib \
44 -I..\..\src\plot\..\..\..\src\regex \
45 -I..\..\src\plot\..\..\..\src\expat\lib -I..\..\src\plot\..\..\include \
46 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_plotlib.csm
48 $(OBJS)\plotlib_dummy.obj \
49 $(OBJS)\plotlib_plot.obj
51 ### Conditionally set variables: ###
53 !if "$(USE_GUI)" == "0"
56 !if "$(USE_GUI)" == "1"
59 !if "$(OFFICIAL_BUILD)" == "0"
60 VENDORTAG = _$(VENDOR)
62 !if "$(OFFICIAL_BUILD)" == "1"
65 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
68 !if "$(DEBUG_FLAG)" == "1"
71 !if "$(SHARED)" == "1"
74 !if "$(UNICODE)" == "1"
77 !if "$(WXUNIV)" == "1"
80 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
83 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
86 !if "$(DEBUG_INFO)" == "0"
89 !if "$(DEBUG_INFO)" == "1"
92 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
93 __DEBUG_DEFINE_p = -D__WXDEBUG__
95 !if "$(DEBUG_FLAG)" == "1"
96 __DEBUG_DEFINE_p = -D__WXDEBUG__
98 !if "$(USE_GUI)" == "1"
99 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
101 !if "$(USE_GUI)" == "1"
102 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
104 !if "$(USE_GUI)" == "1"
105 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
107 !if "$(BUILD)" == "debug"
110 !if "$(BUILD)" == "release"
113 !if "$(RUNTIME_LIBS)" == "dynamic"
114 __RUNTIME_LIBS = -tWR
116 !if "$(RUNTIME_LIBS)" == "static"
119 !if "$(RUNTIME_LIBS)" == "dynamic"
122 !if "$(RUNTIME_LIBS)" == "static"
125 !if "$(UNICODE)" == "1"
126 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
128 !if "$(MONOLITHIC)" == "0"
129 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
131 !if "$(MONOLITHIC)" == "0"
133 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
135 !if "$(MONOLITHIC)" == "1"
137 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
139 !if "$(WXUNIV)" == "1"
140 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
142 !if "$(SHARED)" == "1"
143 __plotdll___depname = \
144 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll
146 !if "$(SHARED)" == "0"
147 __plotlib___depname = \
148 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
154 -if not exist $(OBJS) mkdir $(OBJS)
158 all: $(__plotdll___depname) $(__plotlib___depname)
160 $(OBJS)\plotdll_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
161 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) -H $**
163 $(OBJS)\plotdll_plot.obj: ../../src/plot\plot.cpp
164 $(CXX) -q -c -P -o$@ $(PLOTDLL_CXXFLAGS) $**
166 $(OBJS)\plotlib_dummy.obj: ../../src/plot\..\..\..\src\msw\dummy.cpp
167 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) -H $**
169 $(OBJS)\plotlib_plot.obj: ../../src/plot\plot.cpp
170 $(CXX) -q -c -P -o$@ $(PLOTLIB_CXXFLAGS) $**
173 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
174 -if exist $(OBJS)\*.res del $(OBJS)\*.res
175 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll
176 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
177 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib
179 !if "$(SHARED)" == "1"
180 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot_bcc$(VENDORTAG).dll: $(PLOTDLL_OBJECTS) $(OBJS)\plotdll_dummy.obj
181 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
182 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 import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
184 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot $@
187 !if "$(SHARED)" == "0"
188 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_plot.lib: $(PLOTLIB_OBJECTS) $(OBJS)\plotlib_dummy.obj
190 tlib /a /p2048 $@ @&&|