]> git.saurik.com Git - wxWidgets.git/blame - samples/widgets/makefile.vc
fixed modal dialogs after event loop change
[wxWidgets.git] / samples / widgets / makefile.vc
CommitLineData
6f628073
VS
1# =========================================================================
2# This makefile was generated by
f509d00d 3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
6f628073
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
2246169a 6
fd9f42b6 7!include <../../build/msw/config.vc>
2246169a 8
6f628073
VS
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
25a73439
VS
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
75a0a7b7
VS
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
25a73439
VS
19WIDGETS_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) \
20 /DWIN32 $(__DEBUGINFO_0) /Fd$(OBJS)\widgets.pdb $(____DEBUGRUNTIME_2_p) \
ec08d395
JS
21 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
22 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \
23 /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples $(CXXFLAGS) /GR /GX
25a73439
VS
24WIDGETS_OBJECTS = \
25 $(OBJS)\widgets_button.obj \
26 $(OBJS)\widgets_combobox.obj \
27 $(OBJS)\widgets_gauge.obj \
28 $(OBJS)\widgets_listbox.obj \
29 $(OBJS)\widgets_notebook.obj \
30 $(OBJS)\widgets_radiobox.obj \
31 $(OBJS)\widgets_slider.obj \
32 $(OBJS)\widgets_spinbtn.obj \
33 $(OBJS)\widgets_static.obj \
34 $(OBJS)\widgets_textctrl.obj \
35 $(OBJS)\widgets_widgets.obj \
36 $(OBJS)\widgets_widgets.res
6f628073
VS
37
38### Conditionally set variables: ###
39
75a0a7b7
VS
40!if "$(SHARED)" == "0"
41LIBDIRNAME = .\..\..\lib\vc_lib$(CFG)
42!endif
43!if "$(SHARED)" == "1"
44LIBDIRNAME = .\..\..\lib\vc_dll$(CFG)
45!endif
6f628073
VS
46!if "$(USE_GUI)" == "0"
47PORTNAME = base
48!endif
49!if "$(USE_GUI)" == "1"
50PORTNAME = msw
51!endif
25a73439
VS
52!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
53WXDEBUGFLAG = d
54!endif
55!if "$(DEBUG_FLAG)" == "1"
6f628073
VS
56WXDEBUGFLAG = d
57!endif
58!if "$(SHARED)" == "1"
59WXDLLFLAG = dll
60!endif
61!if "$(UNICODE)" == "1"
62WXUNICODEFLAG = u
63!endif
64!if "$(WXUNIV)" == "1"
65WXUNIVNAME = univ
66!endif
25a73439
VS
67!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
68__DEBUGINFO_0 = /Zi
250700e4 69!endif
25a73439
VS
70!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
71__DEBUGINFO_0 =
250700e4 72!endif
25a73439
VS
73!if "$(DEBUG_INFO)" == "0"
74__DEBUGINFO_0 =
250700e4 75!endif
25a73439
VS
76!if "$(DEBUG_INFO)" == "1"
77__DEBUGINFO_0 = /Zi
250700e4 78!endif
25a73439
VS
79!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
80__DEBUGINFO_1 = /DEBUG
250700e4 81!endif
25a73439
VS
82!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
83__DEBUGINFO_1 =
250700e4 84!endif
25a73439
VS
85!if "$(DEBUG_INFO)" == "0"
86__DEBUGINFO_1 =
87!endif
88!if "$(DEBUG_INFO)" == "1"
89__DEBUGINFO_1 = /DEBUG
90!endif
91!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
92__DEBUGINFO_3 = d
93!endif
94!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
95__DEBUGINFO_3 =
96!endif
97!if "$(DEBUG_INFO)" == "0"
98__DEBUGINFO_3 =
99!endif
100!if "$(DEBUG_INFO)" == "1"
101__DEBUGINFO_3 = d
102!endif
103!if "$(DEBUG_RUNTIME_LIBS)" == "0"
104__DEBUGRUNTIME_3 =
105!endif
106!if "$(DEBUG_RUNTIME_LIBS)" == "1"
107__DEBUGRUNTIME_3 = d
108!endif
109!if "$(DEBUG_RUNTIME_LIBS)" == "default"
110__DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
111!endif
112!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
6f628073
VS
113__DEBUG_DEFINE_p = /D__WXDEBUG__
114!endif
25a73439
VS
115!if "$(DEBUG_FLAG)" == "1"
116__DEBUG_DEFINE_p = /D__WXDEBUG__
117!endif
118!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
119__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
120!endif
121!if "$(DEBUG_FLAG)" == "1"
122__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
6f628073
VS
123!endif
124!if "$(SHARED)" == "1"
125__DLLFLAG_p = /DWXUSINGDLL
126!endif
127!if "$(SHARED)" == "1"
25a73439
VS
128__DLLFLAG_p_1 = /d WXUSINGDLL
129!endif
130!if "$(USE_GUI)" == "1"
131__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
132!endif
133!if "$(USE_GUI)" == "1"
134__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
135!endif
136!if "$(USE_GUI)" == "1"
137__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
6f628073 138!endif
ec08d395
JS
139!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
140__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
141!endif
142!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
143__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
144!endif
145!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
146__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
147!endif
148!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
149__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
150!endif
250700e4 151!if "$(BUILD)" == "debug"
bdc408c4 152__OPTIMIZEFLAG_4 = /Od
250700e4
RD
153!endif
154!if "$(BUILD)" == "release"
bdc408c4 155__OPTIMIZEFLAG_4 = /O2
250700e4
RD
156!endif
157!if "$(RUNTIME_LIBS)" == "dynamic"
bdc408c4 158__RUNTIME_LIBS_7 = D
250700e4
RD
159!endif
160!if "$(RUNTIME_LIBS)" == "static"
bdc408c4 161__RUNTIME_LIBS_7 = T
250700e4 162!endif
6f628073 163!if "$(UNICODE)" == "1"
ec08d395 164__UNICODE_DEFINE_p = /D_UNICODE
6f628073
VS
165!endif
166!if "$(UNICODE)" == "1"
ec08d395 167__UNICODE_DEFINE_p_1 = /d _UNICODE
6f628073 168!endif
4e209a20
VS
169!if "$(MSLU)" == "1"
170__UNICOWS_LIB_p = unicows.lib
171!endif
6f628073 172!if "$(MONOLITHIC)" == "0"
0706fb23
VS
173__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
174!endif
175!if "$(MONOLITHIC)" == "0"
25a73439
VS
176__WXLIB_CORE_p = \
177 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
6f628073
VS
178!endif
179!if "$(MONOLITHIC)" == "1"
25a73439
VS
180__WXLIB_MONO_p = \
181 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
6f628073
VS
182!endif
183!if "$(WXUNIV)" == "1"
184__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
185!endif
186!if "$(WXUNIV)" == "1"
25a73439 187__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
6f628073 188!endif
25a73439
VS
189!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
190____DEBUGINFO_2_p = /D_DEBUG
bdc408c4 191!endif
25a73439 192!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
fd9f42b6 193____DEBUGINFO_2_p =
bdc408c4 194!endif
25a73439 195!if "$(DEBUG_INFO)" == "0"
fd9f42b6 196____DEBUGINFO_2_p =
bdc408c4 197!endif
25a73439
VS
198!if "$(DEBUG_INFO)" == "1"
199____DEBUGINFO_2_p = /D_DEBUG
200!endif
201!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
202____DEBUGINFO_2_p_1 = /d _DEBUG
203!endif
204!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
fd9f42b6 205____DEBUGINFO_2_p_1 =
25a73439
VS
206!endif
207!if "$(DEBUG_INFO)" == "0"
fd9f42b6 208____DEBUGINFO_2_p_1 =
25a73439
VS
209!endif
210!if "$(DEBUG_INFO)" == "1"
211____DEBUGINFO_2_p_1 = /d _DEBUG
212!endif
213!if "$(DEBUG_RUNTIME_LIBS)" == "0"
fd9f42b6 214____DEBUGRUNTIME_2_p =
25a73439
VS
215!endif
216!if "$(DEBUG_RUNTIME_LIBS)" == "1"
217____DEBUGRUNTIME_2_p = /D_DEBUG
218!endif
219!if "$(DEBUG_RUNTIME_LIBS)" == "default"
220____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
221!endif
222!if "$(DEBUG_RUNTIME_LIBS)" == "0"
fd9f42b6 223____DEBUGRUNTIME_2_p_1 =
25a73439
VS
224!endif
225!if "$(DEBUG_RUNTIME_LIBS)" == "1"
226____DEBUGRUNTIME_2_p_1 = /d _DEBUG
227!endif
228!if "$(DEBUG_RUNTIME_LIBS)" == "default"
229____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
bdc408c4 230!endif
6f628073
VS
231
232
233all: $(OBJS)
234$(OBJS):
235 -if not exist $(OBJS) mkdir $(OBJS)
236
237### Targets: ###
238
239all: $(OBJS)\widgets.exe
240
241$(OBJS)\widgets_button.obj: .\button.cpp
242 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
243
244$(OBJS)\widgets_combobox.obj: .\combobox.cpp
245 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
246
247$(OBJS)\widgets_gauge.obj: .\gauge.cpp
248 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
249
250$(OBJS)\widgets_listbox.obj: .\listbox.cpp
251 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
252
253$(OBJS)\widgets_notebook.obj: .\notebook.cpp
254 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
255
256$(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
257 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
258
259$(OBJS)\widgets_slider.obj: .\slider.cpp
260 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
261
262$(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
263 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
264
265$(OBJS)\widgets_static.obj: .\static.cpp
266 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
267
268$(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
269 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
270
271$(OBJS)\widgets_widgets.obj: .\widgets.cpp
272 $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
273
274$(OBJS)\widgets_widgets.res: .\widgets.rc
ec08d395 275 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples $**
6f628073
VS
276
277clean:
278 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
279 -if exist $(OBJS)\*.res del $(OBJS)\*.res
280 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
ec08d395
JS
281 -if exist $(OBJS)\widgets.ilk del $(OBJS)\widgets.ilk
282 -if exist $(OBJS)\widgets.pdb del $(OBJS)\widgets.pdb
6f628073 283
25a73439 284$(OBJS)\widgets.exe: $(WIDGETS_OBJECTS) $(OBJS)\widgets_widgets.res
75a0a7b7 285 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
ec08d395 286 $(WIDGETS_OBJECTS) $(__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 $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib
6f628073 287<<