]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/fl/makefile.bcc
SWIGged updates
[wxWidgets.git] / contrib / samples / fl / makefile.bcc
CommitLineData
03206f17
VS
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
8BCCDIR = $(MAKEDIR)\..
9!endif
10
fd9f42b6 11!include ../../../build/msw/config.bcc
03206f17
VS
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
ec08d395 23FL_DEMO1_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include \
1c3a6972
VS
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)
03206f17
VS
28FL_DEMO1_OBJECTS = \
29 $(OBJS)\fl_demo1_fl_demo1.obj
ec08d395 30FL_DEMO2_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include \
1c3a6972
VS
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)
03206f17
VS
35FL_DEMO2_OBJECTS = \
36 $(OBJS)\fl_demo2_fl_demo2.obj
ec08d395 37FL_SAMPLE1_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include \
1c3a6972
VS
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)
03206f17
VS
42FL_SAMPLE1_OBJECTS = \
43 $(OBJS)\fl_sample1_fl_sample1.obj
ec08d395 44FL_SAMPLE2_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include \
1c3a6972
VS
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)
03206f17
VS
49FL_SAMPLE2_OBJECTS = \
50 $(OBJS)\fl_sample2_fl_sample2.obj
ec08d395 51FL_SAMPLE3_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_3) -I$(BCCDIR)\include \
1c3a6972
VS
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)
03206f17
VS
56FL_SAMPLE3_OBJECTS = \
57 $(OBJS)\fl_sample3_fl_sample3.obj
03206f17
VS
58OBJS = \
59 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
60SETUPHDIR = \
61 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
03206f17
VS
62
63### Conditionally set variables: ###
64
75a0a7b7
VS
65!if "$(SHARED)" == "0"
66LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
67!endif
68!if "$(SHARED)" == "1"
69LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
70!endif
03206f17
VS
71!if "$(USE_GUI)" == "0"
72PORTNAME = base
73!endif
74!if "$(USE_GUI)" == "1"
75PORTNAME = msw
76!endif
77!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
78WXDEBUGFLAG = d
79!endif
80!if "$(DEBUG_FLAG)" == "1"
81WXDEBUGFLAG = d
82!endif
83!if "$(SHARED)" == "1"
84WXDLLFLAG = dll
85!endif
86!if "$(UNICODE)" == "1"
87WXUNICODEFLAG = u
88!endif
89!if "$(WXUNIV)" == "1"
90WXUNIVNAME = 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"
ec08d395 111__DEBUG_DEFINE_p_13 = -d__WXDEBUG__
03206f17
VS
112!endif
113!if "$(DEBUG_FLAG)" == "1"
ec08d395 114__DEBUG_DEFINE_p_13 = -d__WXDEBUG__
03206f17
VS
115!endif
116!if "$(SHARED)" == "1"
117__DLLFLAG_p = -DWXUSINGDLL
118!endif
119!if "$(SHARED)" == "1"
ec08d395 120__DLLFLAG_p_1 = -dWXUSINGDLL
03206f17
VS
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"
ec08d395 138__RUNTIME_LIBS = i
03206f17
VS
139!endif
140!if "$(RUNTIME_LIBS)" == "static"
141__RUNTIME_LIBS =
142!endif
143!if "$(RUNTIME_LIBS)" == "dynamic"
ec08d395 144__RUNTIME_LIBS_3 = -tWR
03206f17
VS
145!endif
146!if "$(RUNTIME_LIBS)" == "static"
147__RUNTIME_LIBS_3 =
148!endif
149!if "$(UNICODE)" == "1"
ec08d395 150__UNICODE_DEFINE_p = -D_UNICODE
03206f17
VS
151!endif
152!if "$(UNICODE)" == "1"
ec08d395 153__UNICODE_DEFINE_p_14 = -d_UNICODE
03206f17 154!endif
2265a2d5
VS
155!if "$(MSLU)" == "1"
156__UNICOWS_LIB_p = unicows.lib
157!endif
03206f17
VS
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
177all: $(OBJS)
178$(OBJS):
179 -if not exist $(OBJS) mkdir $(OBJS)
180
181### Targets: ###
182
9d5f4fbb 183all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files
03206f17
VS
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
ec08d395 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/" $**
03206f17
VS
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
ec08d395 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/" $**
03206f17
VS
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
ec08d395 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/" $**
03206f17
VS
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
ec08d395 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/" $**
03206f17
VS
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
ec08d395 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/" $**
03206f17
VS
214
215clean:
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
ec08d395
JS
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
03206f17 224 -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe
ec08d395
JS
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
03206f17 230 -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe
ec08d395
JS
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
03206f17 236 -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe
ec08d395
JS
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
03206f17 242 -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe
ec08d395
JS
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
03206f17 248
9d5f4fbb
VS
249data_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
03206f17 253$(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res
1c3a6972 254 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
ec08d395 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
03206f17
VS
256|
257
258$(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res
1c3a6972 259 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
ec08d395 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
03206f17
VS
261|
262
263$(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res
1c3a6972 264 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
ec08d395 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
03206f17
VS
266|
267
268$(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res
1c3a6972 269 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
ec08d395 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
03206f17
VS
271|
272
273$(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res
1c3a6972 274 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
ec08d395 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
03206f17 276|