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