]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/fl/makefile.bcc
Warning fixes and deprecated method elimination from ABX.
[wxWidgets.git] / contrib / samples / fl / makefile.bcc
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 # =========================================================================
6
7 !ifndef BCCDIR
8 BCCDIR = $(MAKEDIR)\..
9 !endif
10
11 !include ../../../build/msw/config.bcc
12
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
16
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
19 !endif
20
21 ### Variables: ###
22
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)
28 FL_DEMO1_OBJECTS = \
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)
35 FL_DEMO2_OBJECTS = \
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
58 OBJS = \
59 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
60 SETUPHDIR = \
61 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
62
63 ### Conditionally set variables: ###
64
65 !if "$(SHARED)" == "0"
66 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
67 !endif
68 !if "$(SHARED)" == "1"
69 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
70 !endif
71 !if "$(USE_GUI)" == "0"
72 PORTNAME = base
73 !endif
74 !if "$(USE_GUI)" == "1"
75 PORTNAME = msw
76 !endif
77 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
78 WXDEBUGFLAG = d
79 !endif
80 !if "$(DEBUG_FLAG)" == "1"
81 WXDEBUGFLAG = d
82 !endif
83 !if "$(SHARED)" == "1"
84 WXDLLFLAG = dll
85 !endif
86 !if "$(UNICODE)" == "1"
87 WXUNICODEFLAG = u
88 !endif
89 !if "$(WXUNIV)" == "1"
90 WXUNIVNAME = univ
91 !endif
92 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
93 __DEBUGINFO = -v
94 !endif
95 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
96 __DEBUGINFO = -v-
97 !endif
98 !if "$(DEBUG_INFO)" == "0"
99 __DEBUGINFO = -v-
100 !endif
101 !if "$(DEBUG_INFO)" == "1"
102 __DEBUGINFO = -v
103 !endif
104 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
105 __DEBUG_DEFINE_p = -D__WXDEBUG__
106 !endif
107 !if "$(DEBUG_FLAG)" == "1"
108 __DEBUG_DEFINE_p = -D__WXDEBUG__
109 !endif
110 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
111 __DEBUG_DEFINE_p_13 = -d__WXDEBUG__
112 !endif
113 !if "$(DEBUG_FLAG)" == "1"
114 __DEBUG_DEFINE_p_13 = -d__WXDEBUG__
115 !endif
116 !if "$(SHARED)" == "1"
117 __DLLFLAG_p = -DWXUSINGDLL
118 !endif
119 !if "$(SHARED)" == "1"
120 __DLLFLAG_p_12 = -dWXUSINGDLL
121 !endif
122 !if "$(USE_GUI)" == "1"
123 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
124 !endif
125 !if "$(USE_GUI)" == "1"
126 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
127 !endif
128 !if "$(USE_GUI)" == "1"
129 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
130 !endif
131 !if "$(BUILD)" == "debug"
132 __OPTIMIZEFLAG = -Od
133 !endif
134 !if "$(BUILD)" == "release"
135 __OPTIMIZEFLAG = -O2
136 !endif
137 !if "$(RUNTIME_LIBS)" == "dynamic"
138 __RUNTIME_LIBS = i
139 !endif
140 !if "$(RUNTIME_LIBS)" == "static"
141 __RUNTIME_LIBS =
142 !endif
143 !if "$(RUNTIME_LIBS)" == "dynamic"
144 __RUNTIME_LIBS_3 = -tWR
145 !endif
146 !if "$(RUNTIME_LIBS)" == "static"
147 __RUNTIME_LIBS_3 =
148 !endif
149 !if "$(UNICODE)" == "1"
150 __UNICODE_DEFINE_p = -D_UNICODE
151 !endif
152 !if "$(UNICODE)" == "1"
153 __UNICODE_DEFINE_p_14 = -d_UNICODE
154 !endif
155 !if "$(MSLU)" == "1"
156 __UNICOWS_LIB_p = unicows.lib
157 !endif
158 !if "$(MONOLITHIC)" == "0"
159 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
160 !endif
161 !if "$(MONOLITHIC)" == "0"
162 __WXLIB_CORE_p = \
163 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
164 !endif
165 !if "$(MONOLITHIC)" == "1"
166 __WXLIB_MONO_p = \
167 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
168 !endif
169 !if "$(WXUNIV)" == "1"
170 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
171 !endif
172 !if "$(WXUNIV)" == "1"
173 __WXUNIV_DEFINE_p_11 = -d__WXUNIVERSAL__
174 !endif
175
176
177 all: $(OBJS)
178 $(OBJS):
179 -if not exist $(OBJS) mkdir $(OBJS)
180
181 ### Targets: ###
182
183 all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files
184
185 $(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp
186 $(CXX) -q -c -P -o$@ $(FL_DEMO1_CXXFLAGS) $**
187
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_12) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
190
191 $(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp
192 $(CXX) -q -c -P -o$@ $(FL_DEMO2_CXXFLAGS) $**
193
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_12) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
196
197 $(OBJS)\fl_sample1_fl_sample1.obj: .\fl_sample1.cpp
198 $(CXX) -q -c -P -o$@ $(FL_SAMPLE1_CXXFLAGS) $**
199
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_12) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
202
203 $(OBJS)\fl_sample2_fl_sample2.obj: .\fl_sample2.cpp
204 $(CXX) -q -c -P -o$@ $(FL_SAMPLE2_CXXFLAGS) $**
205
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_12) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
208
209 $(OBJS)\fl_sample3_fl_sample3.obj: .\fl_sample3.cpp
210 $(CXX) -q -c -P -o$@ $(FL_SAMPLE3_CXXFLAGS) $**
211
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_12) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
214
215 clean:
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
248
249 data_files:
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
252
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
256 |
257
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
261 |
262
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
266 |
267
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
271 |
272
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
276 |