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 # =========================================================================
7 !include <../../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
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) /GR /GX
21 $(OBJS)\HelpGen_HelpGen.obj \
22 $(OBJS)\HelpGen_cjparser.obj \
23 $(OBJS)\HelpGen_docripper.obj \
24 $(OBJS)\HelpGen_ifcontext.obj \
25 $(OBJS)\HelpGen_markup.obj \
26 $(OBJS)\HelpGen_scriptbinder.obj \
27 $(OBJS)\HelpGen_sourcepainter.obj \
28 $(OBJS)\HelpGen_srcparser.obj
30 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
32 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
34 ### Conditionally set variables: ###
36 !if "$(SHARED)" == "0"
37 LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
39 !if "$(SHARED)" == "1"
40 LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
42 !if "$(USE_GUI)" == "0"
45 !if "$(USE_GUI)" == "1"
48 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
51 !if "$(DEBUG_FLAG)" == "1"
54 !if "$(SHARED)" == "1"
57 !if "$(UNICODE)" == "1"
60 !if "$(WXUNIV)" == "1"
63 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
66 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
69 !if "$(DEBUG_INFO)" == "0"
72 !if "$(DEBUG_INFO)" == "1"
75 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
76 __DEBUGINFO_1 = /DEBUG
78 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
81 !if "$(DEBUG_INFO)" == "0"
84 !if "$(DEBUG_INFO)" == "1"
85 __DEBUGINFO_1 = /DEBUG
87 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
90 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
93 !if "$(DEBUG_INFO)" == "0"
96 !if "$(DEBUG_INFO)" == "1"
99 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
102 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
105 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
106 __DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
108 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
109 __DEBUG_DEFINE_p = /D__WXDEBUG__
111 !if "$(DEBUG_FLAG)" == "1"
112 __DEBUG_DEFINE_p = /D__WXDEBUG__
114 !if "$(SHARED)" == "1"
115 __DLLFLAG_p = /DWXUSINGDLL
117 !if "$(USE_GUI)" == "1"
118 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
120 !if "$(USE_GUI)" == "1"
121 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
123 !if "$(USE_GUI)" == "1"
124 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
126 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
127 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
129 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
130 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
132 !if "$(BUILD)" == "debug"
133 __OPTIMIZEFLAG_4 = /Od
135 !if "$(BUILD)" == "release"
136 __OPTIMIZEFLAG_4 = /O2
138 !if "$(RUNTIME_LIBS)" == "dynamic"
141 !if "$(RUNTIME_LIBS)" == "static"
144 !if "$(UNICODE)" == "1"
145 __UNICODE_DEFINE_p = /D_UNICODE
148 __UNICOWS_LIB_p = unicows.lib
150 !if "$(MONOLITHIC)" == "0"
151 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
153 !if "$(MONOLITHIC)" == "1"
155 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
157 !if "$(WXUNIV)" == "1"
158 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
160 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
161 ____DEBUGINFO_2_p = /D_DEBUG
163 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
166 !if "$(DEBUG_INFO)" == "0"
169 !if "$(DEBUG_INFO)" == "1"
170 ____DEBUGINFO_2_p = /D_DEBUG
172 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
173 ____DEBUGRUNTIME_2_p =
175 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
176 ____DEBUGRUNTIME_2_p = /D_DEBUG
178 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
179 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
185 -if not exist $(OBJS) mkdir $(OBJS)
189 all: $(OBJS)\HelpGen.exe
191 $(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
192 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
194 $(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
195 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
197 $(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
198 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
200 $(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
201 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
203 $(OBJS)\HelpGen_markup.obj: .\markup.cpp
204 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
206 $(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
207 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
209 $(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
210 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
212 $(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
213 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
215 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
216 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
217 $(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
221 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
222 -if exist $(OBJS)\*.res del $(OBJS)\*.res
223 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
224 -if exist $(OBJS)\HelpGen.ilk del $(OBJS)\HelpGen.ilk
225 -if exist $(OBJS)\HelpGen.pdb del $(OBJS)\HelpGen.pdb