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