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 # =========================================================================
11 !include ../../build/msw/config.bcc
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
23 HELPGEN_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_6) $(__DEBUGINFO) \
24 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(LIBDIRNAME) \
26 -I.\..\..\src\tiff -I.\..\..\src\jpeg -I.\..\..\src\png -I.\..\..\src\zlib \
27 -I.\..\..\src\regex -I.\..\..\src\expat\lib -I. $(__DLLFLAG_p) $(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 \
37 $(OBJS)\HelpGen_wx_extra_imps.obj
39 .\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
41 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
43 ### Conditionally set variables: ###
45 !if "$(USE_GUI)" == "0"
48 !if "$(USE_GUI)" == "1"
51 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
54 !if "$(DEBUG_FLAG)" == "1"
57 !if "$(SHARED)" == "1"
60 !if "$(UNICODE)" == "1"
63 !if "$(WXUNIV)" == "1"
66 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
69 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
72 !if "$(DEBUG_INFO)" == "0"
75 !if "$(DEBUG_INFO)" == "1"
78 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
79 __DEBUG_DEFINE_p = -D__WXDEBUG__
81 !if "$(DEBUG_FLAG)" == "1"
82 __DEBUG_DEFINE_p = -D__WXDEBUG__
84 !if "$(SHARED)" == "1"
85 __DLLFLAG_p = -DWXUSINGDLL
87 !if "$(USE_GUI)" == "1"
88 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
90 !if "$(USE_GUI)" == "1"
91 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
93 !if "$(USE_GUI)" == "1"
94 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
96 !if "$(BUILD)" == "debug"
97 __OPTIMIZEFLAG_2 = -Od
99 !if "$(BUILD)" == "release"
100 __OPTIMIZEFLAG_2 = -O2
102 !if "$(RUNTIME_LIBS)" == "dynamic"
103 __RUNTIME_LIBS_6 = -tWR
105 !if "$(RUNTIME_LIBS)" == "static"
108 !if "$(RUNTIME_LIBS)" == "dynamic"
111 !if "$(RUNTIME_LIBS)" == "static"
114 !if "$(UNICODE)" == "1"
115 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
118 __UNICOWS_LIB_p = unicows.lib
120 !if "$(MONOLITHIC)" == "0"
121 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
123 !if "$(MONOLITHIC)" == "1"
125 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
127 !if "$(WXUNIV)" == "1"
128 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
134 -if not exist $(OBJS) mkdir $(OBJS)
138 all: $(OBJS)\HelpGen.exe
140 $(OBJS)\HelpGen_HelpGen.obj: .\src\HelpGen.cpp
141 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
143 $(OBJS)\HelpGen_cjparser.obj: .\src\cjparser.cpp
144 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
146 $(OBJS)\HelpGen_docripper.obj: .\src\docripper.cpp
147 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
149 $(OBJS)\HelpGen_ifcontext.obj: .\src\ifcontext.cpp
150 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
152 $(OBJS)\HelpGen_markup.obj: .\src\markup.cpp
153 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
155 $(OBJS)\HelpGen_scriptbinder.obj: .\src\scriptbinder.cpp
156 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
158 $(OBJS)\HelpGen_sourcepainter.obj: .\src\sourcepainter.cpp
159 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
161 $(OBJS)\HelpGen_srcparser.obj: .\src\srcparser.cpp
162 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
164 $(OBJS)\HelpGen_wx_extra_imps.obj: .\src\wx_extra_imps.cpp
165 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
167 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
168 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
169 c0x32.obj $(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) import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
173 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
174 -if exist $(OBJS)\*.res del $(OBJS)\*.res
175 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe