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 "$(BUILD)" == "debug"
91 !if "$(BUILD)" == "release"
94 !if "$(RUNTIME_LIBS)" == "dynamic"
97 !if "$(RUNTIME_LIBS)" == "static"
100 !if "$(RUNTIME_LIBS)" == "dynamic"
103 !if "$(RUNTIME_LIBS)" == "static"
106 !if "$(WXUNIV)" == "1"
107 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
109 !if "$(WXUNIV)" == "1"
110 __WXUNIV_DEFINE_p_12 = -d__WXUNIVERSAL__
112 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
113 __DEBUG_DEFINE_p = -D__WXDEBUG__
115 !if "$(DEBUG_FLAG)" == "1"
116 __DEBUG_DEFINE_p = -D__WXDEBUG__
118 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
119 __DEBUG_DEFINE_p_12 = -d__WXDEBUG__
121 !if "$(DEBUG_FLAG)" == "1"
122 __DEBUG_DEFINE_p_12 = -d__WXDEBUG__
124 !if "$(UNICODE)" == "1"
125 __UNICODE_DEFINE_p = -D_UNICODE
127 !if "$(UNICODE)" == "1"
128 __UNICODE_DEFINE_p_12 = -d_UNICODE
130 !if "$(SHARED)" == "0"
131 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
133 !if "$(SHARED)" == "1"
134 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
136 !if "$(SHARED)" == "1"
137 __DLLFLAG_p = -DWXUSINGDLL
139 !if "$(SHARED)" == "1"
140 __DLLFLAG_p_12 = -dWXUSINGDLL
142 !if "$(MONOLITHIC)" == "0"
144 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
146 !if "$(MONOLITHIC)" == "0"
148 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
150 !if "$(MONOLITHIC)" == "1"
152 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
154 !if "$(USE_GUI)" == "1"
155 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
157 !if "$(USE_GUI)" == "1"
158 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
160 !if "$(USE_GUI)" == "1"
161 __LIB_PNG_p = wxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
164 __UNICOWS_LIB_p = unicows.lib
166 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
169 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
172 !if "$(DEBUG_INFO)" == "0"
175 !if "$(DEBUG_INFO)" == "1"
182 -if not exist $(OBJS) mkdir $(OBJS)
186 all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files
189 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
190 -if exist $(OBJS)\*.res del $(OBJS)\*.res
191 -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe
192 -if exist $(OBJS)\fl_demo1.tds del $(OBJS)\fl_demo1.tds
193 -if exist $(OBJS)\fl_demo1.ilc del $(OBJS)\fl_demo1.ilc
194 -if exist $(OBJS)\fl_demo1.ild del $(OBJS)\fl_demo1.ild
195 -if exist $(OBJS)\fl_demo1.ilf del $(OBJS)\fl_demo1.ilf
196 -if exist $(OBJS)\fl_demo1.ils del $(OBJS)\fl_demo1.ils
197 -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe
198 -if exist $(OBJS)\fl_demo2.tds del $(OBJS)\fl_demo2.tds
199 -if exist $(OBJS)\fl_demo2.ilc del $(OBJS)\fl_demo2.ilc
200 -if exist $(OBJS)\fl_demo2.ild del $(OBJS)\fl_demo2.ild
201 -if exist $(OBJS)\fl_demo2.ilf del $(OBJS)\fl_demo2.ilf
202 -if exist $(OBJS)\fl_demo2.ils del $(OBJS)\fl_demo2.ils
203 -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe
204 -if exist $(OBJS)\fl_sample1.tds del $(OBJS)\fl_sample1.tds
205 -if exist $(OBJS)\fl_sample1.ilc del $(OBJS)\fl_sample1.ilc
206 -if exist $(OBJS)\fl_sample1.ild del $(OBJS)\fl_sample1.ild
207 -if exist $(OBJS)\fl_sample1.ilf del $(OBJS)\fl_sample1.ilf
208 -if exist $(OBJS)\fl_sample1.ils del $(OBJS)\fl_sample1.ils
209 -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe
210 -if exist $(OBJS)\fl_sample2.tds del $(OBJS)\fl_sample2.tds
211 -if exist $(OBJS)\fl_sample2.ilc del $(OBJS)\fl_sample2.ilc
212 -if exist $(OBJS)\fl_sample2.ild del $(OBJS)\fl_sample2.ild
213 -if exist $(OBJS)\fl_sample2.ilf del $(OBJS)\fl_sample2.ilf
214 -if exist $(OBJS)\fl_sample2.ils del $(OBJS)\fl_sample2.ils
215 -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe
216 -if exist $(OBJS)\fl_sample3.tds del $(OBJS)\fl_sample3.tds
217 -if exist $(OBJS)\fl_sample3.ilc del $(OBJS)\fl_sample3.ilc
218 -if exist $(OBJS)\fl_sample3.ild del $(OBJS)\fl_sample3.ild
219 -if exist $(OBJS)\fl_sample3.ilf del $(OBJS)\fl_sample3.ilf
220 -if exist $(OBJS)\fl_sample3.ils del $(OBJS)\fl_sample3.ils
222 $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res
223 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
224 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)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_demo1_fl_demo1.res
227 $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res
228 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
229 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)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_demo2_fl_demo2.res
232 $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res
233 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
234 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)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample1_fl_sample1.res
237 $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res
238 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
239 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)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample2_fl_sample2.res
242 $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res
243 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
244 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)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample3_fl_sample3.res
248 if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps
249 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
251 $(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp
252 $(CXX) -q -c -P -o$@ $(FL_DEMO1_CXXFLAGS) $**
254 $(OBJS)\fl_demo1_fl_demo1.res: .\fl_demo1.rc
255 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/" $**
257 $(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp
258 $(CXX) -q -c -P -o$@ $(FL_DEMO2_CXXFLAGS) $**
260 $(OBJS)\fl_demo2_fl_demo2.res: .\fl_demo2.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_sample1_fl_sample1.obj: .\fl_sample1.cpp
264 $(CXX) -q -c -P -o$@ $(FL_SAMPLE1_CXXFLAGS) $**
266 $(OBJS)\fl_sample1_fl_sample1.res: .\fl_sample1.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_sample2_fl_sample2.obj: .\fl_sample2.cpp
270 $(CXX) -q -c -P -o$@ $(FL_SAMPLE2_CXXFLAGS) $**
272 $(OBJS)\fl_sample2_fl_sample2.res: .\fl_sample2.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_sample3_fl_sample3.obj: .\fl_sample3.cpp
276 $(CXX) -q -c -P -o$@ $(FL_SAMPLE3_CXXFLAGS) $**
278 $(OBJS)\fl_sample3_fl_sample3.res: .\fl_sample3.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/" $**