1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = .\..\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 HELPGEN_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__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) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
25 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
26 /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DwxUSE_GUI=0 $(__RTTIFLAG_9) \
27 $(__EXCEPTIONSFLAG_10) $(CPPFLAGS) $(CXXFLAGS)
29 $(OBJS)\HelpGen_HelpGen.obj \
30 $(OBJS)\HelpGen_cjparser.obj \
31 $(OBJS)\HelpGen_docripper.obj \
32 $(OBJS)\HelpGen_ifcontext.obj \
33 $(OBJS)\HelpGen_markup.obj \
34 $(OBJS)\HelpGen_scriptbinder.obj \
35 $(OBJS)\HelpGen_sourcepainter.obj \
36 $(OBJS)\HelpGen_srcparser.obj
38 ### Conditionally set variables: ###
40 !if "$(USE_GUI)" == "0"
43 !if "$(USE_GUI)" == "1"
46 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
49 !if "$(DEBUG_FLAG)" == "1"
52 !if "$(UNICODE)" == "1"
55 !if "$(WXUNIV)" == "1"
58 !if "$(SHARED)" == "1"
61 !if "$(SHARED)" == "0"
64 !if "$(SHARED)" == "1"
67 !if "$(MONOLITHIC)" == "0"
70 !if "$(MONOLITHIC)" == "1"
73 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
76 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
79 !if "$(DEBUG_INFO)" == "0"
82 !if "$(DEBUG_INFO)" == "1"
85 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
86 __DEBUGINFO_1 = /DEBUG
88 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
91 !if "$(DEBUG_INFO)" == "0"
94 !if "$(DEBUG_INFO)" == "1"
95 __DEBUGINFO_1 = /DEBUG
97 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
98 ____DEBUGRUNTIME_2_p = /D_DEBUG
100 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
101 ____DEBUGRUNTIME_2_p =
103 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
104 ____DEBUGRUNTIME_2_p =
106 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
107 ____DEBUGRUNTIME_2_p = /D_DEBUG
109 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
112 !if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
115 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
118 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
121 !if "$(BUILD)" == "debug"
122 __OPTIMIZEFLAG_4 = /Od
124 !if "$(BUILD)" == "release"
125 __OPTIMIZEFLAG_4 = /O2
127 !if "$(USE_THREADS)" == "0"
130 !if "$(USE_THREADS)" == "1"
133 !if "$(RUNTIME_LIBS)" == "dynamic"
136 !if "$(RUNTIME_LIBS)" == "static"
137 __RUNTIME_LIBS_8 = $(__THREADSFLAG_7)
139 !if "$(USE_RTTI)" == "0"
142 !if "$(USE_RTTI)" == "1"
145 !if "$(USE_EXCEPTIONS)" == "0"
146 __EXCEPTIONSFLAG_10 =
148 !if "$(USE_EXCEPTIONS)" == "1"
149 __EXCEPTIONSFLAG_10 = /EHsc
151 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
152 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
154 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
155 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
157 !if "$(WXUNIV)" == "1"
158 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
160 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
161 __DEBUG_DEFINE_p = /D__WXDEBUG__
163 !if "$(DEBUG_FLAG)" == "1"
164 __DEBUG_DEFINE_p = /D__WXDEBUG__
166 !if "$(USE_EXCEPTIONS)" == "0"
167 __EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
169 !if "$(USE_RTTI)" == "0"
170 __RTTI_DEFINE_p = /DwxNO_RTTI
172 !if "$(USE_THREADS)" == "0"
173 __THREAD_DEFINE_p = /DwxNO_THREADS
175 !if "$(UNICODE)" == "1"
176 __UNICODE_DEFINE_p = /D_UNICODE
178 !if "$(SHARED)" == "1"
179 __DLLFLAG_p = /DWXUSINGDLL
181 !if "$(MONOLITHIC)" == "0"
183 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
185 !if "$(MONOLITHIC)" == "1"
187 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
189 !if "$(USE_GUI)" == "1"
190 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
192 !if "$(USE_GUI)" == "1"
193 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
195 !if "$(USE_GUI)" == "1"
196 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
199 __UNICOWS_LIB_p = unicows.lib
205 -if not exist $(OBJS) mkdir $(OBJS)
209 all: $(OBJS)\HelpGen.exe
212 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
213 -if exist $(OBJS)\*.res del $(OBJS)\*.res
214 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
215 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
216 -if exist $(OBJS)\HelpGen.ilk del $(OBJS)\HelpGen.ilk
217 -if exist $(OBJS)\HelpGen.pdb del $(OBJS)\HelpGen.pdb
219 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
220 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
221 $(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 $(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
225 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
227 $(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
228 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
230 $(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
231 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
233 $(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
234 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
236 $(OBJS)\HelpGen_markup.obj: .\markup.cpp
237 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
239 $(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
240 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
242 $(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
243 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
245 $(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
246 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**