]> git.saurik.com Git - wxWidgets.git/blame - utils/configtool/src/makefile.vc
Missing headers.
[wxWidgets.git] / utils / configtool / src / makefile.vc
CommitLineData
4b20974a
VS
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
4b20974a
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
d7463f75 6
4b20974a
VS
7!include <../../../build/msw/config.vc>
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
19WXCONFIGTOOL_CXXFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \
20 $(__DEBUGINFO_0) /Fd$(OBJS)\wxconfigtool.pdb $(____DEBUGRUNTIME_2_p) \
21 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
22 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
23 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples \
24 $(__EXCEPTIONSFLAG_8) $(__EXCEPTIONSFLAG_9) $(CPPFLAGS) $(CXXFLAGS)
4b20974a
VS
25WXCONFIGTOOL_OBJECTS = \
26 $(OBJS)\wxconfigtool_sample.res \
27 $(OBJS)\wxconfigtool_wxconfigtool.obj \
28 $(OBJS)\wxconfigtool_appsettings.obj \
29 $(OBJS)\wxconfigtool_configitem.obj \
30 $(OBJS)\wxconfigtool_configitemselector.obj \
31 $(OBJS)\wxconfigtool_configtooldoc.obj \
32 $(OBJS)\wxconfigtool_configtoolview.obj \
33 $(OBJS)\wxconfigtool_configtree.obj \
34 $(OBJS)\wxconfigtool_custompropertydialog.obj \
35 $(OBJS)\wxconfigtool_htmlparser.obj \
36 $(OBJS)\wxconfigtool_mainframe.obj \
37 $(OBJS)\wxconfigtool_propeditor.obj \
38 $(OBJS)\wxconfigtool_property.obj \
39 $(OBJS)\wxconfigtool_settingsdialog.obj \
40 $(OBJS)\wxconfigtool_utils.obj
41
42### Conditionally set variables: ###
43
4b20974a
VS
44!if "$(USE_GUI)" == "0"
45PORTNAME = base
46!endif
47!if "$(USE_GUI)" == "1"
48PORTNAME = msw
49!endif
50!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
51WXDEBUGFLAG = d
52!endif
53!if "$(DEBUG_FLAG)" == "1"
54WXDEBUGFLAG = d
55!endif
4b20974a
VS
56!if "$(UNICODE)" == "1"
57WXUNICODEFLAG = u
58!endif
59!if "$(WXUNIV)" == "1"
60WXUNIVNAME = univ
61!endif
b17c1746
DE
62!if "$(SHARED)" == "1"
63WXDLLFLAG = dll
64!endif
4b20974a
VS
65!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
66__DEBUGINFO_0 = /Zi
67!endif
68!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
69__DEBUGINFO_0 =
70!endif
71!if "$(DEBUG_INFO)" == "0"
72__DEBUGINFO_0 =
73!endif
74!if "$(DEBUG_INFO)" == "1"
75__DEBUGINFO_0 = /Zi
76!endif
77!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
78__DEBUGINFO_1 = /DEBUG
79!endif
80!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
81__DEBUGINFO_1 =
82!endif
83!if "$(DEBUG_INFO)" == "0"
84__DEBUGINFO_1 =
85!endif
86!if "$(DEBUG_INFO)" == "1"
87__DEBUGINFO_1 = /DEBUG
88!endif
b17c1746
DE
89!if "$(DEBUG_RUNTIME_LIBS)" == "0"
90____DEBUGRUNTIME_2_p =
91!endif
92!if "$(DEBUG_RUNTIME_LIBS)" == "1"
93____DEBUGRUNTIME_2_p = /D_DEBUG
94!endif
95!if "$(DEBUG_RUNTIME_LIBS)" == "default"
96____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
97!endif
4b20974a 98!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
b17c1746 99____DEBUGINFO_2_p = /D_DEBUG
4b20974a
VS
100!endif
101!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
b17c1746 102____DEBUGINFO_2_p =
4b20974a
VS
103!endif
104!if "$(DEBUG_INFO)" == "0"
b17c1746 105____DEBUGINFO_2_p =
4b20974a
VS
106!endif
107!if "$(DEBUG_INFO)" == "1"
b17c1746
DE
108____DEBUGINFO_2_p = /D_DEBUG
109!endif
110!if "$(DEBUG_RUNTIME_LIBS)" == "0"
111____DEBUGRUNTIME_2_p_1 =
112!endif
113!if "$(DEBUG_RUNTIME_LIBS)" == "1"
114____DEBUGRUNTIME_2_p_1 = /d _DEBUG
115!endif
116!if "$(DEBUG_RUNTIME_LIBS)" == "default"
117____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
118!endif
119!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
120____DEBUGINFO_2_p_1 = /d _DEBUG
121!endif
122!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
123____DEBUGINFO_2_p_1 =
124!endif
125!if "$(DEBUG_INFO)" == "0"
126____DEBUGINFO_2_p_1 =
127!endif
128!if "$(DEBUG_INFO)" == "1"
129____DEBUGINFO_2_p_1 = /d _DEBUG
4b20974a
VS
130!endif
131!if "$(DEBUG_RUNTIME_LIBS)" == "0"
132__DEBUGRUNTIME_3 =
133!endif
134!if "$(DEBUG_RUNTIME_LIBS)" == "1"
135__DEBUGRUNTIME_3 = d
136!endif
137!if "$(DEBUG_RUNTIME_LIBS)" == "default"
138__DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
139!endif
b17c1746
DE
140!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
141__DEBUGINFO_3 = d
4b20974a 142!endif
b17c1746
DE
143!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
144__DEBUGINFO_3 =
4b20974a 145!endif
b17c1746
DE
146!if "$(DEBUG_INFO)" == "0"
147__DEBUGINFO_3 =
4b20974a 148!endif
b17c1746
DE
149!if "$(DEBUG_INFO)" == "1"
150__DEBUGINFO_3 = d
4b20974a 151!endif
b17c1746
DE
152!if "$(BUILD)" == "debug"
153__OPTIMIZEFLAG_4 = /Od
4b20974a 154!endif
b17c1746
DE
155!if "$(BUILD)" == "release"
156__OPTIMIZEFLAG_4 = /O2
157!endif
158!if "$(RUNTIME_LIBS)" == "dynamic"
159__RUNTIME_LIBS_7 = D
160!endif
161!if "$(RUNTIME_LIBS)" == "static"
162__RUNTIME_LIBS_7 = T
4b20974a 163!endif
a4ad36cd
VS
164!if "$(USE_EXCEPTIONS)" == "0"
165__EXCEPTIONSFLAG_8 =
166!endif
167!if "$(USE_EXCEPTIONS)" == "1"
168__EXCEPTIONSFLAG_8 = /GR
169!endif
170!if "$(USE_EXCEPTIONS)" == "0"
171__EXCEPTIONSFLAG_9 =
172!endif
173!if "$(USE_EXCEPTIONS)" == "1"
174__EXCEPTIONSFLAG_9 = /GX
175!endif
ec08d395
JS
176!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
177__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
178!endif
179!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
180__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
181!endif
182!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
183__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
184!endif
185!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
186__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
187!endif
b17c1746
DE
188!if "$(WXUNIV)" == "1"
189__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
4b20974a 190!endif
b17c1746
DE
191!if "$(WXUNIV)" == "1"
192__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
4b20974a 193!endif
b17c1746
DE
194!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
195__DEBUG_DEFINE_p = /D__WXDEBUG__
4b20974a 196!endif
b17c1746
DE
197!if "$(DEBUG_FLAG)" == "1"
198__DEBUG_DEFINE_p = /D__WXDEBUG__
199!endif
200!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
201__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
202!endif
203!if "$(DEBUG_FLAG)" == "1"
204__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
4b20974a
VS
205!endif
206!if "$(UNICODE)" == "1"
a48abb85 207__UNICODE_DEFINE_p = /D_UNICODE
4b20974a
VS
208!endif
209!if "$(UNICODE)" == "1"
a48abb85 210__UNICODE_DEFINE_p_1 = /d _UNICODE
4b20974a 211!endif
b17c1746
DE
212!if "$(SHARED)" == "1"
213__DLLFLAG_p = /DWXUSINGDLL
214!endif
215!if "$(SHARED)" == "1"
216__DLLFLAG_p_1 = /d WXUSINGDLL
4b20974a
VS
217!endif
218!if "$(MONOLITHIC)" == "0"
219__WXLIB_ADV_p = \
220 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
221!endif
222!if "$(MONOLITHIC)" == "0"
b17c1746
DE
223__WXLIB_HTML_p = \
224 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
4b20974a
VS
225!endif
226!if "$(MONOLITHIC)" == "0"
227__WXLIB_CORE_p = \
228 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
229!endif
230!if "$(MONOLITHIC)" == "0"
b17c1746
DE
231__WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
232!endif
233!if "$(MONOLITHIC)" == "0"
234__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
4b20974a
VS
235!endif
236!if "$(MONOLITHIC)" == "1"
237__WXLIB_MONO_p = \
238 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
239!endif
b17c1746
DE
240!if "$(USE_GUI)" == "1"
241__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
4b20974a 242!endif
b17c1746
DE
243!if "$(USE_GUI)" == "1"
244__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
4b20974a 245!endif
b17c1746
DE
246!if "$(USE_GUI)" == "1"
247__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
4b20974a 248!endif
b17c1746
DE
249!if "$(MSLU)" == "1"
250__UNICOWS_LIB_p = unicows.lib
4b20974a 251!endif
b17c1746
DE
252!if "$(SHARED)" == "0"
253LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
4b20974a 254!endif
b17c1746
DE
255!if "$(SHARED)" == "1"
256LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
4b20974a
VS
257!endif
258
259
260all: $(OBJS)
261$(OBJS):
262 -if not exist $(OBJS) mkdir $(OBJS)
263
264### Targets: ###
265
266all: $(OBJS)\wxconfigtool.exe data
267
b17c1746
DE
268clean:
269 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
270 -if exist $(OBJS)\*.res del $(OBJS)\*.res
271 -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe
272 -if exist $(OBJS)\wxconfigtool.ilk del $(OBJS)\wxconfigtool.ilk
273 -if exist $(OBJS)\wxconfigtool.pdb del $(OBJS)\wxconfigtool.pdb
274
275$(OBJS)\wxconfigtool.exe: $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample.res
276 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
b92ca8cf 277 $(WXCONFIGTOOL_OBJECTS) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_XML_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 $(__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
b17c1746
DE
278<<
279
280data:
281 if not exist $(OBJS) mkdir $(OBJS)
282 for %f in (wxwin250.wxs) do if not exist $(OBJS)\%f copy .\..\configs\%f $(OBJS)
283
284$(OBJS)\wxconfigtool_sample.res: .\..\..\..\samples\sample.rc
285 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 $**
286
287$(OBJS)\wxconfigtool_wxconfigtool.obj: .\wxconfigtool.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
289
4b20974a
VS
290$(OBJS)\wxconfigtool_appsettings.obj: .\appsettings.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
292
293$(OBJS)\wxconfigtool_configitem.obj: .\configitem.cpp
294 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
295
296$(OBJS)\wxconfigtool_configitemselector.obj: .\configitemselector.cpp
297 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
298
299$(OBJS)\wxconfigtool_configtooldoc.obj: .\configtooldoc.cpp
300 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
301
302$(OBJS)\wxconfigtool_configtoolview.obj: .\configtoolview.cpp
303 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
304
305$(OBJS)\wxconfigtool_configtree.obj: .\configtree.cpp
306 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
307
308$(OBJS)\wxconfigtool_custompropertydialog.obj: .\custompropertydialog.cpp
309 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
310
311$(OBJS)\wxconfigtool_htmlparser.obj: .\htmlparser.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
313
314$(OBJS)\wxconfigtool_mainframe.obj: .\mainframe.cpp
315 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
316
317$(OBJS)\wxconfigtool_propeditor.obj: .\propeditor.cpp
318 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
319
320$(OBJS)\wxconfigtool_property.obj: .\property.cpp
321 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
322
4b20974a
VS
323$(OBJS)\wxconfigtool_settingsdialog.obj: .\settingsdialog.cpp
324 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**
325
326$(OBJS)\wxconfigtool_utils.obj: .\utils.cpp
327 $(CXX) /c /nologo /TP /Fo$@ $(WXCONFIGTOOL_CXXFLAGS) $**