1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.2 (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 # -------------------------------------------------------------------------
25 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 FL_DEMO1_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
30 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
31 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) \
34 $(OBJS)\fl_demo1_fl_demo1.obj
35 FL_DEMO2_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
36 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
37 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
38 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) \
41 $(OBJS)\fl_demo2_fl_demo2.obj
42 FL_SAMPLE1_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
43 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
44 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
45 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) \
47 FL_SAMPLE1_OBJECTS = \
48 $(OBJS)\fl_sample1_fl_sample1.obj
49 FL_SAMPLE2_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
50 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
51 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
52 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) \
54 FL_SAMPLE2_OBJECTS = \
55 $(OBJS)\fl_sample2_fl_sample2.obj
56 FL_SAMPLE3_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
57 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
58 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
59 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) \
61 FL_SAMPLE3_OBJECTS = \
62 $(OBJS)\fl_sample3_fl_sample3.obj
64 ### Conditionally set variables: ###
66 !if "$(USE_GUI)" == "0"
69 !if "$(USE_GUI)" == "1"
72 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
75 !if "$(DEBUG_FLAG)" == "1"
78 !if "$(UNICODE)" == "1"
81 !if "$(WXUNIV)" == "1"
84 !if "$(SHARED)" == "1"
87 !if "$(BUILD)" == "debug"
90 !if "$(BUILD)" == "release"
93 !if "$(RUNTIME_LIBS)" == "dynamic"
96 !if "$(RUNTIME_LIBS)" == "static"
99 !if "$(RUNTIME_LIBS)" == "dynamic"
102 !if "$(RUNTIME_LIBS)" == "static"
105 !if "$(WXUNIV)" == "1"
106 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
108 !if "$(WXUNIV)" == "1"
109 __WXUNIV_DEFINE_p_12 = -d__WXUNIVERSAL__
111 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
112 __DEBUG_DEFINE_p = -D__WXDEBUG__
114 !if "$(DEBUG_FLAG)" == "1"
115 __DEBUG_DEFINE_p = -D__WXDEBUG__
117 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
118 __DEBUG_DEFINE_p_12 = -d__WXDEBUG__
120 !if "$(DEBUG_FLAG)" == "1"
121 __DEBUG_DEFINE_p_12 = -d__WXDEBUG__
123 !if "$(UNICODE)" == "1"
124 __UNICODE_DEFINE_p = -D_UNICODE
126 !if "$(UNICODE)" == "1"
127 __UNICODE_DEFINE_p_12 = -d_UNICODE
129 !if "$(SHARED)" == "0"
130 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
132 !if "$(SHARED)" == "1"
133 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
135 !if "$(SHARED)" == "1"
136 __DLLFLAG_p = -DWXUSINGDLL
138 !if "$(SHARED)" == "1"
139 __DLLFLAG_p_12 = -dWXUSINGDLL
141 !if "$(MONOLITHIC)" == "0"
143 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
145 !if "$(MONOLITHIC)" == "0"
146 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
148 !if "$(MONOLITHIC)" == "1"
150 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
152 !if "$(USE_GUI)" == "1"
153 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
155 !if "$(USE_GUI)" == "1"
156 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
158 !if "$(USE_GUI)" == "1"
159 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
162 __UNICOWS_LIB_p = unicows.lib
164 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
167 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
170 !if "$(DEBUG_INFO)" == "0"
173 !if "$(DEBUG_INFO)" == "1"
180 -if not exist $(OBJS) mkdir $(OBJS)
184 all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files
187 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
188 -if exist $(OBJS)\*.res del $(OBJS)\*.res
189 -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe
190 -if exist $(OBJS)\fl_demo1.tds del $(OBJS)\fl_demo1.tds
191 -if exist $(OBJS)\fl_demo1.ilc del $(OBJS)\fl_demo1.ilc
192 -if exist $(OBJS)\fl_demo1.ild del $(OBJS)\fl_demo1.ild
193 -if exist $(OBJS)\fl_demo1.ilf del $(OBJS)\fl_demo1.ilf
194 -if exist $(OBJS)\fl_demo1.ils del $(OBJS)\fl_demo1.ils
195 -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe
196 -if exist $(OBJS)\fl_demo2.tds del $(OBJS)\fl_demo2.tds
197 -if exist $(OBJS)\fl_demo2.ilc del $(OBJS)\fl_demo2.ilc
198 -if exist $(OBJS)\fl_demo2.ild del $(OBJS)\fl_demo2.ild
199 -if exist $(OBJS)\fl_demo2.ilf del $(OBJS)\fl_demo2.ilf
200 -if exist $(OBJS)\fl_demo2.ils del $(OBJS)\fl_demo2.ils
201 -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe
202 -if exist $(OBJS)\fl_sample1.tds del $(OBJS)\fl_sample1.tds
203 -if exist $(OBJS)\fl_sample1.ilc del $(OBJS)\fl_sample1.ilc
204 -if exist $(OBJS)\fl_sample1.ild del $(OBJS)\fl_sample1.ild
205 -if exist $(OBJS)\fl_sample1.ilf del $(OBJS)\fl_sample1.ilf
206 -if exist $(OBJS)\fl_sample1.ils del $(OBJS)\fl_sample1.ils
207 -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe
208 -if exist $(OBJS)\fl_sample2.tds del $(OBJS)\fl_sample2.tds
209 -if exist $(OBJS)\fl_sample2.ilc del $(OBJS)\fl_sample2.ilc
210 -if exist $(OBJS)\fl_sample2.ild del $(OBJS)\fl_sample2.ild
211 -if exist $(OBJS)\fl_sample2.ilf del $(OBJS)\fl_sample2.ilf
212 -if exist $(OBJS)\fl_sample2.ils del $(OBJS)\fl_sample2.ils
213 -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe
214 -if exist $(OBJS)\fl_sample3.tds del $(OBJS)\fl_sample3.tds
215 -if exist $(OBJS)\fl_sample3.ilc del $(OBJS)\fl_sample3.ilc
216 -if exist $(OBJS)\fl_sample3.ild del $(OBJS)\fl_sample3.ild
217 -if exist $(OBJS)\fl_sample3.ilf del $(OBJS)\fl_sample3.ilf
218 -if exist $(OBJS)\fl_sample3.ils del $(OBJS)\fl_sample3.ils
220 $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res
221 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
222 c0w32.obj $(FL_DEMO1_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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 odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_demo1_fl_demo1.res
225 $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res
226 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
227 c0w32.obj $(FL_DEMO2_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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 odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_demo2_fl_demo2.res
230 $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res
231 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
232 c0w32.obj $(FL_SAMPLE1_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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 odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample1_fl_sample1.res
235 $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res
236 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
237 c0w32.obj $(FL_SAMPLE2_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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 odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample2_fl_sample2.res
240 $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res
241 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
242 c0w32.obj $(FL_SAMPLE3_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__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 odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample3_fl_sample3.res
246 if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps
247 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
249 $(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp
250 $(CXX) -q -c -P -o$@ $(FL_DEMO1_CXXFLAGS) $**
252 $(OBJS)\fl_demo1_fl_demo1.res: .\fl_demo1.rc
253 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 -i.\..\..\include -dBMP_DIR="bitmaps/" $**
255 $(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp
256 $(CXX) -q -c -P -o$@ $(FL_DEMO2_CXXFLAGS) $**
258 $(OBJS)\fl_demo2_fl_demo2.res: .\fl_demo2.rc
259 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 -i.\..\..\include -dBMP_DIR="bitmaps/" $**
261 $(OBJS)\fl_sample1_fl_sample1.obj: .\fl_sample1.cpp
262 $(CXX) -q -c -P -o$@ $(FL_SAMPLE1_CXXFLAGS) $**
264 $(OBJS)\fl_sample1_fl_sample1.res: .\fl_sample1.rc
265 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 -i.\..\..\include -dBMP_DIR="bitmaps/" $**
267 $(OBJS)\fl_sample2_fl_sample2.obj: .\fl_sample2.cpp
268 $(CXX) -q -c -P -o$@ $(FL_SAMPLE2_CXXFLAGS) $**
270 $(OBJS)\fl_sample2_fl_sample2.res: .\fl_sample2.rc
271 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 -i.\..\..\include -dBMP_DIR="bitmaps/" $**
273 $(OBJS)\fl_sample3_fl_sample3.obj: .\fl_sample3.cpp
274 $(CXX) -q -c -P -o$@ $(FL_SAMPLE3_CXXFLAGS) $**
276 $(OBJS)\fl_sample3_fl_sample3.res: .\fl_sample3.rc
277 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 -i.\..\..\include -dBMP_DIR="bitmaps/" $**