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