]>
Commit | Line | Data |
---|---|---|
03206f17 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
cf9b63b3 | 3 | # Bakefile 0.2.0 (http://bakefile.sourceforge.net) |
03206f17 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
fd9f42b6 | 7 | !include <../../../build/msw/config.vc> |
03206f17 VS |
8 | |
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
4cbcfb73 | 15 | WX_RELEASE_NODOT = 27 |
b17c1746 | 16 | OBJS = \ |
ab6ea1ac MW |
17 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU) |
18 | LIBDIRNAME = .\..\..\..\lib\vc$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG) | |
b17c1746 DE |
19 | SETUPHDIR = \ |
20 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
21c6080d JS |
21 | FL_DEMO1_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 \ |
22 | $(__DEBUGINFO) /Fd$(OBJS)\fl_demo1.pdb $(____DEBUGRUNTIME) \ | |
ec08d395 | 23 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
8c9f8f91 | 24 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
2113bc77 | 25 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
9d309aad | 26 | /I$(SETUPHDIR) /I.\..\..\..\include /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ |
2113bc77 MW |
27 | /I.\..\..\..\samples /DNOPCH /I.\..\..\include /DBMP_DIR=\"bitmaps/\" \ |
28 | $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
03206f17 VS |
29 | FL_DEMO1_OBJECTS = \ |
30 | $(OBJS)\fl_demo1_fl_demo1.obj \ | |
31 | $(OBJS)\fl_demo1_fl_demo1.res | |
21c6080d JS |
32 | FL_DEMO2_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME) /DWIN32 \ |
33 | $(__DEBUGINFO) /Fd$(OBJS)\fl_demo2.pdb $(____DEBUGRUNTIME) \ | |
ec08d395 | 34 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
8c9f8f91 | 35 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
2113bc77 | 36 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
9d309aad | 37 | /I$(SETUPHDIR) /I.\..\..\..\include /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ |
2113bc77 MW |
38 | /I.\..\..\..\samples /DNOPCH /I.\..\..\include /DBMP_DIR=\"bitmaps/\" \ |
39 | $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
03206f17 VS |
40 | FL_DEMO2_OBJECTS = \ |
41 | $(OBJS)\fl_demo2_fl_demo2.obj \ | |
42 | $(OBJS)\fl_demo2_fl_demo2.res | |
21c6080d JS |
43 | FL_SAMPLE1_CXXFLAGS = /M$(__RUNTIME_LIBS_36)$(__DEBUGRUNTIME) /DWIN32 \ |
44 | $(__DEBUGINFO) /Fd$(OBJS)\fl_sample1.pdb $(____DEBUGRUNTIME) \ | |
a4ad36cd | 45 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
8c9f8f91 | 46 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
2113bc77 | 47 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
9d309aad | 48 | /I$(SETUPHDIR) /I.\..\..\..\include /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ |
2113bc77 MW |
49 | /I.\..\..\..\samples /DNOPCH /I.\..\..\include /DBMP_DIR=\"bitmaps/\" \ |
50 | $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
03206f17 VS |
51 | FL_SAMPLE1_OBJECTS = \ |
52 | $(OBJS)\fl_sample1_fl_sample1.obj \ | |
53 | $(OBJS)\fl_sample1_fl_sample1.res | |
21c6080d JS |
54 | FL_SAMPLE2_CXXFLAGS = /M$(__RUNTIME_LIBS_50)$(__DEBUGRUNTIME) /DWIN32 \ |
55 | $(__DEBUGINFO) /Fd$(OBJS)\fl_sample2.pdb $(____DEBUGRUNTIME) \ | |
a4ad36cd | 56 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
8c9f8f91 | 57 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
2113bc77 | 58 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
9d309aad | 59 | /I$(SETUPHDIR) /I.\..\..\..\include /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ |
2113bc77 MW |
60 | /I.\..\..\..\samples /DNOPCH /I.\..\..\include /DBMP_DIR=\"bitmaps/\" \ |
61 | $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
03206f17 VS |
62 | FL_SAMPLE2_OBJECTS = \ |
63 | $(OBJS)\fl_sample2_fl_sample2.obj \ | |
64 | $(OBJS)\fl_sample2_fl_sample2.res | |
21c6080d JS |
65 | FL_SAMPLE3_CXXFLAGS = /M$(__RUNTIME_LIBS_64)$(__DEBUGRUNTIME) /DWIN32 \ |
66 | $(__DEBUGINFO) /Fd$(OBJS)\fl_sample3.pdb $(____DEBUGRUNTIME) \ | |
a4ad36cd | 67 | $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
8c9f8f91 | 68 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ |
2113bc77 | 69 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
9d309aad | 70 | /I$(SETUPHDIR) /I.\..\..\..\include /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ |
2113bc77 MW |
71 | /I.\..\..\..\samples /DNOPCH /I.\..\..\include /DBMP_DIR=\"bitmaps/\" \ |
72 | $(__RTTIFLAG) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS) | |
03206f17 VS |
73 | FL_SAMPLE3_OBJECTS = \ |
74 | $(OBJS)\fl_sample3_fl_sample3.obj \ | |
75 | $(OBJS)\fl_sample3_fl_sample3.res | |
03206f17 VS |
76 | |
77 | ### Conditionally set variables: ### | |
78 | ||
79 | !if "$(USE_GUI)" == "0" | |
80 | PORTNAME = base | |
81 | !endif | |
82 | !if "$(USE_GUI)" == "1" | |
83 | PORTNAME = msw | |
84 | !endif | |
85 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
86 | WXDEBUGFLAG = d | |
87 | !endif | |
88 | !if "$(DEBUG_FLAG)" == "1" | |
89 | WXDEBUGFLAG = d | |
90 | !endif | |
03206f17 VS |
91 | !if "$(UNICODE)" == "1" |
92 | WXUNICODEFLAG = u | |
93 | !endif | |
94 | !if "$(WXUNIV)" == "1" | |
95 | WXUNIVNAME = univ | |
96 | !endif | |
9d309aad | 97 | !if "$(TARGET_CPU)" == "amd64" |
ab6ea1ac MW |
98 | DIR_SUFFIX_CPU = _amd64 |
99 | !endif | |
9d309aad MW |
100 | !if "$(TARGET_CPU)" == "amd64" |
101 | DIR_SUFFIX_CPU = _amd64 | |
102 | !endif | |
103 | !if "$(TARGET_CPU)" == "ia64" | |
104 | DIR_SUFFIX_CPU = _ia64 | |
105 | !endif | |
106 | !if "$(TARGET_CPU)" == "ia64" | |
ab6ea1ac MW |
107 | DIR_SUFFIX_CPU = _ia64 |
108 | !endif | |
b17c1746 DE |
109 | !if "$(SHARED)" == "1" |
110 | WXDLLFLAG = dll | |
03206f17 | 111 | !endif |
b14abf14 JS |
112 | !if "$(SHARED)" == "0" |
113 | LIBTYPE_SUFFIX = lib | |
114 | !endif | |
115 | !if "$(SHARED)" == "1" | |
116 | LIBTYPE_SUFFIX = dll | |
117 | !endif | |
9d309aad MW |
118 | !if "$(TARGET_CPU)" == "amd64" |
119 | LINK_TARGET_CPU = /MACHINE:AMD64 | |
120 | !endif | |
121 | !if "$(TARGET_CPU)" == "amd64" | |
ab6ea1ac MW |
122 | LINK_TARGET_CPU = /MACHINE:AMD64 |
123 | !endif | |
9d309aad MW |
124 | !if "$(TARGET_CPU)" == "ia64" |
125 | LINK_TARGET_CPU = /MACHINE:IA64 | |
126 | !endif | |
127 | !if "$(TARGET_CPU)" == "ia64" | |
ab6ea1ac MW |
128 | LINK_TARGET_CPU = /MACHINE:IA64 |
129 | !endif | |
dd65d8c8 RN |
130 | !if "$(MONOLITHIC)" == "0" |
131 | EXTRALIBS_FOR_BASE = | |
132 | !endif | |
133 | !if "$(MONOLITHIC)" == "1" | |
134 | EXTRALIBS_FOR_BASE = | |
135 | !endif | |
8c9f8f91 JS |
136 | !if "$(RUNTIME_LIBS)" == "dynamic" |
137 | __RUNTIME_LIBS_8 = D | |
138 | !endif | |
139 | !if "$(RUNTIME_LIBS)" == "static" | |
140 | __RUNTIME_LIBS_8 = $(__THREADSFLAG) | |
03206f17 | 141 | !endif |
8c9f8f91 JS |
142 | !if "$(RUNTIME_LIBS)" == "dynamic" |
143 | __RUNTIME_LIBS_22 = D | |
144 | !endif | |
145 | !if "$(RUNTIME_LIBS)" == "static" | |
146 | __RUNTIME_LIBS_22 = $(__THREADSFLAG) | |
03206f17 | 147 | !endif |
8c9f8f91 JS |
148 | !if "$(RUNTIME_LIBS)" == "dynamic" |
149 | __RUNTIME_LIBS_36 = D | |
150 | !endif | |
151 | !if "$(RUNTIME_LIBS)" == "static" | |
152 | __RUNTIME_LIBS_36 = $(__THREADSFLAG) | |
03206f17 | 153 | !endif |
8c9f8f91 JS |
154 | !if "$(RUNTIME_LIBS)" == "dynamic" |
155 | __RUNTIME_LIBS_50 = D | |
156 | !endif | |
157 | !if "$(RUNTIME_LIBS)" == "static" | |
158 | __RUNTIME_LIBS_50 = $(__THREADSFLAG) | |
03206f17 | 159 | !endif |
8c9f8f91 JS |
160 | !if "$(RUNTIME_LIBS)" == "dynamic" |
161 | __RUNTIME_LIBS_64 = D | |
162 | !endif | |
163 | !if "$(RUNTIME_LIBS)" == "static" | |
164 | __RUNTIME_LIBS_64 = $(__THREADSFLAG) | |
03206f17 | 165 | !endif |
b17c1746 DE |
166 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
167 | __DEBUGINFO = /Zi | |
03206f17 | 168 | !endif |
b17c1746 DE |
169 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
170 | __DEBUGINFO = | |
03206f17 | 171 | !endif |
b17c1746 DE |
172 | !if "$(DEBUG_INFO)" == "0" |
173 | __DEBUGINFO = | |
2265a2d5 | 174 | !endif |
b17c1746 DE |
175 | !if "$(DEBUG_INFO)" == "1" |
176 | __DEBUGINFO = /Zi | |
03206f17 | 177 | !endif |
b17c1746 | 178 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
21c6080d | 179 | __DEBUGINFO_4 = /DEBUG |
03206f17 | 180 | !endif |
b17c1746 | 181 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
21c6080d | 182 | __DEBUGINFO_4 = |
03206f17 | 183 | !endif |
b17c1746 | 184 | !if "$(DEBUG_INFO)" == "0" |
21c6080d | 185 | __DEBUGINFO_4 = |
03206f17 | 186 | !endif |
b17c1746 | 187 | !if "$(DEBUG_INFO)" == "1" |
21c6080d | 188 | __DEBUGINFO_4 = /DEBUG |
03206f17 | 189 | !endif |
21c6080d JS |
190 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
191 | ____DEBUGRUNTIME = /D_DEBUG | |
03206f17 | 192 | !endif |
21c6080d JS |
193 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
194 | ____DEBUGRUNTIME = | |
03206f17 | 195 | !endif |
21c6080d JS |
196 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
197 | ____DEBUGRUNTIME = | |
03206f17 | 198 | !endif |
21c6080d JS |
199 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
200 | ____DEBUGRUNTIME = /D_DEBUG | |
03206f17 | 201 | !endif |
21c6080d JS |
202 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
203 | ____DEBUGRUNTIME_3 = /d _DEBUG | |
03206f17 | 204 | !endif |
21c6080d JS |
205 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
206 | ____DEBUGRUNTIME_3 = | |
03206f17 | 207 | !endif |
21c6080d JS |
208 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
209 | ____DEBUGRUNTIME_3 = | |
03206f17 | 210 | !endif |
21c6080d JS |
211 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
212 | ____DEBUGRUNTIME_3 = /d _DEBUG | |
03206f17 | 213 | !endif |
21c6080d JS |
214 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
215 | __DEBUGRUNTIME = d | |
03206f17 | 216 | !endif |
21c6080d JS |
217 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
218 | __DEBUGRUNTIME = | |
03206f17 | 219 | !endif |
21c6080d JS |
220 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
221 | __DEBUGRUNTIME = | |
03206f17 | 222 | !endif |
21c6080d JS |
223 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
224 | __DEBUGRUNTIME = d | |
03206f17 | 225 | !endif |
b17c1746 DE |
226 | !if "$(BUILD)" == "debug" |
227 | __OPTIMIZEFLAG = /Od | |
03206f17 | 228 | !endif |
b17c1746 DE |
229 | !if "$(BUILD)" == "release" |
230 | __OPTIMIZEFLAG = /O2 | |
03206f17 | 231 | !endif |
8c9f8f91 JS |
232 | !if "$(USE_THREADS)" == "0" |
233 | __THREADSFLAG = L | |
03206f17 | 234 | !endif |
8c9f8f91 JS |
235 | !if "$(USE_THREADS)" == "1" |
236 | __THREADSFLAG = T | |
03206f17 | 237 | !endif |
8c9f8f91 JS |
238 | !if "$(USE_RTTI)" == "0" |
239 | __RTTIFLAG = | |
03206f17 | 240 | !endif |
8c9f8f91 JS |
241 | !if "$(USE_RTTI)" == "1" |
242 | __RTTIFLAG = /GR | |
03206f17 | 243 | !endif |
b17c1746 | 244 | !if "$(USE_EXCEPTIONS)" == "0" |
8c9f8f91 | 245 | __EXCEPTIONSFLAG = |
03206f17 | 246 | !endif |
b17c1746 | 247 | !if "$(USE_EXCEPTIONS)" == "1" |
8c9f8f91 | 248 | __EXCEPTIONSFLAG = /EHsc |
03206f17 | 249 | !endif |
b17c1746 DE |
250 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
251 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
03206f17 | 252 | !endif |
b17c1746 DE |
253 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" |
254 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
03206f17 | 255 | !endif |
b17c1746 DE |
256 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
257 | __NO_VC_CRTDBG_p_12 = /d __NO_VC_CRTDBG__ | |
03206f17 | 258 | !endif |
b17c1746 DE |
259 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" |
260 | __NO_VC_CRTDBG_p_12 = /d __NO_VC_CRTDBG__ | |
03206f17 | 261 | !endif |
b17c1746 DE |
262 | !if "$(WXUNIV)" == "1" |
263 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
03206f17 | 264 | !endif |
b17c1746 DE |
265 | !if "$(WXUNIV)" == "1" |
266 | __WXUNIV_DEFINE_p_12 = /d __WXUNIVERSAL__ | |
03206f17 | 267 | !endif |
b17c1746 DE |
268 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
269 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
03206f17 | 270 | !endif |
b17c1746 DE |
271 | !if "$(DEBUG_FLAG)" == "1" |
272 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
03206f17 | 273 | !endif |
b17c1746 DE |
274 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
275 | __DEBUG_DEFINE_p_12 = /d __WXDEBUG__ | |
03206f17 | 276 | !endif |
b17c1746 DE |
277 | !if "$(DEBUG_FLAG)" == "1" |
278 | __DEBUG_DEFINE_p_12 = /d __WXDEBUG__ | |
03206f17 | 279 | !endif |
8c9f8f91 JS |
280 | !if "$(USE_EXCEPTIONS)" == "0" |
281 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS | |
282 | !endif | |
283 | !if "$(USE_EXCEPTIONS)" == "0" | |
284 | __EXCEPTIONS_DEFINE_p_12 = /d wxNO_EXCEPTIONS | |
285 | !endif | |
286 | !if "$(USE_RTTI)" == "0" | |
287 | __RTTI_DEFINE_p = /DwxNO_RTTI | |
288 | !endif | |
289 | !if "$(USE_RTTI)" == "0" | |
290 | __RTTI_DEFINE_p_12 = /d wxNO_RTTI | |
291 | !endif | |
292 | !if "$(USE_THREADS)" == "0" | |
293 | __THREAD_DEFINE_p = /DwxNO_THREADS | |
294 | !endif | |
295 | !if "$(USE_THREADS)" == "0" | |
296 | __THREAD_DEFINE_p_12 = /d wxNO_THREADS | |
297 | !endif | |
b17c1746 DE |
298 | !if "$(UNICODE)" == "1" |
299 | __UNICODE_DEFINE_p = /D_UNICODE | |
03206f17 | 300 | !endif |
b17c1746 DE |
301 | !if "$(UNICODE)" == "1" |
302 | __UNICODE_DEFINE_p_12 = /d _UNICODE | |
03206f17 | 303 | !endif |
2113bc77 MW |
304 | !if "$(MSLU)" == "1" |
305 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1 | |
306 | !endif | |
307 | !if "$(MSLU)" == "1" | |
308 | __MSLU_DEFINE_p_12 = /d wxUSE_UNICODE_MSLU=1 | |
309 | !endif | |
b17c1746 DE |
310 | !if "$(SHARED)" == "1" |
311 | __DLLFLAG_p = /DWXUSINGDLL | |
03206f17 | 312 | !endif |
b17c1746 DE |
313 | !if "$(SHARED)" == "1" |
314 | __DLLFLAG_p_12 = /d WXUSINGDLL | |
03206f17 | 315 | !endif |
b17c1746 DE |
316 | !if "$(MONOLITHIC)" == "0" |
317 | __WXLIB_CORE_p = \ | |
c33fae85 | 318 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
03206f17 | 319 | !endif |
b17c1746 | 320 | !if "$(MONOLITHIC)" == "0" |
c33fae85 RN |
321 | __WXLIB_BASE_p = \ |
322 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
b17c1746 DE |
323 | !endif |
324 | !if "$(MONOLITHIC)" == "1" | |
325 | __WXLIB_MONO_p = \ | |
c33fae85 | 326 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
b17c1746 DE |
327 | !endif |
328 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 329 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
b17c1746 DE |
330 | !endif |
331 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 332 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
b17c1746 DE |
333 | !endif |
334 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 335 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
b17c1746 DE |
336 | !endif |
337 | !if "$(MSLU)" == "1" | |
338 | __UNICOWS_LIB_p = unicows.lib | |
03206f17 VS |
339 | !endif |
340 | ||
341 | ||
342 | all: $(OBJS) | |
343 | $(OBJS): | |
344 | -if not exist $(OBJS) mkdir $(OBJS) | |
345 | ||
346 | ### Targets: ### | |
347 | ||
9d5f4fbb | 348 | all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files |
03206f17 | 349 | |
03206f17 VS |
350 | clean: |
351 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
352 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
b14abf14 | 353 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch |
03206f17 | 354 | -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe |
ec08d395 JS |
355 | -if exist $(OBJS)\fl_demo1.ilk del $(OBJS)\fl_demo1.ilk |
356 | -if exist $(OBJS)\fl_demo1.pdb del $(OBJS)\fl_demo1.pdb | |
03206f17 | 357 | -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe |
ec08d395 JS |
358 | -if exist $(OBJS)\fl_demo2.ilk del $(OBJS)\fl_demo2.ilk |
359 | -if exist $(OBJS)\fl_demo2.pdb del $(OBJS)\fl_demo2.pdb | |
03206f17 | 360 | -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe |
ec08d395 JS |
361 | -if exist $(OBJS)\fl_sample1.ilk del $(OBJS)\fl_sample1.ilk |
362 | -if exist $(OBJS)\fl_sample1.pdb del $(OBJS)\fl_sample1.pdb | |
03206f17 | 363 | -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe |
ec08d395 JS |
364 | -if exist $(OBJS)\fl_sample2.ilk del $(OBJS)\fl_sample2.ilk |
365 | -if exist $(OBJS)\fl_sample2.pdb del $(OBJS)\fl_sample2.pdb | |
03206f17 | 366 | -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe |
ec08d395 JS |
367 | -if exist $(OBJS)\fl_sample3.ilk del $(OBJS)\fl_sample3.ilk |
368 | -if exist $(OBJS)\fl_sample3.pdb del $(OBJS)\fl_sample3.pdb | |
03206f17 VS |
369 | |
370 | $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res | |
ab6ea1ac | 371 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_4) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
3b2cb431 | 372 | $(FL_DEMO1_OBJECTS) wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib |
03206f17 VS |
373 | << |
374 | ||
375 | $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res | |
ab6ea1ac | 376 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_4) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
3b2cb431 | 377 | $(FL_DEMO2_OBJECTS) wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib |
03206f17 VS |
378 | << |
379 | ||
380 | $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res | |
ab6ea1ac | 381 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_4) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
3b2cb431 | 382 | $(FL_SAMPLE1_OBJECTS) wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib |
03206f17 VS |
383 | << |
384 | ||
385 | $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res | |
ab6ea1ac | 386 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_4) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
3b2cb431 | 387 | $(FL_SAMPLE2_OBJECTS) wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib |
03206f17 VS |
388 | << |
389 | ||
390 | $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res | |
ab6ea1ac | 391 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_4) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
3b2cb431 | 392 | $(FL_SAMPLE3_OBJECTS) wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib |
03206f17 | 393 | << |
b17c1746 DE |
394 | |
395 | data_files: | |
396 | if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps | |
397 | 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 | |
398 | ||
399 | $(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp | |
400 | $(CXX) /c /nologo /TP /Fo$@ $(FL_DEMO1_CXXFLAGS) $** | |
401 | ||
402 | $(OBJS)\fl_demo1_fl_demo1.res: .\fl_demo1.rc | |
9d309aad | 403 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3) $(__NO_VC_CRTDBG_p_12) /d __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) $(__MSLU_DEFINE_p_12) /i $(SETUPHDIR) /i .\..\..\..\include /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $** |
b17c1746 DE |
404 | |
405 | $(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp | |
406 | $(CXX) /c /nologo /TP /Fo$@ $(FL_DEMO2_CXXFLAGS) $** | |
407 | ||
408 | $(OBJS)\fl_demo2_fl_demo2.res: .\fl_demo2.rc | |
9d309aad | 409 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3) $(__NO_VC_CRTDBG_p_12) /d __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) $(__MSLU_DEFINE_p_12) /i $(SETUPHDIR) /i .\..\..\..\include /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $** |
b17c1746 DE |
410 | |
411 | $(OBJS)\fl_sample1_fl_sample1.obj: .\fl_sample1.cpp | |
412 | $(CXX) /c /nologo /TP /Fo$@ $(FL_SAMPLE1_CXXFLAGS) $** | |
413 | ||
414 | $(OBJS)\fl_sample1_fl_sample1.res: .\fl_sample1.rc | |
9d309aad | 415 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3) $(__NO_VC_CRTDBG_p_12) /d __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) $(__MSLU_DEFINE_p_12) /i $(SETUPHDIR) /i .\..\..\..\include /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $** |
b17c1746 DE |
416 | |
417 | $(OBJS)\fl_sample2_fl_sample2.obj: .\fl_sample2.cpp | |
418 | $(CXX) /c /nologo /TP /Fo$@ $(FL_SAMPLE2_CXXFLAGS) $** | |
419 | ||
420 | $(OBJS)\fl_sample2_fl_sample2.res: .\fl_sample2.rc | |
9d309aad | 421 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3) $(__NO_VC_CRTDBG_p_12) /d __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) $(__MSLU_DEFINE_p_12) /i $(SETUPHDIR) /i .\..\..\..\include /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $** |
b17c1746 DE |
422 | |
423 | $(OBJS)\fl_sample3_fl_sample3.obj: .\fl_sample3.cpp | |
424 | $(CXX) /c /nologo /TP /Fo$@ $(FL_SAMPLE3_CXXFLAGS) $** | |
425 | ||
426 | $(OBJS)\fl_sample3_fl_sample3.res: .\fl_sample3.rc | |
9d309aad | 427 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3) $(__NO_VC_CRTDBG_p_12) /d __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) $(__MSLU_DEFINE_p_12) /i $(SETUPHDIR) /i .\..\..\..\include /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $** |
b14abf14 | 428 |