]>
Commit | Line | Data |
---|---|---|
03206f17 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
0d90d6ea | 3 | # Bakefile 0.1.9 (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 MW |
25 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
26 | /I.\..\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ | |
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 MW |
36 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
37 | /I.\..\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ | |
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 MW |
47 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
48 | /I.\..\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ | |
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 MW |
58 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
59 | /I.\..\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ | |
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 MW |
69 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
70 | /I.\..\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \ | |
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 | |
ab6ea1ac MW |
97 | !if "$(TARGET_CPU)" == "AMD64" |
98 | DIR_SUFFIX_CPU = _amd64 | |
99 | !endif | |
100 | !if "$(TARGET_CPU)" == "IA64" | |
101 | DIR_SUFFIX_CPU = _ia64 | |
102 | !endif | |
b17c1746 DE |
103 | !if "$(SHARED)" == "1" |
104 | WXDLLFLAG = dll | |
03206f17 | 105 | !endif |
b14abf14 JS |
106 | !if "$(SHARED)" == "0" |
107 | LIBTYPE_SUFFIX = lib | |
108 | !endif | |
109 | !if "$(SHARED)" == "1" | |
110 | LIBTYPE_SUFFIX = dll | |
111 | !endif | |
ab6ea1ac MW |
112 | !if "$(TARGET_CPU)" == "AMD64" |
113 | LINK_TARGET_CPU = /MACHINE:AMD64 | |
114 | !endif | |
115 | !if "$(TARGET_CPU)" == "IA64" | |
116 | LINK_TARGET_CPU = /MACHINE:IA64 | |
117 | !endif | |
dd65d8c8 RN |
118 | !if "$(MONOLITHIC)" == "0" |
119 | EXTRALIBS_FOR_BASE = | |
120 | !endif | |
121 | !if "$(MONOLITHIC)" == "1" | |
122 | EXTRALIBS_FOR_BASE = | |
123 | !endif | |
8c9f8f91 JS |
124 | !if "$(RUNTIME_LIBS)" == "dynamic" |
125 | __RUNTIME_LIBS_8 = D | |
126 | !endif | |
127 | !if "$(RUNTIME_LIBS)" == "static" | |
128 | __RUNTIME_LIBS_8 = $(__THREADSFLAG) | |
03206f17 | 129 | !endif |
8c9f8f91 JS |
130 | !if "$(RUNTIME_LIBS)" == "dynamic" |
131 | __RUNTIME_LIBS_22 = D | |
132 | !endif | |
133 | !if "$(RUNTIME_LIBS)" == "static" | |
134 | __RUNTIME_LIBS_22 = $(__THREADSFLAG) | |
03206f17 | 135 | !endif |
8c9f8f91 JS |
136 | !if "$(RUNTIME_LIBS)" == "dynamic" |
137 | __RUNTIME_LIBS_36 = D | |
138 | !endif | |
139 | !if "$(RUNTIME_LIBS)" == "static" | |
140 | __RUNTIME_LIBS_36 = $(__THREADSFLAG) | |
03206f17 | 141 | !endif |
8c9f8f91 JS |
142 | !if "$(RUNTIME_LIBS)" == "dynamic" |
143 | __RUNTIME_LIBS_50 = D | |
144 | !endif | |
145 | !if "$(RUNTIME_LIBS)" == "static" | |
146 | __RUNTIME_LIBS_50 = $(__THREADSFLAG) | |
03206f17 | 147 | !endif |
8c9f8f91 JS |
148 | !if "$(RUNTIME_LIBS)" == "dynamic" |
149 | __RUNTIME_LIBS_64 = D | |
150 | !endif | |
151 | !if "$(RUNTIME_LIBS)" == "static" | |
152 | __RUNTIME_LIBS_64 = $(__THREADSFLAG) | |
03206f17 | 153 | !endif |
b17c1746 DE |
154 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
155 | __DEBUGINFO = /Zi | |
03206f17 | 156 | !endif |
b17c1746 DE |
157 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
158 | __DEBUGINFO = | |
03206f17 | 159 | !endif |
b17c1746 DE |
160 | !if "$(DEBUG_INFO)" == "0" |
161 | __DEBUGINFO = | |
2265a2d5 | 162 | !endif |
b17c1746 DE |
163 | !if "$(DEBUG_INFO)" == "1" |
164 | __DEBUGINFO = /Zi | |
03206f17 | 165 | !endif |
b17c1746 | 166 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" |
21c6080d | 167 | __DEBUGINFO_4 = /DEBUG |
03206f17 | 168 | !endif |
b17c1746 | 169 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" |
21c6080d | 170 | __DEBUGINFO_4 = |
03206f17 | 171 | !endif |
b17c1746 | 172 | !if "$(DEBUG_INFO)" == "0" |
21c6080d | 173 | __DEBUGINFO_4 = |
03206f17 | 174 | !endif |
b17c1746 | 175 | !if "$(DEBUG_INFO)" == "1" |
21c6080d | 176 | __DEBUGINFO_4 = /DEBUG |
03206f17 | 177 | !endif |
21c6080d JS |
178 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
179 | ____DEBUGRUNTIME = /D_DEBUG | |
03206f17 | 180 | !endif |
21c6080d JS |
181 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
182 | ____DEBUGRUNTIME = | |
03206f17 | 183 | !endif |
21c6080d JS |
184 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
185 | ____DEBUGRUNTIME = | |
03206f17 | 186 | !endif |
21c6080d JS |
187 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
188 | ____DEBUGRUNTIME = /D_DEBUG | |
03206f17 | 189 | !endif |
21c6080d JS |
190 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
191 | ____DEBUGRUNTIME_3 = /d _DEBUG | |
03206f17 | 192 | !endif |
21c6080d JS |
193 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
194 | ____DEBUGRUNTIME_3 = | |
03206f17 | 195 | !endif |
21c6080d JS |
196 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
197 | ____DEBUGRUNTIME_3 = | |
03206f17 | 198 | !endif |
21c6080d JS |
199 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
200 | ____DEBUGRUNTIME_3 = /d _DEBUG | |
03206f17 | 201 | !endif |
21c6080d JS |
202 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
203 | __DEBUGRUNTIME = d | |
03206f17 | 204 | !endif |
21c6080d JS |
205 | !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" |
206 | __DEBUGRUNTIME = | |
03206f17 | 207 | !endif |
21c6080d JS |
208 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" |
209 | __DEBUGRUNTIME = | |
03206f17 | 210 | !endif |
21c6080d JS |
211 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" |
212 | __DEBUGRUNTIME = d | |
03206f17 | 213 | !endif |
b17c1746 DE |
214 | !if "$(BUILD)" == "debug" |
215 | __OPTIMIZEFLAG = /Od | |
03206f17 | 216 | !endif |
b17c1746 DE |
217 | !if "$(BUILD)" == "release" |
218 | __OPTIMIZEFLAG = /O2 | |
03206f17 | 219 | !endif |
8c9f8f91 JS |
220 | !if "$(USE_THREADS)" == "0" |
221 | __THREADSFLAG = L | |
03206f17 | 222 | !endif |
8c9f8f91 JS |
223 | !if "$(USE_THREADS)" == "1" |
224 | __THREADSFLAG = T | |
03206f17 | 225 | !endif |
8c9f8f91 JS |
226 | !if "$(USE_RTTI)" == "0" |
227 | __RTTIFLAG = | |
03206f17 | 228 | !endif |
8c9f8f91 JS |
229 | !if "$(USE_RTTI)" == "1" |
230 | __RTTIFLAG = /GR | |
03206f17 | 231 | !endif |
b17c1746 | 232 | !if "$(USE_EXCEPTIONS)" == "0" |
8c9f8f91 | 233 | __EXCEPTIONSFLAG = |
03206f17 | 234 | !endif |
b17c1746 | 235 | !if "$(USE_EXCEPTIONS)" == "1" |
8c9f8f91 | 236 | __EXCEPTIONSFLAG = /EHsc |
03206f17 | 237 | !endif |
b17c1746 DE |
238 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
239 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
03206f17 | 240 | !endif |
b17c1746 DE |
241 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" |
242 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
03206f17 | 243 | !endif |
b17c1746 DE |
244 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
245 | __NO_VC_CRTDBG_p_12 = /d __NO_VC_CRTDBG__ | |
03206f17 | 246 | !endif |
b17c1746 DE |
247 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" |
248 | __NO_VC_CRTDBG_p_12 = /d __NO_VC_CRTDBG__ | |
03206f17 | 249 | !endif |
ab6ea1ac MW |
250 | !if "$(TARGET_CPU)" == "AMD64" |
251 | __RES_TARGET_CPU_p = /d WX_CPU_AMD64 | |
252 | !endif | |
253 | !if "$(TARGET_CPU)" == "IA64" | |
254 | __RES_TARGET_CPU_p = /d WX_CPU_IA64 | |
255 | !endif | |
b17c1746 DE |
256 | !if "$(WXUNIV)" == "1" |
257 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
03206f17 | 258 | !endif |
b17c1746 DE |
259 | !if "$(WXUNIV)" == "1" |
260 | __WXUNIV_DEFINE_p_12 = /d __WXUNIVERSAL__ | |
03206f17 | 261 | !endif |
b17c1746 DE |
262 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
263 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
03206f17 | 264 | !endif |
b17c1746 DE |
265 | !if "$(DEBUG_FLAG)" == "1" |
266 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
03206f17 | 267 | !endif |
b17c1746 DE |
268 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" |
269 | __DEBUG_DEFINE_p_12 = /d __WXDEBUG__ | |
03206f17 | 270 | !endif |
b17c1746 DE |
271 | !if "$(DEBUG_FLAG)" == "1" |
272 | __DEBUG_DEFINE_p_12 = /d __WXDEBUG__ | |
03206f17 | 273 | !endif |
8c9f8f91 JS |
274 | !if "$(USE_EXCEPTIONS)" == "0" |
275 | __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS | |
276 | !endif | |
277 | !if "$(USE_EXCEPTIONS)" == "0" | |
278 | __EXCEPTIONS_DEFINE_p_12 = /d wxNO_EXCEPTIONS | |
279 | !endif | |
280 | !if "$(USE_RTTI)" == "0" | |
281 | __RTTI_DEFINE_p = /DwxNO_RTTI | |
282 | !endif | |
283 | !if "$(USE_RTTI)" == "0" | |
284 | __RTTI_DEFINE_p_12 = /d wxNO_RTTI | |
285 | !endif | |
286 | !if "$(USE_THREADS)" == "0" | |
287 | __THREAD_DEFINE_p = /DwxNO_THREADS | |
288 | !endif | |
289 | !if "$(USE_THREADS)" == "0" | |
290 | __THREAD_DEFINE_p_12 = /d wxNO_THREADS | |
291 | !endif | |
b17c1746 DE |
292 | !if "$(UNICODE)" == "1" |
293 | __UNICODE_DEFINE_p = /D_UNICODE | |
03206f17 | 294 | !endif |
b17c1746 DE |
295 | !if "$(UNICODE)" == "1" |
296 | __UNICODE_DEFINE_p_12 = /d _UNICODE | |
03206f17 | 297 | !endif |
2113bc77 MW |
298 | !if "$(MSLU)" == "1" |
299 | __MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1 | |
300 | !endif | |
301 | !if "$(MSLU)" == "1" | |
302 | __MSLU_DEFINE_p_12 = /d wxUSE_UNICODE_MSLU=1 | |
303 | !endif | |
b17c1746 DE |
304 | !if "$(SHARED)" == "1" |
305 | __DLLFLAG_p = /DWXUSINGDLL | |
03206f17 | 306 | !endif |
b17c1746 DE |
307 | !if "$(SHARED)" == "1" |
308 | __DLLFLAG_p_12 = /d WXUSINGDLL | |
03206f17 | 309 | !endif |
b17c1746 DE |
310 | !if "$(MONOLITHIC)" == "0" |
311 | __WXLIB_CORE_p = \ | |
c33fae85 | 312 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib |
03206f17 | 313 | !endif |
b17c1746 | 314 | !if "$(MONOLITHIC)" == "0" |
c33fae85 RN |
315 | __WXLIB_BASE_p = \ |
316 | wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib | |
b17c1746 DE |
317 | !endif |
318 | !if "$(MONOLITHIC)" == "1" | |
319 | __WXLIB_MONO_p = \ | |
c33fae85 | 320 | wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib |
b17c1746 DE |
321 | !endif |
322 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 323 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib |
b17c1746 DE |
324 | !endif |
325 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 326 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib |
b17c1746 DE |
327 | !endif |
328 | !if "$(USE_GUI)" == "1" | |
9c2d002b | 329 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib |
b17c1746 DE |
330 | !endif |
331 | !if "$(MSLU)" == "1" | |
332 | __UNICOWS_LIB_p = unicows.lib | |
03206f17 VS |
333 | !endif |
334 | ||
335 | ||
336 | all: $(OBJS) | |
337 | $(OBJS): | |
338 | -if not exist $(OBJS) mkdir $(OBJS) | |
339 | ||
340 | ### Targets: ### | |
341 | ||
9d5f4fbb | 342 | all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files |
03206f17 | 343 | |
03206f17 VS |
344 | clean: |
345 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
346 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
b14abf14 | 347 | -if exist $(OBJS)\*.pch del $(OBJS)\*.pch |
03206f17 | 348 | -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe |
ec08d395 JS |
349 | -if exist $(OBJS)\fl_demo1.ilk del $(OBJS)\fl_demo1.ilk |
350 | -if exist $(OBJS)\fl_demo1.pdb del $(OBJS)\fl_demo1.pdb | |
03206f17 | 351 | -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe |
ec08d395 JS |
352 | -if exist $(OBJS)\fl_demo2.ilk del $(OBJS)\fl_demo2.ilk |
353 | -if exist $(OBJS)\fl_demo2.pdb del $(OBJS)\fl_demo2.pdb | |
03206f17 | 354 | -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe |
ec08d395 JS |
355 | -if exist $(OBJS)\fl_sample1.ilk del $(OBJS)\fl_sample1.ilk |
356 | -if exist $(OBJS)\fl_sample1.pdb del $(OBJS)\fl_sample1.pdb | |
03206f17 | 357 | -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe |
ec08d395 JS |
358 | -if exist $(OBJS)\fl_sample2.ilk del $(OBJS)\fl_sample2.ilk |
359 | -if exist $(OBJS)\fl_sample2.pdb del $(OBJS)\fl_sample2.pdb | |
03206f17 | 360 | -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe |
ec08d395 JS |
361 | -if exist $(OBJS)\fl_sample3.ilk del $(OBJS)\fl_sample3.ilk |
362 | -if exist $(OBJS)\fl_sample3.pdb del $(OBJS)\fl_sample3.pdb | |
03206f17 VS |
363 | |
364 | $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res | |
ab6ea1ac | 365 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_4) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
dd65d8c8 | 366 | $(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 oleacc.lib odbc32.lib |
03206f17 VS |
367 | << |
368 | ||
369 | $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res | |
ab6ea1ac | 370 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_4) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
dd65d8c8 | 371 | $(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 oleacc.lib odbc32.lib |
03206f17 VS |
372 | << |
373 | ||
374 | $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res | |
ab6ea1ac | 375 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_4) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
dd65d8c8 | 376 | $(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 oleacc.lib odbc32.lib |
03206f17 VS |
377 | << |
378 | ||
379 | $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res | |
ab6ea1ac | 380 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_4) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
dd65d8c8 | 381 | $(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 oleacc.lib odbc32.lib |
03206f17 VS |
382 | << |
383 | ||
384 | $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res | |
ab6ea1ac | 385 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_4) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
dd65d8c8 | 386 | $(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 oleacc.lib odbc32.lib |
03206f17 | 387 | << |
b17c1746 DE |
388 | |
389 | data_files: | |
390 | if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps | |
391 | 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 | |
392 | ||
393 | $(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp | |
394 | $(CXX) /c /nologo /TP /Fo$@ $(FL_DEMO1_CXXFLAGS) $** | |
395 | ||
396 | $(OBJS)\fl_demo1_fl_demo1.res: .\fl_demo1.rc | |
ab6ea1ac | 397 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3) $(__NO_VC_CRTDBG_p_12) $(__RES_TARGET_CPU_p) /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 .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $** |
b17c1746 DE |
398 | |
399 | $(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp | |
400 | $(CXX) /c /nologo /TP /Fo$@ $(FL_DEMO2_CXXFLAGS) $** | |
401 | ||
402 | $(OBJS)\fl_demo2_fl_demo2.res: .\fl_demo2.rc | |
ab6ea1ac | 403 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3) $(__NO_VC_CRTDBG_p_12) $(__RES_TARGET_CPU_p) /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 .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $** |
b17c1746 DE |
404 | |
405 | $(OBJS)\fl_sample1_fl_sample1.obj: .\fl_sample1.cpp | |
406 | $(CXX) /c /nologo /TP /Fo$@ $(FL_SAMPLE1_CXXFLAGS) $** | |
407 | ||
408 | $(OBJS)\fl_sample1_fl_sample1.res: .\fl_sample1.rc | |
ab6ea1ac | 409 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3) $(__NO_VC_CRTDBG_p_12) $(__RES_TARGET_CPU_p) /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 .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $** |
b17c1746 DE |
410 | |
411 | $(OBJS)\fl_sample2_fl_sample2.obj: .\fl_sample2.cpp | |
412 | $(CXX) /c /nologo /TP /Fo$@ $(FL_SAMPLE2_CXXFLAGS) $** | |
413 | ||
414 | $(OBJS)\fl_sample2_fl_sample2.res: .\fl_sample2.rc | |
ab6ea1ac | 415 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3) $(__NO_VC_CRTDBG_p_12) $(__RES_TARGET_CPU_p) /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 .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $** |
b17c1746 DE |
416 | |
417 | $(OBJS)\fl_sample3_fl_sample3.obj: .\fl_sample3.cpp | |
418 | $(CXX) /c /nologo /TP /Fo$@ $(FL_SAMPLE3_CXXFLAGS) $** | |
419 | ||
420 | $(OBJS)\fl_sample3_fl_sample3.res: .\fl_sample3.rc | |
ab6ea1ac | 421 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3) $(__NO_VC_CRTDBG_p_12) $(__RES_TARGET_CPU_p) /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 .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $** |
b14abf14 | 422 |