1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.2 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
13 BCCDIR = $(MAKEDIR)\..
16 !include ../../../build/msw/config.bcc
18 # -------------------------------------------------------------------------
19 # Do not modify the rest of this file!
20 # -------------------------------------------------------------------------
27 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
28 LIBDIRNAME = .\..\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
30 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
31 HELPGEN_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
32 $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
33 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
34 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
35 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -I. $(__DLLFLAG_p) \
36 -DwxUSE_GUI=0 $(CPPFLAGS) $(CXXFLAGS)
38 $(OBJS)\HelpGen_HelpGen.obj \
39 $(OBJS)\HelpGen_cjparser.obj \
40 $(OBJS)\HelpGen_docripper.obj \
41 $(OBJS)\HelpGen_ifcontext.obj \
42 $(OBJS)\HelpGen_markup.obj \
43 $(OBJS)\HelpGen_scriptbinder.obj \
44 $(OBJS)\HelpGen_sourcepainter.obj \
45 $(OBJS)\HelpGen_srcparser.obj
47 ### Conditionally set variables: ###
49 !if "$(USE_GUI)" == "0"
52 !if "$(USE_GUI)" == "1"
55 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
58 !if "$(DEBUG_FLAG)" == "1"
61 !if "$(UNICODE)" == "1"
64 !if "$(WXUNIV)" == "1"
67 !if "$(SHARED)" == "1"
70 !if "$(SHARED)" == "0"
73 !if "$(SHARED)" == "1"
76 !if "$(MONOLITHIC)" == "0"
79 !if "$(MONOLITHIC)" == "1"
82 !if "$(BUILD)" == "debug"
83 __OPTIMIZEFLAG_2 = -Od
85 !if "$(BUILD)" == "release"
86 __OPTIMIZEFLAG_2 = -O2
88 !if "$(USE_THREADS)" == "0"
91 !if "$(USE_THREADS)" == "1"
94 !if "$(USE_THREADS)" == "0"
97 !if "$(USE_THREADS)" == "1"
98 __THREADSFLAG_6 = -tWM
100 !if "$(RUNTIME_LIBS)" == "dynamic"
101 __RUNTIME_LIBS_7 = -tWR
103 !if "$(RUNTIME_LIBS)" == "static"
106 !if "$(RUNTIME_LIBS)" == "dynamic"
109 !if "$(RUNTIME_LIBS)" == "static"
112 !if "$(WXUNIV)" == "1"
113 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
115 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
116 __DEBUG_DEFINE_p = -D__WXDEBUG__
118 !if "$(DEBUG_FLAG)" == "1"
119 __DEBUG_DEFINE_p = -D__WXDEBUG__
121 !if "$(USE_EXCEPTIONS)" == "0"
122 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
124 !if "$(USE_RTTI)" == "0"
125 __RTTI_DEFINE_p = -DwxNO_RTTI
127 !if "$(USE_THREADS)" == "0"
128 __THREAD_DEFINE_p = -DwxNO_THREADS
130 !if "$(UNICODE)" == "0"
131 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=0
133 !if "$(UNICODE)" == "1"
134 __UNICODE_DEFINE_p = -D_UNICODE
137 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
139 !if "$(USE_GDIPLUS)" == "1"
140 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
142 !if "$(SHARED)" == "1"
143 __DLLFLAG_p = -DWXUSINGDLL
145 !if "$(MONOLITHIC)" == "0"
147 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
149 !if "$(MONOLITHIC)" == "1"
151 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
154 __UNICOWS_LIB_p = unicows.lib
156 !if "$(USE_GDIPLUS)" == "1"
157 __GDIPLUS_LIB_p = gdiplus.lib
159 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
162 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
165 !if "$(DEBUG_INFO)" == "0"
168 !if "$(DEBUG_INFO)" == "1"
175 -if not exist $(OBJS) mkdir $(OBJS)
179 all: $(OBJS)\HelpGen.exe
182 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
183 -if exist $(OBJS)\*.res del $(OBJS)\*.res
184 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
185 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
186 -if exist $(OBJS)\HelpGen.tds del $(OBJS)\HelpGen.tds
187 -if exist $(OBJS)\HelpGen.ilc del $(OBJS)\HelpGen.ilc
188 -if exist $(OBJS)\HelpGen.ild del $(OBJS)\HelpGen.ild
189 -if exist $(OBJS)\HelpGen.ilf del $(OBJS)\HelpGen.ilf
190 -if exist $(OBJS)\HelpGen.ils del $(OBJS)\HelpGen.ils
192 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
193 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
194 c0x32.obj $(HELPGEN_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,,
197 $(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
198 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
200 $(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
201 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
203 $(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
204 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
206 $(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
207 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
209 $(OBJS)\HelpGen_markup.obj: .\markup.cpp
210 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
212 $(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
213 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
215 $(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
216 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
218 $(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
219 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**