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) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
18 $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(LIBDIRNAME) /I.\..\..\src\tiff \
19 /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex \
20 /I.\..\..\src\expat\lib /I. $(__DLLFLAG_p) /D_CONSOLE $(CXXFLAGS)
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)\HelpGen_wx_extra_imps.obj
32 .\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
34 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
36 ### Conditionally set variables: ###
38 !if "$(USE_GUI)" == "0"
41 !if "$(USE_GUI)" == "1"
44 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
47 !if "$(DEBUG_FLAG)" == "1"
50 !if "$(SHARED)" == "1"
53 !if "$(UNICODE)" == "1"
56 !if "$(WXUNIV)" == "1"
59 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
62 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
65 !if "$(DEBUG_INFO)" == "0"
68 !if "$(DEBUG_INFO)" == "1"
71 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
72 __DEBUGINFO_1 = /DEBUG
74 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
77 !if "$(DEBUG_INFO)" == "0"
80 !if "$(DEBUG_INFO)" == "1"
81 __DEBUGINFO_1 = /DEBUG
83 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
86 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
89 !if "$(DEBUG_INFO)" == "0"
92 !if "$(DEBUG_INFO)" == "1"
95 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
98 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
101 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
102 __DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
104 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
105 __DEBUG_DEFINE_p = /D__WXDEBUG__
107 !if "$(DEBUG_FLAG)" == "1"
108 __DEBUG_DEFINE_p = /D__WXDEBUG__
110 !if "$(SHARED)" == "1"
111 __DLLFLAG_p = /DWXUSINGDLL
113 !if "$(USE_GUI)" == "1"
114 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
116 !if "$(USE_GUI)" == "1"
117 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
119 !if "$(USE_GUI)" == "1"
120 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
122 !if "$(BUILD)" == "debug"
123 __OPTIMIZEFLAG_4 = /Od
125 !if "$(BUILD)" == "release"
126 __OPTIMIZEFLAG_4 = /O2
128 !if "$(RUNTIME_LIBS)" == "dynamic"
131 !if "$(RUNTIME_LIBS)" == "static"
134 !if "$(UNICODE)" == "1"
135 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
138 __UNICOWS_LIB_p = unicows.lib
140 !if "$(MONOLITHIC)" == "0"
141 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
143 !if "$(MONOLITHIC)" == "1"
145 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
147 !if "$(WXUNIV)" == "1"
148 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
150 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
151 ____DEBUGINFO_2_p = /D_DEBUG
153 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
156 !if "$(DEBUG_INFO)" == "0"
159 !if "$(DEBUG_INFO)" == "1"
160 ____DEBUGINFO_2_p = /D_DEBUG
162 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
163 ____DEBUGRUNTIME_2_p =
165 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
166 ____DEBUGRUNTIME_2_p = /D_DEBUG
168 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
169 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
175 -if not exist $(OBJS) mkdir $(OBJS)
179 all: $(OBJS)\HelpGen.exe
181 $(OBJS)\HelpGen_HelpGen.obj: .\src\HelpGen.cpp
182 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
184 $(OBJS)\HelpGen_cjparser.obj: .\src\cjparser.cpp
185 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
187 $(OBJS)\HelpGen_docripper.obj: .\src\docripper.cpp
188 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
190 $(OBJS)\HelpGen_ifcontext.obj: .\src\ifcontext.cpp
191 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
193 $(OBJS)\HelpGen_markup.obj: .\src\markup.cpp
194 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
196 $(OBJS)\HelpGen_scriptbinder.obj: .\src\scriptbinder.cpp
197 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
199 $(OBJS)\HelpGen_sourcepainter.obj: .\src\sourcepainter.cpp
200 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
202 $(OBJS)\HelpGen_srcparser.obj: .\src\srcparser.cpp
203 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
205 $(OBJS)\HelpGen_wx_extra_imps.obj: .\src\wx_extra_imps.cpp
206 $(CXX) /c /nologo /TP /Fo$@ $(HELPGEN_CXXFLAGS) $**
208 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
209 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE @<<
210 $(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
214 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
215 -if exist $(OBJS)\*.res del $(OBJS)\*.res
216 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe