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 !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 # -------------------------------------------------------------------------
24 FL_DEMO1_CXXFLAGS = $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include $(__DEBUGINFO) \
25 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
26 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
27 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) \
30 $(OBJS)\fl_demo1_fl_demo1.obj
31 FL_DEMO2_CXXFLAGS = $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
33 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
34 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) \
37 $(OBJS)\fl_demo2_fl_demo2.obj
38 FL_SAMPLE1_CXXFLAGS = $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include $(__DEBUGINFO) \
39 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
40 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
41 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) \
43 FL_SAMPLE1_OBJECTS = \
44 $(OBJS)\fl_sample1_fl_sample1.obj
45 FL_SAMPLE2_CXXFLAGS = $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include $(__DEBUGINFO) \
46 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
47 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
48 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) \
50 FL_SAMPLE2_OBJECTS = \
51 $(OBJS)\fl_sample2_fl_sample2.obj
52 FL_SAMPLE3_CXXFLAGS = $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include $(__DEBUGINFO) \
53 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
54 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
55 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) \
57 FL_SAMPLE3_OBJECTS = \
58 $(OBJS)\fl_sample3_fl_sample3.obj
60 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
62 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
64 ### Conditionally set variables: ###
66 !if "$(SHARED)" == "0"
67 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
69 !if "$(SHARED)" == "1"
70 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
72 !if "$(USE_GUI)" == "0"
75 !if "$(USE_GUI)" == "1"
78 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
81 !if "$(DEBUG_FLAG)" == "1"
84 !if "$(SHARED)" == "1"
87 !if "$(UNICODE)" == "1"
90 !if "$(WXUNIV)" == "1"
93 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
96 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
99 !if "$(DEBUG_INFO)" == "0"
102 !if "$(DEBUG_INFO)" == "1"
105 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
106 __DEBUG_DEFINE_p = -D__WXDEBUG__
108 !if "$(DEBUG_FLAG)" == "1"
109 __DEBUG_DEFINE_p = -D__WXDEBUG__
111 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
112 __DEBUG_DEFINE_p_13 = -d__WXDEBUG__
114 !if "$(DEBUG_FLAG)" == "1"
115 __DEBUG_DEFINE_p_13 = -d__WXDEBUG__
117 !if "$(SHARED)" == "1"
118 __DLLFLAG_p = -DWXUSINGDLL
120 !if "$(SHARED)" == "1"
121 __DLLFLAG_p_11 = -dWXUSINGDLL
123 !if "$(USE_GUI)" == "1"
124 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
126 !if "$(USE_GUI)" == "1"
127 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
129 !if "$(USE_GUI)" == "1"
130 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
132 !if "$(BUILD)" == "debug"
135 !if "$(BUILD)" == "release"
138 !if "$(RUNTIME_LIBS)" == "dynamic"
141 !if "$(RUNTIME_LIBS)" == "static"
144 !if "$(RUNTIME_LIBS)" == "dynamic"
145 __RUNTIME_LIBS_3 = -tWR
147 !if "$(RUNTIME_LIBS)" == "static"
150 !if "$(UNICODE)" == "1"
151 __UNICODE_DEFINE_p = -D_UNICODE
153 !if "$(UNICODE)" == "1"
154 __UNICODE_DEFINE_p_14 = -d_UNICODE
157 __UNICOWS_LIB_p = unicows.lib
159 !if "$(MONOLITHIC)" == "0"
160 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
162 !if "$(MONOLITHIC)" == "0"
164 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
166 !if "$(MONOLITHIC)" == "1"
168 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
170 !if "$(WXUNIV)" == "1"
171 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
173 !if "$(WXUNIV)" == "1"
174 __WXUNIV_DEFINE_p_14 = -d__WXUNIVERSAL__
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
186 $(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp
187 $(CXX) -q -c -P -o$@ $(FL_DEMO1_CXXFLAGS) $**
189 $(OBJS)\fl_demo1_fl_demo1.res: .\fl_demo1.rc
190 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_14) $(__DEBUG_DEFINE_p_13) $(__UNICODE_DEFINE_p_14) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_11) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
192 $(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp
193 $(CXX) -q -c -P -o$@ $(FL_DEMO2_CXXFLAGS) $**
195 $(OBJS)\fl_demo2_fl_demo2.res: .\fl_demo2.rc
196 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_14) $(__DEBUG_DEFINE_p_13) $(__UNICODE_DEFINE_p_14) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_11) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
198 $(OBJS)\fl_sample1_fl_sample1.obj: .\fl_sample1.cpp
199 $(CXX) -q -c -P -o$@ $(FL_SAMPLE1_CXXFLAGS) $**
201 $(OBJS)\fl_sample1_fl_sample1.res: .\fl_sample1.rc
202 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_14) $(__DEBUG_DEFINE_p_13) $(__UNICODE_DEFINE_p_14) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_11) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
204 $(OBJS)\fl_sample2_fl_sample2.obj: .\fl_sample2.cpp
205 $(CXX) -q -c -P -o$@ $(FL_SAMPLE2_CXXFLAGS) $**
207 $(OBJS)\fl_sample2_fl_sample2.res: .\fl_sample2.rc
208 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_14) $(__DEBUG_DEFINE_p_13) $(__UNICODE_DEFINE_p_14) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_11) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
210 $(OBJS)\fl_sample3_fl_sample3.obj: .\fl_sample3.cpp
211 $(CXX) -q -c -P -o$@ $(FL_SAMPLE3_CXXFLAGS) $**
213 $(OBJS)\fl_sample3_fl_sample3.res: .\fl_sample3.rc
214 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_14) $(__DEBUG_DEFINE_p_13) $(__UNICODE_DEFINE_p_14) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_11) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
217 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
218 -if exist $(OBJS)\*.res del $(OBJS)\*.res
219 -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe
220 -if exist $(OBJS)\fl_demo1.tds del $(OBJS)\fl_demo1.tds
221 -if exist $(OBJS)\fl_demo1.ilc del $(OBJS)\fl_demo1.ilc
222 -if exist $(OBJS)\fl_demo1.ild del $(OBJS)\fl_demo1.ild
223 -if exist $(OBJS)\fl_demo1.ilf del $(OBJS)\fl_demo1.ilf
224 -if exist $(OBJS)\fl_demo1.ils del $(OBJS)\fl_demo1.ils
225 -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe
226 -if exist $(OBJS)\fl_demo2.tds del $(OBJS)\fl_demo2.tds
227 -if exist $(OBJS)\fl_demo2.ilc del $(OBJS)\fl_demo2.ilc
228 -if exist $(OBJS)\fl_demo2.ild del $(OBJS)\fl_demo2.ild
229 -if exist $(OBJS)\fl_demo2.ilf del $(OBJS)\fl_demo2.ilf
230 -if exist $(OBJS)\fl_demo2.ils del $(OBJS)\fl_demo2.ils
231 -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe
232 -if exist $(OBJS)\fl_sample1.tds del $(OBJS)\fl_sample1.tds
233 -if exist $(OBJS)\fl_sample1.ilc del $(OBJS)\fl_sample1.ilc
234 -if exist $(OBJS)\fl_sample1.ild del $(OBJS)\fl_sample1.ild
235 -if exist $(OBJS)\fl_sample1.ilf del $(OBJS)\fl_sample1.ilf
236 -if exist $(OBJS)\fl_sample1.ils del $(OBJS)\fl_sample1.ils
237 -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe
238 -if exist $(OBJS)\fl_sample2.tds del $(OBJS)\fl_sample2.tds
239 -if exist $(OBJS)\fl_sample2.ilc del $(OBJS)\fl_sample2.ilc
240 -if exist $(OBJS)\fl_sample2.ild del $(OBJS)\fl_sample2.ild
241 -if exist $(OBJS)\fl_sample2.ilf del $(OBJS)\fl_sample2.ilf
242 -if exist $(OBJS)\fl_sample2.ils del $(OBJS)\fl_sample2.ils
243 -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe
244 -if exist $(OBJS)\fl_sample3.tds del $(OBJS)\fl_sample3.tds
245 -if exist $(OBJS)\fl_sample3.ilc del $(OBJS)\fl_sample3.ilc
246 -if exist $(OBJS)\fl_sample3.ild del $(OBJS)\fl_sample3.ild
247 -if exist $(OBJS)\fl_sample3.ilf del $(OBJS)\fl_sample3.ilf
248 -if exist $(OBJS)\fl_sample3.ils del $(OBJS)\fl_sample3.ils
251 if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps
252 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
254 $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res
255 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
256 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
259 $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res
260 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
261 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
264 $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res
265 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
266 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
269 $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res
270 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
271 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
274 $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res
275 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
276 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