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 # -------------------------------------------------------------------------
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 LIBDIRNAME = .\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
30 FL_DEMO1_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
33 -I.\..\..\..\samples -DNOPCH -I.\..\..\include -DBMP_DIR=\"bitmaps/\" \
34 $(CPPFLAGS) $(CXXFLAGS)
36 $(OBJS)\fl_demo1_fl_demo1.obj
37 FL_DEMO2_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
38 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
39 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
40 -I.\..\..\..\samples -DNOPCH -I.\..\..\include -DBMP_DIR=\"bitmaps/\" \
41 $(CPPFLAGS) $(CXXFLAGS)
43 $(OBJS)\fl_demo2_fl_demo2.obj
44 FL_SAMPLE1_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
45 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
46 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
47 -I.\..\..\..\samples -DNOPCH -I.\..\..\include -DBMP_DIR=\"bitmaps/\" \
48 $(CPPFLAGS) $(CXXFLAGS)
49 FL_SAMPLE1_OBJECTS = \
50 $(OBJS)\fl_sample1_fl_sample1.obj
51 FL_SAMPLE2_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
52 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
53 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
54 -I.\..\..\..\samples -DNOPCH -I.\..\..\include -DBMP_DIR=\"bitmaps/\" \
55 $(CPPFLAGS) $(CXXFLAGS)
56 FL_SAMPLE2_OBJECTS = \
57 $(OBJS)\fl_sample2_fl_sample2.obj
58 FL_SAMPLE3_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
59 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
60 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
61 -I.\..\..\..\samples -DNOPCH -I.\..\..\include -DBMP_DIR=\"bitmaps/\" \
62 $(CPPFLAGS) $(CXXFLAGS)
63 FL_SAMPLE3_OBJECTS = \
64 $(OBJS)\fl_sample3_fl_sample3.obj
66 ### Conditionally set variables: ###
68 !if "$(USE_GUI)" == "0"
71 !if "$(USE_GUI)" == "1"
74 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
77 !if "$(DEBUG_FLAG)" == "1"
80 !if "$(UNICODE)" == "1"
83 !if "$(WXUNIV)" == "1"
86 !if "$(SHARED)" == "1"
89 !if "$(SHARED)" == "0"
92 !if "$(SHARED)" == "1"
95 !if "$(MONOLITHIC)" == "0"
98 !if "$(MONOLITHIC)" == "1"
101 !if "$(BUILD)" == "debug"
104 !if "$(BUILD)" == "release"
107 !if "$(RUNTIME_LIBS)" == "dynamic"
108 __RUNTIME_LIBS = -tWR
110 !if "$(RUNTIME_LIBS)" == "static"
113 !if "$(RUNTIME_LIBS)" == "dynamic"
116 !if "$(RUNTIME_LIBS)" == "static"
119 !if "$(WXUNIV)" == "1"
120 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
122 !if "$(WXUNIV)" == "1"
123 __WXUNIV_DEFINE_p_12 = -d__WXUNIVERSAL__
125 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
126 __DEBUG_DEFINE_p = -D__WXDEBUG__
128 !if "$(DEBUG_FLAG)" == "1"
129 __DEBUG_DEFINE_p = -D__WXDEBUG__
131 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
132 __DEBUG_DEFINE_p_12 = -d__WXDEBUG__
134 !if "$(DEBUG_FLAG)" == "1"
135 __DEBUG_DEFINE_p_12 = -d__WXDEBUG__
137 !if "$(UNICODE)" == "1"
138 __UNICODE_DEFINE_p = -D_UNICODE
140 !if "$(UNICODE)" == "1"
141 __UNICODE_DEFINE_p_12 = -d_UNICODE
143 !if "$(SHARED)" == "1"
144 __DLLFLAG_p = -DWXUSINGDLL
146 !if "$(SHARED)" == "1"
147 __DLLFLAG_p_12 = -dWXUSINGDLL
149 !if "$(MONOLITHIC)" == "0"
151 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
153 !if "$(MONOLITHIC)" == "0"
155 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
157 !if "$(MONOLITHIC)" == "1"
159 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
161 !if "$(USE_GUI)" == "1"
162 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
164 !if "$(USE_GUI)" == "1"
165 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
167 !if "$(USE_GUI)" == "1"
168 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
171 __UNICOWS_LIB_p = unicows.lib
173 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
176 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
179 !if "$(DEBUG_INFO)" == "0"
182 !if "$(DEBUG_INFO)" == "1"
189 -if not exist $(OBJS) mkdir $(OBJS)
193 all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files
196 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
197 -if exist $(OBJS)\*.res del $(OBJS)\*.res
198 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
199 -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe
200 -if exist $(OBJS)\fl_demo1.tds del $(OBJS)\fl_demo1.tds
201 -if exist $(OBJS)\fl_demo1.ilc del $(OBJS)\fl_demo1.ilc
202 -if exist $(OBJS)\fl_demo1.ild del $(OBJS)\fl_demo1.ild
203 -if exist $(OBJS)\fl_demo1.ilf del $(OBJS)\fl_demo1.ilf
204 -if exist $(OBJS)\fl_demo1.ils del $(OBJS)\fl_demo1.ils
205 -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe
206 -if exist $(OBJS)\fl_demo2.tds del $(OBJS)\fl_demo2.tds
207 -if exist $(OBJS)\fl_demo2.ilc del $(OBJS)\fl_demo2.ilc
208 -if exist $(OBJS)\fl_demo2.ild del $(OBJS)\fl_demo2.ild
209 -if exist $(OBJS)\fl_demo2.ilf del $(OBJS)\fl_demo2.ilf
210 -if exist $(OBJS)\fl_demo2.ils del $(OBJS)\fl_demo2.ils
211 -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe
212 -if exist $(OBJS)\fl_sample1.tds del $(OBJS)\fl_sample1.tds
213 -if exist $(OBJS)\fl_sample1.ilc del $(OBJS)\fl_sample1.ilc
214 -if exist $(OBJS)\fl_sample1.ild del $(OBJS)\fl_sample1.ild
215 -if exist $(OBJS)\fl_sample1.ilf del $(OBJS)\fl_sample1.ilf
216 -if exist $(OBJS)\fl_sample1.ils del $(OBJS)\fl_sample1.ils
217 -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe
218 -if exist $(OBJS)\fl_sample2.tds del $(OBJS)\fl_sample2.tds
219 -if exist $(OBJS)\fl_sample2.ilc del $(OBJS)\fl_sample2.ilc
220 -if exist $(OBJS)\fl_sample2.ild del $(OBJS)\fl_sample2.ild
221 -if exist $(OBJS)\fl_sample2.ilf del $(OBJS)\fl_sample2.ilf
222 -if exist $(OBJS)\fl_sample2.ils del $(OBJS)\fl_sample2.ils
223 -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe
224 -if exist $(OBJS)\fl_sample3.tds del $(OBJS)\fl_sample3.tds
225 -if exist $(OBJS)\fl_sample3.ilc del $(OBJS)\fl_sample3.ilc
226 -if exist $(OBJS)\fl_sample3.ild del $(OBJS)\fl_sample3.ild
227 -if exist $(OBJS)\fl_sample3.ilf del $(OBJS)\fl_sample3.ilf
228 -if exist $(OBJS)\fl_sample3.ils del $(OBJS)\fl_sample3.ils
230 $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res
231 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
232 c0w32.obj $(FL_DEMO1_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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 import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_demo1_fl_demo1.res
235 $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res
236 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
237 c0w32.obj $(FL_DEMO2_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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 import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_demo2_fl_demo2.res
240 $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res
241 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
242 c0w32.obj $(FL_SAMPLE1_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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 import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample1_fl_sample1.res
245 $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res
246 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
247 c0w32.obj $(FL_SAMPLE2_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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 import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample2_fl_sample2.res
250 $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res
251 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
252 c0w32.obj $(FL_SAMPLE3_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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 import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample3_fl_sample3.res
256 if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps
257 for %f in (bookmarks.bmp class_icon.bmp class_icon1.bmp copy.bmp cut.bmp file_icon.bmp folder_icon.bmp help_icon.bmp new.bmp nextmark.bmp open.bmp paste.bmp prevmark.bmp res_icon.bmp save.bmp saveall.bmp search.bmp start95_dp.bmp start95_pr.bmp tile.bmp) do if not exist $(OBJS)\bitmaps\%f copy .\bitmaps\%f $(OBJS)\bitmaps
259 $(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp
260 $(CXX) -q -c -P -o$@ $(FL_DEMO1_CXXFLAGS) $**
262 $(OBJS)\fl_demo1_fl_demo1.res: .\fl_demo1.rc
263 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_12) -i.\..\..\..\samples -dNOPCH -i.\..\..\include -dBMP_DIR="bitmaps/" $**
265 $(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp
266 $(CXX) -q -c -P -o$@ $(FL_DEMO2_CXXFLAGS) $**
268 $(OBJS)\fl_demo2_fl_demo2.res: .\fl_demo2.rc
269 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_12) -i.\..\..\..\samples -dNOPCH -i.\..\..\include -dBMP_DIR="bitmaps/" $**
271 $(OBJS)\fl_sample1_fl_sample1.obj: .\fl_sample1.cpp
272 $(CXX) -q -c -P -o$@ $(FL_SAMPLE1_CXXFLAGS) $**
274 $(OBJS)\fl_sample1_fl_sample1.res: .\fl_sample1.rc
275 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_12) -i.\..\..\..\samples -dNOPCH -i.\..\..\include -dBMP_DIR="bitmaps/" $**
277 $(OBJS)\fl_sample2_fl_sample2.obj: .\fl_sample2.cpp
278 $(CXX) -q -c -P -o$@ $(FL_SAMPLE2_CXXFLAGS) $**
280 $(OBJS)\fl_sample2_fl_sample2.res: .\fl_sample2.rc
281 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_12) -i.\..\..\..\samples -dNOPCH -i.\..\..\include -dBMP_DIR="bitmaps/" $**
283 $(OBJS)\fl_sample3_fl_sample3.obj: .\fl_sample3.cpp
284 $(CXX) -q -c -P -o$@ $(FL_SAMPLE3_CXXFLAGS) $**
286 $(OBJS)\fl_sample3_fl_sample3.res: .\fl_sample3.rc
287 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_12) -i.\..\..\..\samples -dNOPCH -i.\..\..\include -dBMP_DIR="bitmaps/" $**