]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/fl/makefile.vc
OGL samples again buildable after deprecated/setup.h turned off by default. Minor...
[wxWidgets.git] / contrib / samples / fl / makefile.vc
CommitLineData
03206f17
VS
1# =========================================================================
2# This makefile was generated by
8c9f8f91 3# Bakefile 0.1.8 (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
c33fae85 15WX_RELEASE_NODOT = 25
b17c1746
DE
16OBJS = \
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 18LIBDIRNAME = .\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
19SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
8c9f8f91 21FL_DEMO1_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \
b17c1746 22 $(__DEBUGINFO) /Fd$(OBJS)\fl_demo1.pdb $(____DEBUGRUNTIME_2_p) \
ec08d395 23 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
8c9f8f91
JS
24 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
25 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
c33fae85 26 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples /DNOPCH \
8c9f8f91
JS
27 /I.\..\..\include /DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
28 $(CPPFLAGS) $(CXXFLAGS)
03206f17
VS
29FL_DEMO1_OBJECTS = \
30 $(OBJS)\fl_demo1_fl_demo1.obj \
31 $(OBJS)\fl_demo1_fl_demo1.res
8c9f8f91
JS
32FL_DEMO2_CXXFLAGS = /M$(__RUNTIME_LIBS_22)$(__DEBUGRUNTIME_17) /DWIN32 \
33 $(__DEBUGINFO) /Fd$(OBJS)\fl_demo2.pdb $(____DEBUGRUNTIME_16_p) \
ec08d395 34 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
8c9f8f91
JS
35 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
36 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
c33fae85 37 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples /DNOPCH \
8c9f8f91
JS
38 /I.\..\..\include /DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
39 $(CPPFLAGS) $(CXXFLAGS)
03206f17
VS
40FL_DEMO2_OBJECTS = \
41 $(OBJS)\fl_demo2_fl_demo2.obj \
42 $(OBJS)\fl_demo2_fl_demo2.res
8c9f8f91
JS
43FL_SAMPLE1_CXXFLAGS = /M$(__RUNTIME_LIBS_36)$(__DEBUGRUNTIME_31) /DWIN32 \
44 $(__DEBUGINFO) /Fd$(OBJS)\fl_sample1.pdb $(____DEBUGRUNTIME_30_p) \
a4ad36cd 45 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
8c9f8f91
JS
46 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
47 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
c33fae85 48 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples /DNOPCH \
8c9f8f91
JS
49 /I.\..\..\include /DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
50 $(CPPFLAGS) $(CXXFLAGS)
03206f17
VS
51FL_SAMPLE1_OBJECTS = \
52 $(OBJS)\fl_sample1_fl_sample1.obj \
53 $(OBJS)\fl_sample1_fl_sample1.res
8c9f8f91
JS
54FL_SAMPLE2_CXXFLAGS = /M$(__RUNTIME_LIBS_50)$(__DEBUGRUNTIME_45) /DWIN32 \
55 $(__DEBUGINFO) /Fd$(OBJS)\fl_sample2.pdb $(____DEBUGRUNTIME_44_p) \
a4ad36cd 56 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
8c9f8f91
JS
57 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
58 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
c33fae85 59 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples /DNOPCH \
8c9f8f91
JS
60 /I.\..\..\include /DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
61 $(CPPFLAGS) $(CXXFLAGS)
03206f17
VS
62FL_SAMPLE2_OBJECTS = \
63 $(OBJS)\fl_sample2_fl_sample2.obj \
64 $(OBJS)\fl_sample2_fl_sample2.res
8c9f8f91
JS
65FL_SAMPLE3_CXXFLAGS = /M$(__RUNTIME_LIBS_64)$(__DEBUGRUNTIME_59) /DWIN32 \
66 $(__DEBUGINFO) /Fd$(OBJS)\fl_sample3.pdb $(____DEBUGRUNTIME_58_p) \
a4ad36cd 67 $(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
8c9f8f91
JS
68 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
69 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
c33fae85 70 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples /DNOPCH \
8c9f8f91
JS
71 /I.\..\..\include /DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
72 $(CPPFLAGS) $(CXXFLAGS)
03206f17
VS
73FL_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"
80PORTNAME = base
81!endif
82!if "$(USE_GUI)" == "1"
83PORTNAME = msw
84!endif
85!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
86WXDEBUGFLAG = d
87!endif
88!if "$(DEBUG_FLAG)" == "1"
89WXDEBUGFLAG = d
90!endif
03206f17
VS
91!if "$(UNICODE)" == "1"
92WXUNICODEFLAG = u
93!endif
94!if "$(WXUNIV)" == "1"
95WXUNIVNAME = univ
96!endif
b17c1746
DE
97!if "$(SHARED)" == "1"
98WXDLLFLAG = dll
03206f17 99!endif
b14abf14
JS
100!if "$(SHARED)" == "0"
101LIBTYPE_SUFFIX = lib
102!endif
103!if "$(SHARED)" == "1"
104LIBTYPE_SUFFIX = dll
105!endif
dd65d8c8
RN
106!if "$(MONOLITHIC)" == "0"
107EXTRALIBS_FOR_BASE =
108!endif
109!if "$(MONOLITHIC)" == "1"
110EXTRALIBS_FOR_BASE =
111!endif
b17c1746
DE
112!if "$(DEBUG_RUNTIME_LIBS)" == "0"
113____DEBUGRUNTIME_2_p =
03206f17 114!endif
b17c1746
DE
115!if "$(DEBUG_RUNTIME_LIBS)" == "1"
116____DEBUGRUNTIME_2_p = /D_DEBUG
03206f17 117!endif
b17c1746
DE
118!if "$(DEBUG_RUNTIME_LIBS)" == "default"
119____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
03206f17 120!endif
b17c1746
DE
121!if "$(DEBUG_RUNTIME_LIBS)" == "0"
122____DEBUGRUNTIME_2_p_1 =
03206f17 123!endif
b17c1746
DE
124!if "$(DEBUG_RUNTIME_LIBS)" == "1"
125____DEBUGRUNTIME_2_p_1 = /d _DEBUG
03206f17 126!endif
b17c1746
DE
127!if "$(DEBUG_RUNTIME_LIBS)" == "default"
128____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_3)
03206f17 129!endif
b17c1746
DE
130!if "$(DEBUG_RUNTIME_LIBS)" == "0"
131__DEBUGRUNTIME_3 =
03206f17 132!endif
b17c1746
DE
133!if "$(DEBUG_RUNTIME_LIBS)" == "1"
134__DEBUGRUNTIME_3 = d
03206f17 135!endif
b17c1746 136!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91
JS
137__DEBUGRUNTIME_3 = $(__DEBUGINFO_8)
138!endif
139!if "$(RUNTIME_LIBS)" == "dynamic"
140__RUNTIME_LIBS_8 = D
141!endif
142!if "$(RUNTIME_LIBS)" == "static"
143__RUNTIME_LIBS_8 = $(__THREADSFLAG)
03206f17
VS
144!endif
145!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 146____DEBUGRUNTIME_16_p =
03206f17
VS
147!endif
148!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 149____DEBUGRUNTIME_16_p = /D_DEBUG
03206f17
VS
150!endif
151!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91 152____DEBUGRUNTIME_16_p = $(____DEBUGINFO)
03206f17
VS
153!endif
154!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 155____DEBUGRUNTIME_16_p_1 =
03206f17
VS
156!endif
157!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 158____DEBUGRUNTIME_16_p_1 = /d _DEBUG
03206f17
VS
159!endif
160!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91 161____DEBUGRUNTIME_16_p_1 = $(____DEBUGINFO_3)
03206f17
VS
162!endif
163!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 164__DEBUGRUNTIME_17 =
03206f17
VS
165!endif
166!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 167__DEBUGRUNTIME_17 = d
03206f17
VS
168!endif
169!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91
JS
170__DEBUGRUNTIME_17 = $(__DEBUGINFO_8)
171!endif
172!if "$(RUNTIME_LIBS)" == "dynamic"
173__RUNTIME_LIBS_22 = D
174!endif
175!if "$(RUNTIME_LIBS)" == "static"
176__RUNTIME_LIBS_22 = $(__THREADSFLAG)
03206f17
VS
177!endif
178!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 179____DEBUGRUNTIME_30_p =
03206f17
VS
180!endif
181!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 182____DEBUGRUNTIME_30_p = /D_DEBUG
03206f17
VS
183!endif
184!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91 185____DEBUGRUNTIME_30_p = $(____DEBUGINFO)
03206f17
VS
186!endif
187!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 188____DEBUGRUNTIME_30_p_1 =
03206f17
VS
189!endif
190!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 191____DEBUGRUNTIME_30_p_1 = /d _DEBUG
03206f17
VS
192!endif
193!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91 194____DEBUGRUNTIME_30_p_1 = $(____DEBUGINFO_3)
03206f17 195!endif
b17c1746 196!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 197__DEBUGRUNTIME_31 =
03206f17 198!endif
b17c1746 199!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 200__DEBUGRUNTIME_31 = d
03206f17 201!endif
b17c1746 202!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91
JS
203__DEBUGRUNTIME_31 = $(__DEBUGINFO_8)
204!endif
205!if "$(RUNTIME_LIBS)" == "dynamic"
206__RUNTIME_LIBS_36 = D
207!endif
208!if "$(RUNTIME_LIBS)" == "static"
209__RUNTIME_LIBS_36 = $(__THREADSFLAG)
03206f17 210!endif
b17c1746 211!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 212____DEBUGRUNTIME_44_p =
03206f17 213!endif
b17c1746 214!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 215____DEBUGRUNTIME_44_p = /D_DEBUG
03206f17 216!endif
b17c1746 217!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91 218____DEBUGRUNTIME_44_p = $(____DEBUGINFO)
03206f17 219!endif
b17c1746 220!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 221____DEBUGRUNTIME_44_p_1 =
a4ad36cd 222!endif
b17c1746 223!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 224____DEBUGRUNTIME_44_p_1 = /d _DEBUG
a4ad36cd 225!endif
b17c1746 226!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91 227____DEBUGRUNTIME_44_p_1 = $(____DEBUGINFO_3)
a4ad36cd 228!endif
b17c1746 229!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 230__DEBUGRUNTIME_45 =
a4ad36cd 231!endif
b17c1746 232!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 233__DEBUGRUNTIME_45 = d
03206f17 234!endif
b17c1746 235!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91
JS
236__DEBUGRUNTIME_45 = $(__DEBUGINFO_8)
237!endif
238!if "$(RUNTIME_LIBS)" == "dynamic"
239__RUNTIME_LIBS_50 = D
240!endif
241!if "$(RUNTIME_LIBS)" == "static"
242__RUNTIME_LIBS_50 = $(__THREADSFLAG)
03206f17 243!endif
b17c1746 244!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 245____DEBUGRUNTIME_58_p =
03206f17 246!endif
b17c1746 247!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 248____DEBUGRUNTIME_58_p = /D_DEBUG
ec08d395 249!endif
b17c1746 250!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91 251____DEBUGRUNTIME_58_p = $(____DEBUGINFO)
ec08d395 252!endif
b17c1746 253!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 254____DEBUGRUNTIME_58_p_1 =
ec08d395 255!endif
b17c1746 256!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 257____DEBUGRUNTIME_58_p_1 = /d _DEBUG
ec08d395 258!endif
b17c1746 259!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91 260____DEBUGRUNTIME_58_p_1 = $(____DEBUGINFO_3)
03206f17 261!endif
b17c1746 262!if "$(DEBUG_RUNTIME_LIBS)" == "0"
8c9f8f91 263__DEBUGRUNTIME_59 =
03206f17 264!endif
b17c1746 265!if "$(DEBUG_RUNTIME_LIBS)" == "1"
8c9f8f91 266__DEBUGRUNTIME_59 = d
03206f17 267!endif
b17c1746 268!if "$(DEBUG_RUNTIME_LIBS)" == "default"
8c9f8f91
JS
269__DEBUGRUNTIME_59 = $(__DEBUGINFO_8)
270!endif
271!if "$(RUNTIME_LIBS)" == "dynamic"
272__RUNTIME_LIBS_64 = D
273!endif
274!if "$(RUNTIME_LIBS)" == "static"
275__RUNTIME_LIBS_64 = $(__THREADSFLAG)
03206f17 276!endif
b17c1746
DE
277!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
278__DEBUGINFO = /Zi
03206f17 279!endif
b17c1746
DE
280!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
281__DEBUGINFO =
03206f17 282!endif
b17c1746
DE
283!if "$(DEBUG_INFO)" == "0"
284__DEBUGINFO =
2265a2d5 285!endif
b17c1746
DE
286!if "$(DEBUG_INFO)" == "1"
287__DEBUGINFO = /Zi
03206f17 288!endif
b17c1746 289!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
8c9f8f91 290__DEBUGINFO_7 = /DEBUG
03206f17 291!endif
b17c1746 292!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
8c9f8f91 293__DEBUGINFO_7 =
03206f17 294!endif
b17c1746 295!if "$(DEBUG_INFO)" == "0"
8c9f8f91 296__DEBUGINFO_7 =
03206f17 297!endif
b17c1746 298!if "$(DEBUG_INFO)" == "1"
8c9f8f91 299__DEBUGINFO_7 = /DEBUG
03206f17
VS
300!endif
301!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
69ada15b 302____DEBUGINFO = /D_DEBUG
03206f17
VS
303!endif
304!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
305____DEBUGINFO =
306!endif
307!if "$(DEBUG_INFO)" == "0"
308____DEBUGINFO =
309!endif
310!if "$(DEBUG_INFO)" == "1"
69ada15b 311____DEBUGINFO = /D_DEBUG
03206f17
VS
312!endif
313!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
69ada15b 314____DEBUGINFO_3 = /d _DEBUG
03206f17
VS
315!endif
316!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
69ada15b 317____DEBUGINFO_3 =
03206f17
VS
318!endif
319!if "$(DEBUG_INFO)" == "0"
69ada15b 320____DEBUGINFO_3 =
03206f17
VS
321!endif
322!if "$(DEBUG_INFO)" == "1"
69ada15b 323____DEBUGINFO_3 = /d _DEBUG
03206f17 324!endif
b17c1746 325!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
8c9f8f91 326__DEBUGINFO_8 = d
03206f17 327!endif
b17c1746 328!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
8c9f8f91 329__DEBUGINFO_8 =
03206f17 330!endif
b17c1746 331!if "$(DEBUG_INFO)" == "0"
8c9f8f91 332__DEBUGINFO_8 =
03206f17 333!endif
b17c1746 334!if "$(DEBUG_INFO)" == "1"
8c9f8f91 335__DEBUGINFO_8 = d
03206f17 336!endif
b17c1746
DE
337!if "$(BUILD)" == "debug"
338__OPTIMIZEFLAG = /Od
03206f17 339!endif
b17c1746
DE
340!if "$(BUILD)" == "release"
341__OPTIMIZEFLAG = /O2
03206f17 342!endif
8c9f8f91
JS
343!if "$(USE_THREADS)" == "0"
344__THREADSFLAG = L
03206f17 345!endif
8c9f8f91
JS
346!if "$(USE_THREADS)" == "1"
347__THREADSFLAG = T
03206f17 348!endif
8c9f8f91
JS
349!if "$(USE_RTTI)" == "0"
350__RTTIFLAG =
03206f17 351!endif
8c9f8f91
JS
352!if "$(USE_RTTI)" == "1"
353__RTTIFLAG = /GR
03206f17 354!endif
b17c1746 355!if "$(USE_EXCEPTIONS)" == "0"
8c9f8f91 356__EXCEPTIONSFLAG =
03206f17 357!endif
b17c1746 358!if "$(USE_EXCEPTIONS)" == "1"
8c9f8f91 359__EXCEPTIONSFLAG = /EHsc
03206f17 360!endif
b17c1746
DE
361!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
362__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
03206f17 363!endif
b17c1746
DE
364!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
365__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
03206f17 366!endif
b17c1746
DE
367!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
368__NO_VC_CRTDBG_p_12 = /d __NO_VC_CRTDBG__
03206f17 369!endif
b17c1746
DE
370!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
371__NO_VC_CRTDBG_p_12 = /d __NO_VC_CRTDBG__
03206f17 372!endif
b17c1746
DE
373!if "$(WXUNIV)" == "1"
374__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
03206f17 375!endif
b17c1746
DE
376!if "$(WXUNIV)" == "1"
377__WXUNIV_DEFINE_p_12 = /d __WXUNIVERSAL__
03206f17 378!endif
b17c1746
DE
379!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
380__DEBUG_DEFINE_p = /D__WXDEBUG__
03206f17 381!endif
b17c1746
DE
382!if "$(DEBUG_FLAG)" == "1"
383__DEBUG_DEFINE_p = /D__WXDEBUG__
03206f17 384!endif
b17c1746
DE
385!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
386__DEBUG_DEFINE_p_12 = /d __WXDEBUG__
03206f17 387!endif
b17c1746
DE
388!if "$(DEBUG_FLAG)" == "1"
389__DEBUG_DEFINE_p_12 = /d __WXDEBUG__
03206f17 390!endif
8c9f8f91
JS
391!if "$(USE_EXCEPTIONS)" == "0"
392__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
393!endif
394!if "$(USE_EXCEPTIONS)" == "0"
395__EXCEPTIONS_DEFINE_p_12 = /d wxNO_EXCEPTIONS
396!endif
397!if "$(USE_RTTI)" == "0"
398__RTTI_DEFINE_p = /DwxNO_RTTI
399!endif
400!if "$(USE_RTTI)" == "0"
401__RTTI_DEFINE_p_12 = /d wxNO_RTTI
402!endif
403!if "$(USE_THREADS)" == "0"
404__THREAD_DEFINE_p = /DwxNO_THREADS
405!endif
406!if "$(USE_THREADS)" == "0"
407__THREAD_DEFINE_p_12 = /d wxNO_THREADS
408!endif
b17c1746
DE
409!if "$(UNICODE)" == "1"
410__UNICODE_DEFINE_p = /D_UNICODE
03206f17 411!endif
b17c1746
DE
412!if "$(UNICODE)" == "1"
413__UNICODE_DEFINE_p_12 = /d _UNICODE
03206f17 414!endif
b17c1746
DE
415!if "$(SHARED)" == "1"
416__DLLFLAG_p = /DWXUSINGDLL
03206f17 417!endif
b17c1746
DE
418!if "$(SHARED)" == "1"
419__DLLFLAG_p_12 = /d WXUSINGDLL
03206f17 420!endif
b17c1746
DE
421!if "$(MONOLITHIC)" == "0"
422__WXLIB_CORE_p = \
c33fae85 423 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
03206f17 424!endif
b17c1746 425!if "$(MONOLITHIC)" == "0"
c33fae85
RN
426__WXLIB_BASE_p = \
427 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
428!endif
429!if "$(MONOLITHIC)" == "1"
430__WXLIB_MONO_p = \
c33fae85 431 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746
DE
432!endif
433!if "$(USE_GUI)" == "1"
9c2d002b 434__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
b17c1746
DE
435!endif
436!if "$(USE_GUI)" == "1"
9c2d002b 437__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
b17c1746
DE
438!endif
439!if "$(USE_GUI)" == "1"
9c2d002b 440__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
b17c1746
DE
441!endif
442!if "$(MSLU)" == "1"
443__UNICOWS_LIB_p = unicows.lib
03206f17
VS
444!endif
445
446
447all: $(OBJS)
448$(OBJS):
449 -if not exist $(OBJS) mkdir $(OBJS)
450
451### Targets: ###
452
9d5f4fbb 453all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files
03206f17 454
03206f17
VS
455clean:
456 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
457 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 458 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
03206f17 459 -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe
ec08d395
JS
460 -if exist $(OBJS)\fl_demo1.ilk del $(OBJS)\fl_demo1.ilk
461 -if exist $(OBJS)\fl_demo1.pdb del $(OBJS)\fl_demo1.pdb
03206f17 462 -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe
ec08d395
JS
463 -if exist $(OBJS)\fl_demo2.ilk del $(OBJS)\fl_demo2.ilk
464 -if exist $(OBJS)\fl_demo2.pdb del $(OBJS)\fl_demo2.pdb
03206f17 465 -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe
ec08d395
JS
466 -if exist $(OBJS)\fl_sample1.ilk del $(OBJS)\fl_sample1.ilk
467 -if exist $(OBJS)\fl_sample1.pdb del $(OBJS)\fl_sample1.pdb
03206f17 468 -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe
ec08d395
JS
469 -if exist $(OBJS)\fl_sample2.ilk del $(OBJS)\fl_sample2.ilk
470 -if exist $(OBJS)\fl_sample2.pdb del $(OBJS)\fl_sample2.pdb
03206f17 471 -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe
ec08d395
JS
472 -if exist $(OBJS)\fl_sample3.ilk del $(OBJS)\fl_sample3.ilk
473 -if exist $(OBJS)\fl_sample3.pdb del $(OBJS)\fl_sample3.pdb
03206f17
VS
474
475$(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1.res
8c9f8f91 476 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_7) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
dd65d8c8 477 $(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
478<<
479
480$(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2.res
8c9f8f91 481 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_7) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
dd65d8c8 482 $(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
483<<
484
485$(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1.res
8c9f8f91 486 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_7) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
dd65d8c8 487 $(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
488<<
489
490$(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2.res
8c9f8f91 491 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_7) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
dd65d8c8 492 $(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
493<<
494
495$(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3.res
8c9f8f91 496 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_7) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
dd65d8c8 497 $(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 498<<
b17c1746
DE
499
500data_files:
501 if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps
502 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
503
504$(OBJS)\fl_demo1_fl_demo1.obj: .\fl_demo1.cpp
505 $(CXX) /c /nologo /TP /Fo$@ $(FL_DEMO1_CXXFLAGS) $**
506
507$(OBJS)\fl_demo1_fl_demo1.res: .\fl_demo1.rc
8c9f8f91 508 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__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) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $**
b17c1746
DE
509
510$(OBJS)\fl_demo2_fl_demo2.obj: .\fl_demo2.cpp
511 $(CXX) /c /nologo /TP /Fo$@ $(FL_DEMO2_CXXFLAGS) $**
512
513$(OBJS)\fl_demo2_fl_demo2.res: .\fl_demo2.rc
8c9f8f91 514 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_16_p_1) $(__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) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $**
b17c1746
DE
515
516$(OBJS)\fl_sample1_fl_sample1.obj: .\fl_sample1.cpp
517 $(CXX) /c /nologo /TP /Fo$@ $(FL_SAMPLE1_CXXFLAGS) $**
518
519$(OBJS)\fl_sample1_fl_sample1.res: .\fl_sample1.rc
8c9f8f91 520 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_30_p_1) $(__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) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $**
b17c1746
DE
521
522$(OBJS)\fl_sample2_fl_sample2.obj: .\fl_sample2.cpp
523 $(CXX) /c /nologo /TP /Fo$@ $(FL_SAMPLE2_CXXFLAGS) $**
524
525$(OBJS)\fl_sample2_fl_sample2.res: .\fl_sample2.rc
8c9f8f91 526 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_44_p_1) $(__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) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $**
b17c1746
DE
527
528$(OBJS)\fl_sample3_fl_sample3.obj: .\fl_sample3.cpp
529 $(CXX) /c /nologo /TP /Fo$@ $(FL_SAMPLE3_CXXFLAGS) $**
530
531$(OBJS)\fl_sample3_fl_sample3.res: .\fl_sample3.rc
8c9f8f91 532 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_58_p_1) $(__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) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_12) /d _WINDOWS /i .\..\..\..\samples /d NOPCH /i .\..\..\include /d BMP_DIR="bitmaps/" $**
b14abf14 533