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