]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/fl/makefile.bcc
regenerated makefiles
[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
23FL_DEMO1_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
24 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
75a0a7b7
VS
25 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
26 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
03206f17
VS
27FL_DEMO1_OBJECTS = \
28 $(OBJS)\fl_demo1_fl_demo1.obj
29FL_DEMO2_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
30 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
75a0a7b7
VS
31 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
32 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
03206f17
VS
33FL_DEMO2_OBJECTS = \
34 $(OBJS)\fl_demo2_fl_demo2.obj
35FL_SAMPLE1_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
36 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
75a0a7b7
VS
37 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
38 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
03206f17
VS
39FL_SAMPLE1_OBJECTS = \
40 $(OBJS)\fl_sample1_fl_sample1.obj
41FL_SAMPLE2_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
42 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
75a0a7b7
VS
43 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
44 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
03206f17
VS
45FL_SAMPLE2_OBJECTS = \
46 $(OBJS)\fl_sample2_fl_sample2.obj
47FL_SAMPLE3_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGINFO) \
48 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
75a0a7b7
VS
49 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
50 -I.\..\..\..\samples -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
03206f17
VS
51FL_SAMPLE3_OBJECTS = \
52 $(OBJS)\fl_sample3_fl_sample3.obj
03206f17
VS
53OBJS = \
54 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
55SETUPHDIR = \
56 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
03206f17
VS
57
58### Conditionally set variables: ###
59
75a0a7b7
VS
60!if "$(SHARED)" == "0"
61LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
62!endif
63!if "$(SHARED)" == "1"
64LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
65!endif
03206f17
VS
66!if "$(USE_GUI)" == "0"
67PORTNAME = base
68!endif
69!if "$(USE_GUI)" == "1"
70PORTNAME = msw
71!endif
72!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
73WXDEBUGFLAG = d
74!endif
75!if "$(DEBUG_FLAG)" == "1"
76WXDEBUGFLAG = d
77!endif
78!if "$(SHARED)" == "1"
79WXDLLFLAG = dll
80!endif
81!if "$(UNICODE)" == "1"
82WXUNICODEFLAG = u
83!endif
84!if "$(WXUNIV)" == "1"
85WXUNIVNAME = univ
86!endif
87!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
88__DEBUGINFO = -v
89!endif
90!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
91__DEBUGINFO = -v-
92!endif
93!if "$(DEBUG_INFO)" == "0"
94__DEBUGINFO = -v-
95!endif
96!if "$(DEBUG_INFO)" == "1"
97__DEBUGINFO = -v
98!endif
99!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
100__DEBUG_DEFINE_p = -D__WXDEBUG__
101!endif
102!if "$(DEBUG_FLAG)" == "1"
103__DEBUG_DEFINE_p = -D__WXDEBUG__
104!endif
105!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
106__DEBUG_DEFINE_p_14 = -d__WXDEBUG__
107!endif
108!if "$(DEBUG_FLAG)" == "1"
109__DEBUG_DEFINE_p_14 = -d__WXDEBUG__
110!endif
111!if "$(SHARED)" == "1"
112__DLLFLAG_p = -DWXUSINGDLL
113!endif
114!if "$(SHARED)" == "1"
75a0a7b7 115__DLLFLAG_p_11 = -dWXUSINGDLL
03206f17
VS
116!endif
117!if "$(USE_GUI)" == "1"
118__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
119!endif
120!if "$(USE_GUI)" == "1"
121__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
122!endif
123!if "$(USE_GUI)" == "1"
124__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
125!endif
126!if "$(BUILD)" == "debug"
127__OPTIMIZEFLAG = -Od
128!endif
129!if "$(BUILD)" == "release"
130__OPTIMIZEFLAG = -O2
131!endif
132!if "$(RUNTIME_LIBS)" == "dynamic"
133__RUNTIME_LIBS = -tWR
134!endif
135!if "$(RUNTIME_LIBS)" == "static"
136__RUNTIME_LIBS =
137!endif
138!if "$(RUNTIME_LIBS)" == "dynamic"
139__RUNTIME_LIBS_3 = i
140!endif
141!if "$(RUNTIME_LIBS)" == "static"
142__RUNTIME_LIBS_3 =
143!endif
144!if "$(UNICODE)" == "1"
145__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
146!endif
147!if "$(UNICODE)" == "1"
148__UNICODE_DEFINE_p_15 = -dwxUSE_UNICODE=1
149!endif
2265a2d5
VS
150!if "$(MSLU)" == "1"
151__UNICOWS_LIB_p = unicows.lib
152!endif
03206f17
VS
153!if "$(MONOLITHIC)" == "0"
154__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
155!endif
156!if "$(MONOLITHIC)" == "0"
157__WXLIB_CORE_p = \
158 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
159!endif
160!if "$(MONOLITHIC)" == "1"
161__WXLIB_MONO_p = \
162 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
163!endif
164!if "$(WXUNIV)" == "1"
165__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
166!endif
167!if "$(WXUNIV)" == "1"
168__WXUNIV_DEFINE_p_11 = -d__WXUNIVERSAL__
169!endif
170
171
172all: $(OBJS)
173$(OBJS):
174 -if not exist $(OBJS) mkdir $(OBJS)
175
176### Targets: ###
177
178all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe
179
180$(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp
181 $(CXX) -q -c -P -o$@ $(FL_DEMO1_CXXFLAGS) $**
182
183$(OBJS)\fl_demo1_fl_demo1.res: .\fl_demo1.rc
75a0a7b7 184 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_14) $(__UNICODE_DEFINE_p_15) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_11) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
03206f17
VS
185
186$(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp
187 $(CXX) -q -c -P -o$@ $(FL_DEMO2_CXXFLAGS) $**
188
189$(OBJS)\fl_demo2_fl_demo2.res: .\fl_demo2.rc
75a0a7b7 190 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_14) $(__UNICODE_DEFINE_p_15) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_11) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
03206f17
VS
191
192$(OBJS)\fl_sample1_fl_sample1.obj: .\fl_sample1.cpp
193 $(CXX) -q -c -P -o$@ $(FL_SAMPLE1_CXXFLAGS) $**
194
195$(OBJS)\fl_sample1_fl_sample1.res: .\fl_sample1.rc
75a0a7b7 196 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_14) $(__UNICODE_DEFINE_p_15) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_11) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
03206f17
VS
197
198$(OBJS)\fl_sample2_fl_sample2.obj: .\fl_sample2.cpp
199 $(CXX) -q -c -P -o$@ $(FL_SAMPLE2_CXXFLAGS) $**
200
201$(OBJS)\fl_sample2_fl_sample2.res: .\fl_sample2.rc
75a0a7b7 202 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_14) $(__UNICODE_DEFINE_p_15) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_11) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
03206f17
VS
203
204$(OBJS)\fl_sample3_fl_sample3.obj: .\fl_sample3.cpp
205 $(CXX) -q -c -P -o$@ $(FL_SAMPLE3_CXXFLAGS) $**
206
207$(OBJS)\fl_sample3_fl_sample3.res: .\fl_sample3.rc
75a0a7b7 208 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_14) $(__UNICODE_DEFINE_p_15) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_11) -i.\..\..\..\samples -i.\..\..\include -dBMP_DIR="bitmaps/" $**
03206f17
VS
209
210clean:
211 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
212 -if exist $(OBJS)\*.res del $(OBJS)\*.res
213 -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe
214 -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe
215 -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe
216 -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe
217 -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe
218
219$(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res
75a0a7b7 220 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
2265a2d5 221 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) import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_demo1_fl_demo1.res
03206f17
VS
222|
223
224$(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res
75a0a7b7 225 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
2265a2d5 226 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) import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_demo2_fl_demo2.res
03206f17
VS
227|
228
229$(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res
75a0a7b7 230 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
2265a2d5 231 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) import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample1_fl_sample1.res
03206f17
VS
232|
233
234$(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res
75a0a7b7 235 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
2265a2d5 236 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) import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample2_fl_sample2.res
03206f17
VS
237|
238
239$(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res
75a0a7b7 240 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
2265a2d5 241 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) import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_3).lib,, $(OBJS)\fl_sample3_fl_sample3.res
03206f17 242|