]> git.saurik.com Git - wxWidgets.git/blob - utils/HelpGen/src/makefile.vc
icon - bitmap conversions corrections (size is not always the 'standard' 32 pixels)
[wxWidgets.git] / utils / HelpGen / src / makefile.vc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (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 WX_RELEASE_NODOT = 25
16 OBJS = \
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = .\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
19 SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 HELPGEN_CXXFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \
22 $(__DEBUGINFO_0) /Fd$(OBJS)\HelpGen.pdb $(____DEBUGRUNTIME_2_p) \
23 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
24 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
25 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 \
26 $(__EXCEPTIONSFLAG_8) $(__EXCEPTIONSFLAG_9) $(CPPFLAGS) $(CXXFLAGS)
27 HELPGEN_OBJECTS = \
28 $(OBJS)\HelpGen_HelpGen.obj \
29 $(OBJS)\HelpGen_cjparser.obj \
30 $(OBJS)\HelpGen_docripper.obj \
31 $(OBJS)\HelpGen_ifcontext.obj \
32 $(OBJS)\HelpGen_markup.obj \
33 $(OBJS)\HelpGen_scriptbinder.obj \
34 $(OBJS)\HelpGen_sourcepainter.obj \
35 $(OBJS)\HelpGen_srcparser.obj
36
37 ### Conditionally set variables: ###
38
39 !if "$(USE_GUI)" == "0"
40 PORTNAME = base
41 !endif
42 !if "$(USE_GUI)" == "1"
43 PORTNAME = msw
44 !endif
45 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
46 WXDEBUGFLAG = d
47 !endif
48 !if "$(DEBUG_FLAG)" == "1"
49 WXDEBUGFLAG = d
50 !endif
51 !if "$(UNICODE)" == "1"
52 WXUNICODEFLAG = u
53 !endif
54 !if "$(WXUNIV)" == "1"
55 WXUNIVNAME = univ
56 !endif
57 !if "$(SHARED)" == "1"
58 WXDLLFLAG = dll
59 !endif
60 !if "$(SHARED)" == "0"
61 LIBTYPE_SUFFIX = lib
62 !endif
63 !if "$(SHARED)" == "1"
64 LIBTYPE_SUFFIX = dll
65 !endif
66 !if "$(MONOLITHIC)" == "0"
67 EXTRALIBS_FOR_BASE =
68 !endif
69 !if "$(MONOLITHIC)" == "1"
70 EXTRALIBS_FOR_BASE =
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 "$(DEBUG_RUNTIME_LIBS)" == "0"
97 ____DEBUGRUNTIME_2_p =
98 !endif
99 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
100 ____DEBUGRUNTIME_2_p = /D_DEBUG
101 !endif
102 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
103 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
104 !endif
105 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
106 ____DEBUGINFO_2_p = /D_DEBUG
107 !endif
108 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
109 ____DEBUGINFO_2_p =
110 !endif
111 !if "$(DEBUG_INFO)" == "0"
112 ____DEBUGINFO_2_p =
113 !endif
114 !if "$(DEBUG_INFO)" == "1"
115 ____DEBUGINFO_2_p = /D_DEBUG
116 !endif
117 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
118 __DEBUGRUNTIME_3 =
119 !endif
120 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
121 __DEBUGRUNTIME_3 = d
122 !endif
123 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
124 __DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
125 !endif
126 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
127 __DEBUGINFO_3 = d
128 !endif
129 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
130 __DEBUGINFO_3 =
131 !endif
132 !if "$(DEBUG_INFO)" == "0"
133 __DEBUGINFO_3 =
134 !endif
135 !if "$(DEBUG_INFO)" == "1"
136 __DEBUGINFO_3 = d
137 !endif
138 !if "$(BUILD)" == "debug"
139 __OPTIMIZEFLAG_4 = /Od
140 !endif
141 !if "$(BUILD)" == "release"
142 __OPTIMIZEFLAG_4 = /O2
143 !endif
144 !if "$(RUNTIME_LIBS)" == "dynamic"
145 __RUNTIME_LIBS_7 = D
146 !endif
147 !if "$(RUNTIME_LIBS)" == "static"
148 __RUNTIME_LIBS_7 = T
149 !endif
150 !if "$(USE_EXCEPTIONS)" == "0"
151 __EXCEPTIONSFLAG_8 =
152 !endif
153 !if "$(USE_EXCEPTIONS)" == "1"
154 __EXCEPTIONSFLAG_8 = /GR
155 !endif
156 !if "$(USE_EXCEPTIONS)" == "0"
157 __EXCEPTIONSFLAG_9 =
158 !endif
159 !if "$(USE_EXCEPTIONS)" == "1"
160 __EXCEPTIONSFLAG_9 = /GX
161 !endif
162 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
163 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
164 !endif
165 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
166 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
167 !endif
168 !if "$(WXUNIV)" == "1"
169 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
170 !endif
171 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
172 __DEBUG_DEFINE_p = /D__WXDEBUG__
173 !endif
174 !if "$(DEBUG_FLAG)" == "1"
175 __DEBUG_DEFINE_p = /D__WXDEBUG__
176 !endif
177 !if "$(UNICODE)" == "1"
178 __UNICODE_DEFINE_p = /D_UNICODE
179 !endif
180 !if "$(SHARED)" == "1"
181 __DLLFLAG_p = /DWXUSINGDLL
182 !endif
183 !if "$(MONOLITHIC)" == "0"
184 __WXLIB_BASE_p = \
185 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
186 !endif
187 !if "$(MONOLITHIC)" == "1"
188 __WXLIB_MONO_p = \
189 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
190 !endif
191 !if "$(USE_GUI)" == "1"
192 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
193 !endif
194 !if "$(USE_GUI)" == "1"
195 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
196 !endif
197 !if "$(USE_GUI)" == "1"
198 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
199 !endif
200 !if "$(MSLU)" == "1"
201 __UNICOWS_LIB_p = unicows.lib
202 !endif
203
204
205 all: $(OBJS)
206 $(OBJS):
207 -if not exist $(OBJS) mkdir $(OBJS)
208
209 ### Targets: ###
210
211 all: $(OBJS)\HelpGen.exe
212
213 clean:
214 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
215 -if exist $(OBJS)\*.res del $(OBJS)\*.res
216 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
217 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
218 -if exist $(OBJS)\HelpGen.ilk del $(OBJS)\HelpGen.ilk
219 -if exist $(OBJS)\HelpGen.pdb del $(OBJS)\HelpGen.pdb
220
221 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
222 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
223 $(HELPGEN_OBJECTS) $(__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 $(EXTRALIBS_FOR_BASE) $(__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
224 <<
225
226 $(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
227 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
228
229 $(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
230 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
231
232 $(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
233 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
234
235 $(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
236 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
237
238 $(OBJS)\HelpGen_markup.obj: .\markup.cpp
239 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
240
241 $(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
242 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
243
244 $(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
245 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
246
247 $(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
248 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
249