]> git.saurik.com Git - wxWidgets.git/blame - contrib/utils/wxrcedit/makefile.vc
typos fixed and more notes on some changes
[wxWidgets.git] / contrib / utils / wxrcedit / makefile.vc
CommitLineData
ec08d395
JS
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# =========================================================================
031dfec8 6
ec08d395 7!include <../../../build/msw/config.vc>
031dfec8 8
ec08d395
JS
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
031dfec8 12
ec08d395 13### Variables: ###
b5ff2fbd 14
ec08d395
JS
15OBJS = \
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17SETUPHDIR = \
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
19WXRCEDIT_CXXFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \
20 $(__DEBUGINFO_0) /Fd$(OBJS)\wxrcedit.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 \
23 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples \
9bfe7ad9
VS
24 /I.\..\..\include $(__EXCEPTIONSFLAG_8) $(__EXCEPTIONSFLAG_9) $(CPPFLAGS) \
25 $(CXXFLAGS)
ec08d395
JS
26WXRCEDIT_OBJECTS = \
27 $(OBJS)\wxrcedit_edapp.obj \
28 $(OBJS)\wxrcedit_editor.obj \
29 $(OBJS)\wxrcedit_nodehnd.obj \
30 $(OBJS)\wxrcedit_nodesdb.obj \
31 $(OBJS)\wxrcedit_pe_adv.obj \
32 $(OBJS)\wxrcedit_pe_basic.obj \
33 $(OBJS)\wxrcedit_preview.obj \
34 $(OBJS)\wxrcedit_propedit.obj \
35 $(OBJS)\wxrcedit_propframe.obj \
36 $(OBJS)\wxrcedit_splittree.obj \
37 $(OBJS)\wxrcedit_xmlhelpr.obj \
38 $(OBJS)\wxrcedit_wxrcedit.res
39
40### Conditionally set variables: ###
031dfec8 41
ec08d395
JS
42!if "$(SHARED)" == "0"
43LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
44!endif
45!if "$(SHARED)" == "1"
46LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
47!endif
48!if "$(USE_GUI)" == "0"
49PORTNAME = base
50!endif
51!if "$(USE_GUI)" == "1"
52PORTNAME = msw
53!endif
54!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
55WXDEBUGFLAG = d
56!endif
57!if "$(DEBUG_FLAG)" == "1"
58WXDEBUGFLAG = d
59!endif
60!if "$(SHARED)" == "1"
61WXDLLFLAG = dll
62!endif
63!if "$(UNICODE)" == "1"
64WXUNICODEFLAG = u
65!endif
66!if "$(WXUNIV)" == "1"
67WXUNIVNAME = univ
68!endif
69!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
70__DEBUGINFO_0 = /Zi
71!endif
72!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
73__DEBUGINFO_0 =
74!endif
75!if "$(DEBUG_INFO)" == "0"
76__DEBUGINFO_0 =
77!endif
78!if "$(DEBUG_INFO)" == "1"
79__DEBUGINFO_0 = /Zi
80!endif
81!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
82__DEBUGINFO_1 = /DEBUG
83!endif
84!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
85__DEBUGINFO_1 =
86!endif
87!if "$(DEBUG_INFO)" == "0"
88__DEBUGINFO_1 =
89!endif
90!if "$(DEBUG_INFO)" == "1"
91__DEBUGINFO_1 = /DEBUG
92!endif
93!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
94__DEBUGINFO_3 = d
95!endif
96!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
97__DEBUGINFO_3 =
98!endif
99!if "$(DEBUG_INFO)" == "0"
100__DEBUGINFO_3 =
101!endif
102!if "$(DEBUG_INFO)" == "1"
103__DEBUGINFO_3 = d
104!endif
105!if "$(DEBUG_RUNTIME_LIBS)" == "0"
106__DEBUGRUNTIME_3 =
107!endif
108!if "$(DEBUG_RUNTIME_LIBS)" == "1"
109__DEBUGRUNTIME_3 = d
110!endif
111!if "$(DEBUG_RUNTIME_LIBS)" == "default"
112__DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
113!endif
114!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
115__DEBUG_DEFINE_p = /D__WXDEBUG__
116!endif
117!if "$(DEBUG_FLAG)" == "1"
118__DEBUG_DEFINE_p = /D__WXDEBUG__
119!endif
120!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
121__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
122!endif
123!if "$(DEBUG_FLAG)" == "1"
124__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
125!endif
126!if "$(SHARED)" == "1"
127__DLLFLAG_p = /DWXUSINGDLL
128!endif
129!if "$(SHARED)" == "1"
130__DLLFLAG_p_1 = /d WXUSINGDLL
131!endif
a4ad36cd
VS
132!if "$(USE_EXCEPTIONS)" == "0"
133__EXCEPTIONSFLAG_8 =
134!endif
135!if "$(USE_EXCEPTIONS)" == "1"
136__EXCEPTIONSFLAG_8 = /GR
137!endif
138!if "$(USE_EXCEPTIONS)" == "0"
139__EXCEPTIONSFLAG_9 =
140!endif
141!if "$(USE_EXCEPTIONS)" == "1"
142__EXCEPTIONSFLAG_9 = /GX
143!endif
ec08d395
JS
144!if "$(USE_GUI)" == "1"
145__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
146!endif
147!if "$(USE_GUI)" == "1"
148__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
149!endif
150!if "$(USE_GUI)" == "1"
151__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
152!endif
153!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
154__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
155!endif
156!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
157__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
158!endif
159!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
160__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
161!endif
162!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
163__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
164!endif
165!if "$(BUILD)" == "debug"
166__OPTIMIZEFLAG_4 = /Od
167!endif
168!if "$(BUILD)" == "release"
169__OPTIMIZEFLAG_4 = /O2
170!endif
171!if "$(RUNTIME_LIBS)" == "dynamic"
172__RUNTIME_LIBS_7 = D
b5ff2fbd 173!endif
ec08d395
JS
174!if "$(RUNTIME_LIBS)" == "static"
175__RUNTIME_LIBS_7 = T
176!endif
177!if "$(UNICODE)" == "1"
178__UNICODE_DEFINE_p = /D_UNICODE
179!endif
180!if "$(UNICODE)" == "1"
181__UNICODE_DEFINE_p_1 = /d _UNICODE
182!endif
183!if "$(MSLU)" == "1"
184__UNICOWS_LIB_p = unicows.lib
185!endif
186!if "$(MONOLITHIC)" == "0"
187__WXLIB_ADV_p = \
188 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
189!endif
190!if "$(MONOLITHIC)" == "0"
191__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
192!endif
193!if "$(MONOLITHIC)" == "0"
194__WXLIB_CORE_p = \
195 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
196!endif
197!if "$(MONOLITHIC)" == "0"
198__WXLIB_HTML_p = \
199 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
200!endif
201!if "$(MONOLITHIC)" == "1"
202__WXLIB_MONO_p = \
203 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
204!endif
205!if "$(MONOLITHIC)" == "0"
206__WXLIB_XML_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xml.lib
207!endif
208!if "$(WXUNIV)" == "1"
209__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
210!endif
211!if "$(WXUNIV)" == "1"
212__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
213!endif
214!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
215____DEBUGINFO_2_p = /D_DEBUG
216!endif
217!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
218____DEBUGINFO_2_p =
219!endif
220!if "$(DEBUG_INFO)" == "0"
221____DEBUGINFO_2_p =
222!endif
223!if "$(DEBUG_INFO)" == "1"
224____DEBUGINFO_2_p = /D_DEBUG
225!endif
226!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
227____DEBUGINFO_2_p_1 = /d _DEBUG
228!endif
229!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
230____DEBUGINFO_2_p_1 =
231!endif
232!if "$(DEBUG_INFO)" == "0"
233____DEBUGINFO_2_p_1 =
234!endif
235!if "$(DEBUG_INFO)" == "1"
236____DEBUGINFO_2_p_1 = /d _DEBUG
237!endif
238!if "$(DEBUG_RUNTIME_LIBS)" == "0"
239____DEBUGRUNTIME_2_p =
240!endif
241!if "$(DEBUG_RUNTIME_LIBS)" == "1"
242____DEBUGRUNTIME_2_p = /D_DEBUG
243!endif
244!if "$(DEBUG_RUNTIME_LIBS)" == "default"
245____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
246!endif
247!if "$(DEBUG_RUNTIME_LIBS)" == "0"
248____DEBUGRUNTIME_2_p_1 =
249!endif
250!if "$(DEBUG_RUNTIME_LIBS)" == "1"
251____DEBUGRUNTIME_2_p_1 = /d _DEBUG
252!endif
253!if "$(DEBUG_RUNTIME_LIBS)" == "default"
254____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
255!endif
256
257
258all: $(OBJS)
259$(OBJS):
260 -if not exist $(OBJS) mkdir $(OBJS)
261
262### Targets: ###
263
264all: $(OBJS)\wxrcedit.exe
265
266$(OBJS)\wxrcedit_edapp.obj: .\edapp.cpp
267 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
268
269$(OBJS)\wxrcedit_editor.obj: .\editor.cpp
270 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
271
272$(OBJS)\wxrcedit_nodehnd.obj: .\nodehnd.cpp
273 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
274
275$(OBJS)\wxrcedit_nodesdb.obj: .\nodesdb.cpp
276 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
277
278$(OBJS)\wxrcedit_pe_adv.obj: .\pe_adv.cpp
279 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
280
281$(OBJS)\wxrcedit_pe_basic.obj: .\pe_basic.cpp
282 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
283
284$(OBJS)\wxrcedit_preview.obj: .\preview.cpp
285 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
286
287$(OBJS)\wxrcedit_propedit.obj: .\propedit.cpp
288 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
289
290$(OBJS)\wxrcedit_propframe.obj: .\propframe.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
292
293$(OBJS)\wxrcedit_splittree.obj: .\splittree.cpp
294 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
295
296$(OBJS)\wxrcedit_wxrcedit.res: .\wxrcedit.rc
297 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 /i .\..\..\include $**
b5ff2fbd 298
ec08d395
JS
299$(OBJS)\wxrcedit_xmlhelpr.obj: .\xmlhelpr.cpp
300 $(CXX) /c /nologo /TP /Fo$@ $(WXRCEDIT_CXXFLAGS) $**
031dfec8 301
ec08d395
JS
302clean:
303 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
304 -if exist $(OBJS)\*.res del $(OBJS)\*.res
305 -if exist $(OBJS)\wxrcedit.exe del $(OBJS)\wxrcedit.exe
306 -if exist $(OBJS)\wxrcedit.ilk del $(OBJS)\wxrcedit.ilk
307 -if exist $(OBJS)\wxrcedit.pdb del $(OBJS)\wxrcedit.pdb
031dfec8 308
ec08d395
JS
309$(OBJS)\wxrcedit.exe: $(WXRCEDIT_OBJECTS) $(OBJS)\wxrcedit_wxrcedit.res
310 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
311 $(WXRCEDIT_OBJECTS) wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib $(__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
312<<