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