]>
Commit | Line | Data |
---|---|---|
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 | |
8 | BCCDIR = $(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 | ||
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 | ||
fd9f42b6 VS |
172 | MAKEARGS = -DBUILD=$(BUILD) -DCFG=$(CFG) -DCPPFLAGS=$(CPPFLAGS) -DCXX=$(CXX) -DCXXFLAGS=$(CXXFLAGS) -DDEBUG_FLAG=$(DEBUG_FLAG) -DDEBUG_INFO=$(DEBUG_INFO) -DLDFLAGS=$(LDFLAGS) -DMONOLITHIC=$(MONOLITHIC) -DOFFICIAL_BUILD=$(OFFICIAL_BUILD) -DRUNTIME_LIBS=$(RUNTIME_LIBS) -DSHARED=$(SHARED) -DUNICODE=$(UNICODE) -DUSE_GUI=$(USE_GUI) -DWXUNIV=$(WXUNIV) |
173 | ||
03206f17 VS |
174 | |
175 | all: $(OBJS) | |
176 | $(OBJS): | |
177 | -if not exist $(OBJS) mkdir $(OBJS) | |
178 | ||
179 | ### Targets: ### | |
180 | ||
181 | all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe | |
182 | ||
183 | $(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp | |
184 | $(CXX) -q -c -P -o$@ $(FL_DEMO1_CXXFLAGS) $** | |
185 | ||
186 | $(OBJS)\fl_demo1_fl_demo1.res: .\fl_demo1.rc | |
fd9f42b6 | 187 | 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/" $** |
03206f17 VS |
188 | |
189 | $(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp | |
190 | $(CXX) -q -c -P -o$@ $(FL_DEMO2_CXXFLAGS) $** | |
191 | ||
192 | $(OBJS)\fl_demo2_fl_demo2.res: .\fl_demo2.rc | |
fd9f42b6 | 193 | 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/" $** |
03206f17 VS |
194 | |
195 | $(OBJS)\fl_sample1_fl_sample1.obj: .\fl_sample1.cpp | |
196 | $(CXX) -q -c -P -o$@ $(FL_SAMPLE1_CXXFLAGS) $** | |
197 | ||
198 | $(OBJS)\fl_sample1_fl_sample1.res: .\fl_sample1.rc | |
fd9f42b6 | 199 | 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/" $** |
03206f17 VS |
200 | |
201 | $(OBJS)\fl_sample2_fl_sample2.obj: .\fl_sample2.cpp | |
202 | $(CXX) -q -c -P -o$@ $(FL_SAMPLE2_CXXFLAGS) $** | |
203 | ||
204 | $(OBJS)\fl_sample2_fl_sample2.res: .\fl_sample2.rc | |
fd9f42b6 | 205 | 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/" $** |
03206f17 VS |
206 | |
207 | $(OBJS)\fl_sample3_fl_sample3.obj: .\fl_sample3.cpp | |
208 | $(CXX) -q -c -P -o$@ $(FL_SAMPLE3_CXXFLAGS) $** | |
209 | ||
210 | $(OBJS)\fl_sample3_fl_sample3.res: .\fl_sample3.rc | |
fd9f42b6 | 211 | 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/" $** |
03206f17 VS |
212 | |
213 | clean: | |
214 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
215 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
216 | -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe | |
217 | -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe | |
218 | -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe | |
219 | -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe | |
220 | -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe | |
221 | ||
222 | $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res | |
223 | ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&| | |
224 | 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 | |
225 | | | |
226 | ||
227 | $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res | |
228 | ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&| | |
229 | 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 | |
230 | | | |
231 | ||
232 | $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res | |
233 | ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&| | |
234 | 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 | |
235 | | | |
236 | ||
237 | $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res | |
238 | ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&| | |
239 | 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 | |
240 | | | |
241 | ||
242 | $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res | |
243 | ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&| | |
244 | 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 | |
245 | | |