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 # -------------------------------------------------------------------------
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
29 FL_DEMO1_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
30 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
31 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
32 -I.\..\..\..\samples -DNOPCH -I.\..\..\include -DBMP_DIR=\"bitmaps/\" \
33 $(CPPFLAGS) $(CXXFLAGS)
35 $(OBJS)\fl_demo1_fl_demo1.obj
36 FL_DEMO2_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
37 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
38 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
39 -I.\..\..\..\samples -DNOPCH -I.\..\..\include -DBMP_DIR=\"bitmaps/\" \
40 $(CPPFLAGS) $(CXXFLAGS)
42 $(OBJS)\fl_demo2_fl_demo2.obj
43 FL_SAMPLE1_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
44 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
45 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
46 -I.\..\..\..\samples -DNOPCH -I.\..\..\include -DBMP_DIR=\"bitmaps/\" \
47 $(CPPFLAGS) $(CXXFLAGS)
48 FL_SAMPLE1_OBJECTS = \
49 $(OBJS)\fl_sample1_fl_sample1.obj
50 FL_SAMPLE2_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
51 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
52 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
53 -I.\..\..\..\samples -DNOPCH -I.\..\..\include -DBMP_DIR=\"bitmaps/\" \
54 $(CPPFLAGS) $(CXXFLAGS)
55 FL_SAMPLE2_OBJECTS = \
56 $(OBJS)\fl_sample2_fl_sample2.obj
57 FL_SAMPLE3_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
58 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
59 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
60 -I.\..\..\..\samples -DNOPCH -I.\..\..\include -DBMP_DIR=\"bitmaps/\" \
61 $(CPPFLAGS) $(CXXFLAGS)
62 FL_SAMPLE3_OBJECTS = \
63 $(OBJS)\fl_sample3_fl_sample3.obj
65 ### Conditionally set variables: ###
67 !if "$(USE_GUI)" == "0"
70 !if "$(USE_GUI)" == "1"
73 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
76 !if "$(DEBUG_FLAG)" == "1"
79 !if "$(UNICODE)" == "1"
82 !if "$(WXUNIV)" == "1"
85 !if "$(SHARED)" == "1"
88 !if "$(MONOLITHIC)" == "0"
91 !if "$(MONOLITHIC)" == "1"
94 !if "$(BUILD)" == "debug"
97 !if "$(BUILD)" == "release"
100 !if "$(RUNTIME_LIBS)" == "dynamic"
101 __RUNTIME_LIBS = -tWR
103 !if "$(RUNTIME_LIBS)" == "static"
106 !if "$(RUNTIME_LIBS)" == "dynamic"
109 !if "$(RUNTIME_LIBS)" == "static"
112 !if "$(WXUNIV)" == "1"
113 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
115 !if "$(WXUNIV)" == "1"
116 __WXUNIV_DEFINE_p_12 = -d__WXUNIVERSAL__
118 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
119 __DEBUG_DEFINE_p = -D__WXDEBUG__
121 !if "$(DEBUG_FLAG)" == "1"
122 __DEBUG_DEFINE_p = -D__WXDEBUG__
124 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
125 __DEBUG_DEFINE_p_12 = -d__WXDEBUG__
127 !if "$(DEBUG_FLAG)" == "1"
128 __DEBUG_DEFINE_p_12 = -d__WXDEBUG__
130 !if "$(UNICODE)" == "1"
131 __UNICODE_DEFINE_p = -D_UNICODE
133 !if "$(UNICODE)" == "1"
134 __UNICODE_DEFINE_p_12 = -d_UNICODE
136 !if "$(SHARED)" == "0"
137 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
139 !if "$(SHARED)" == "1"
140 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
142 !if "$(SHARED)" == "1"
143 __DLLFLAG_p = -DWXUSINGDLL
145 !if "$(SHARED)" == "1"
146 __DLLFLAG_p_12 = -dWXUSINGDLL
148 !if "$(MONOLITHIC)" == "0"
150 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
152 !if "$(MONOLITHIC)" == "0"
154 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
156 !if "$(MONOLITHIC)" == "1"
158 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
160 !if "$(USE_GUI)" == "1"
161 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
163 !if "$(USE_GUI)" == "1"
164 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
166 !if "$(USE_GUI)" == "1"
167 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
170 __UNICOWS_LIB_p = unicows.lib
172 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
175 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
178 !if "$(DEBUG_INFO)" == "0"
181 !if "$(DEBUG_INFO)" == "1"
188 -if not exist $(OBJS) mkdir $(OBJS)
192 all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files
195 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
196 -if exist $(OBJS)\*.res del $(OBJS)\*.res
197 -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe
198 -if exist $(OBJS)\fl_demo1.tds del $(OBJS)\fl_demo1.tds
199 -if exist $(OBJS)\fl_demo1.ilc del $(OBJS)\fl_demo1.ilc
200 -if exist $(OBJS)\fl_demo1.ild del $(OBJS)\fl_demo1.ild
201 -if exist $(OBJS)\fl_demo1.ilf del $(OBJS)\fl_demo1.ilf
202 -if exist $(OBJS)\fl_demo1.ils del $(OBJS)\fl_demo1.ils
203 -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe
204 -if exist $(OBJS)\fl_demo2.tds del $(OBJS)\fl_demo2.tds
205 -if exist $(OBJS)\fl_demo2.ilc del $(OBJS)\fl_demo2.ilc
206 -if exist $(OBJS)\fl_demo2.ild del $(OBJS)\fl_demo2.ild
207 -if exist $(OBJS)\fl_demo2.ilf del $(OBJS)\fl_demo2.ilf
208 -if exist $(OBJS)\fl_demo2.ils del $(OBJS)\fl_demo2.ils
209 -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe
210 -if exist $(OBJS)\fl_sample1.tds del $(OBJS)\fl_sample1.tds
211 -if exist $(OBJS)\fl_sample1.ilc del $(OBJS)\fl_sample1.ilc
212 -if exist $(OBJS)\fl_sample1.ild del $(OBJS)\fl_sample1.ild
213 -if exist $(OBJS)\fl_sample1.ilf del $(OBJS)\fl_sample1.ilf
214 -if exist $(OBJS)\fl_sample1.ils del $(OBJS)\fl_sample1.ils
215 -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe
216 -if exist $(OBJS)\fl_sample2.tds del $(OBJS)\fl_sample2.tds
217 -if exist $(OBJS)\fl_sample2.ilc del $(OBJS)\fl_sample2.ilc
218 -if exist $(OBJS)\fl_sample2.ild del $(OBJS)\fl_sample2.ild
219 -if exist $(OBJS)\fl_sample2.ilf del $(OBJS)\fl_sample2.ilf
220 -if exist $(OBJS)\fl_sample2.ils del $(OBJS)\fl_sample2.ils
221 -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe
222 -if exist $(OBJS)\fl_sample3.tds del $(OBJS)\fl_sample3.tds
223 -if exist $(OBJS)\fl_sample3.ilc del $(OBJS)\fl_sample3.ilc
224 -if exist $(OBJS)\fl_sample3.ild del $(OBJS)\fl_sample3.ild
225 -if exist $(OBJS)\fl_sample3.ilf del $(OBJS)\fl_sample3.ilf
226 -if exist $(OBJS)\fl_sample3.ils del $(OBJS)\fl_sample3.ils
228 $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res
229 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
230 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
233 $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res
234 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
235 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
238 $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res
239 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
240 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
243 $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res
244 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
245 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
248 $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res
249 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
250 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
254 if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps
255 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
257 $(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp
258 $(CXX) -q -c -P -o$@ $(FL_DEMO1_CXXFLAGS) $**
260 $(OBJS)\fl_demo1_fl_demo1.res: .\fl_demo1.rc
261 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/" $**
263 $(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp
264 $(CXX) -q -c -P -o$@ $(FL_DEMO2_CXXFLAGS) $**
266 $(OBJS)\fl_demo2_fl_demo2.res: .\fl_demo2.rc
267 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/" $**
269 $(OBJS)\fl_sample1_fl_sample1.obj: .\fl_sample1.cpp
270 $(CXX) -q -c -P -o$@ $(FL_SAMPLE1_CXXFLAGS) $**
272 $(OBJS)\fl_sample1_fl_sample1.res: .\fl_sample1.rc
273 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/" $**
275 $(OBJS)\fl_sample2_fl_sample2.obj: .\fl_sample2.cpp
276 $(CXX) -q -c -P -o$@ $(FL_SAMPLE2_CXXFLAGS) $**
278 $(OBJS)\fl_sample2_fl_sample2.res: .\fl_sample2.rc
279 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/" $**
281 $(OBJS)\fl_sample3_fl_sample3.obj: .\fl_sample3.cpp
282 $(CXX) -q -c -P -o$@ $(FL_SAMPLE3_CXXFLAGS) $**
284 $(OBJS)\fl_sample3_fl_sample3.res: .\fl_sample3.rc
285 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/" $**