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/msw/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
23 FL_DEMO1_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include \
24 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
26 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\samples -I.\..\..\include \
27 -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
29 $(OBJS)\fl_demo1_fl_demo1.obj
30 FL_DEMO2_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include \
31 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
33 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\samples -I.\..\..\include \
34 -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
36 $(OBJS)\fl_demo2_fl_demo2.obj
37 FL_SAMPLE1_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include \
38 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
39 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
40 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\samples -I.\..\..\include \
41 -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
42 FL_SAMPLE1_OBJECTS = \
43 $(OBJS)\fl_sample1_fl_sample1.obj
44 FL_SAMPLE2_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include \
45 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
46 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
47 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\samples -I.\..\..\include \
48 -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
49 FL_SAMPLE2_OBJECTS = \
50 $(OBJS)\fl_sample2_fl_sample2.obj
51 FL_SAMPLE3_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include \
52 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
53 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
54 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\samples -I.\..\..\include \
55 -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
56 FL_SAMPLE3_OBJECTS = \
57 $(OBJS)\fl_sample3_fl_sample3.obj
59 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
61 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
63 ### Conditionally set variables: ###
65 !if "$(SHARED)" == "0"
66 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
68 !if "$(SHARED)" == "1"
69 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
71 !if "$(USE_GUI)" == "0"
74 !if "$(USE_GUI)" == "1"
77 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
80 !if "$(DEBUG_FLAG)" == "1"
83 !if "$(SHARED)" == "1"
86 !if "$(UNICODE)" == "1"
89 !if "$(WXUNIV)" == "1"
92 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
95 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
98 !if "$(DEBUG_INFO)" == "0"
101 !if "$(DEBUG_INFO)" == "1"
104 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
105 __DEBUG_DEFINE_p = -D__WXDEBUG__
107 !if "$(DEBUG_FLAG)" == "1"
108 __DEBUG_DEFINE_p = -D__WXDEBUG__
110 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
111 __DEBUG_DEFINE_p_13 = -d__WXDEBUG__
113 !if "$(DEBUG_FLAG)" == "1"
114 __DEBUG_DEFINE_p_13 = -d__WXDEBUG__
116 !if "$(SHARED)" == "1"
117 __DLLFLAG_p = -DWXUSINGDLL
119 !if "$(SHARED)" == "1"
120 __DLLFLAG_p_1 = -dWXUSINGDLL
122 !if "$(USE_GUI)" == "1"
123 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
125 !if "$(USE_GUI)" == "1"
126 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
128 !if "$(USE_GUI)" == "1"
129 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
131 !if "$(BUILD)" == "debug"
134 !if "$(BUILD)" == "release"
137 !if "$(RUNTIME_LIBS)" == "dynamic"
140 !if "$(RUNTIME_LIBS)" == "static"
143 !if "$(RUNTIME_LIBS)" == "dynamic"
144 __RUNTIME_LIBS_3 = -tWR
146 !if "$(RUNTIME_LIBS)" == "static"
149 !if "$(UNICODE)" == "1"
150 __UNICODE_DEFINE_p = -D_UNICODE
152 !if "$(UNICODE)" == "1"
153 __UNICODE_DEFINE_p_14 = -d_UNICODE
156 __UNICOWS_LIB_p = unicows.lib
158 !if "$(MONOLITHIC)" == "0"
159 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
161 !if "$(MONOLITHIC)" == "0"
163 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
165 !if "$(MONOLITHIC)" == "1"
167 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
169 !if "$(WXUNIV)" == "1"
170 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
172 !if "$(WXUNIV)" == "1"
173 __WXUNIV_DEFINE_p_11 = -d__WXUNIVERSAL__
179 -if not exist $(OBJS) mkdir $(OBJS)
183 all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files
185 $(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp
186 $(CXX) -q -c -P -o$@ $(FL_DEMO1_CXXFLAGS) $**
188 $(OBJS)\fl_demo1_fl_demo1.res: .\fl_demo1.rc
189 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_13) $(__UNICODE_DEFINE_p_14) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
191 $(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp
192 $(CXX) -q -c -P -o$@ $(FL_DEMO2_CXXFLAGS) $**
194 $(OBJS)\fl_demo2_fl_demo2.res: .\fl_demo2.rc
195 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_13) $(__UNICODE_DEFINE_p_14) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
197 $(OBJS)\fl_sample1_fl_sample1.obj: .\fl_sample1.cpp
198 $(CXX) -q -c -P -o$@ $(FL_SAMPLE1_CXXFLAGS) $**
200 $(OBJS)\fl_sample1_fl_sample1.res: .\fl_sample1.rc
201 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_13) $(__UNICODE_DEFINE_p_14) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
203 $(OBJS)\fl_sample2_fl_sample2.obj: .\fl_sample2.cpp
204 $(CXX) -q -c -P -o$@ $(FL_SAMPLE2_CXXFLAGS) $**
206 $(OBJS)\fl_sample2_fl_sample2.res: .\fl_sample2.rc
207 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_13) $(__UNICODE_DEFINE_p_14) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
209 $(OBJS)\fl_sample3_fl_sample3.obj: .\fl_sample3.cpp
210 $(CXX) -q -c -P -o$@ $(FL_SAMPLE3_CXXFLAGS) $**
212 $(OBJS)\fl_sample3_fl_sample3.res: .\fl_sample3.rc
213 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_13) $(__UNICODE_DEFINE_p_14) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
216 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
217 -if exist $(OBJS)\*.res del $(OBJS)\*.res
218 -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe
219 -if exist $(OBJS)\fl_demo1.tds del $(OBJS)\fl_demo1.tds
220 -if exist $(OBJS)\fl_demo1.ilc del $(OBJS)\fl_demo1.ilc
221 -if exist $(OBJS)\fl_demo1.ild del $(OBJS)\fl_demo1.ild
222 -if exist $(OBJS)\fl_demo1.ilf del $(OBJS)\fl_demo1.ilf
223 -if exist $(OBJS)\fl_demo1.ils del $(OBJS)\fl_demo1.ils
224 -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe
225 -if exist $(OBJS)\fl_demo2.tds del $(OBJS)\fl_demo2.tds
226 -if exist $(OBJS)\fl_demo2.ilc del $(OBJS)\fl_demo2.ilc
227 -if exist $(OBJS)\fl_demo2.ild del $(OBJS)\fl_demo2.ild
228 -if exist $(OBJS)\fl_demo2.ilf del $(OBJS)\fl_demo2.ilf
229 -if exist $(OBJS)\fl_demo2.ils del $(OBJS)\fl_demo2.ils
230 -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe
231 -if exist $(OBJS)\fl_sample1.tds del $(OBJS)\fl_sample1.tds
232 -if exist $(OBJS)\fl_sample1.ilc del $(OBJS)\fl_sample1.ilc
233 -if exist $(OBJS)\fl_sample1.ild del $(OBJS)\fl_sample1.ild
234 -if exist $(OBJS)\fl_sample1.ilf del $(OBJS)\fl_sample1.ilf
235 -if exist $(OBJS)\fl_sample1.ils del $(OBJS)\fl_sample1.ils
236 -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe
237 -if exist $(OBJS)\fl_sample2.tds del $(OBJS)\fl_sample2.tds
238 -if exist $(OBJS)\fl_sample2.ilc del $(OBJS)\fl_sample2.ilc
239 -if exist $(OBJS)\fl_sample2.ild del $(OBJS)\fl_sample2.ild
240 -if exist $(OBJS)\fl_sample2.ilf del $(OBJS)\fl_sample2.ilf
241 -if exist $(OBJS)\fl_sample2.ils del $(OBJS)\fl_sample2.ils
242 -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe
243 -if exist $(OBJS)\fl_sample3.tds del $(OBJS)\fl_sample3.tds
244 -if exist $(OBJS)\fl_sample3.ilc del $(OBJS)\fl_sample3.ilc
245 -if exist $(OBJS)\fl_sample3.ild del $(OBJS)\fl_sample3.ild
246 -if exist $(OBJS)\fl_sample3.ilf del $(OBJS)\fl_sample3.ilf
247 -if exist $(OBJS)\fl_sample3.ils del $(OBJS)\fl_sample3.ils
250 if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps
251 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
253 $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res
254 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
255 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 import32.lib cw32mt$(__RUNTIME_LIBS).lib,, $(OBJS)\fl_demo1_fl_demo1.res
258 $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res
259 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
260 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 import32.lib cw32mt$(__RUNTIME_LIBS).lib,, $(OBJS)\fl_demo2_fl_demo2.res
263 $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res
264 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
265 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 import32.lib cw32mt$(__RUNTIME_LIBS).lib,, $(OBJS)\fl_sample1_fl_sample1.res
268 $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res
269 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
270 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 import32.lib cw32mt$(__RUNTIME_LIBS).lib,, $(OBJS)\fl_sample2_fl_sample2.res
273 $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res
274 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
275 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 import32.lib cw32mt$(__RUNTIME_LIBS).lib,, $(OBJS)\fl_sample3_fl_sample3.res