1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.3 (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 # -------------------------------------------------------------------------
25 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
28 HELPGEN_CXXFLAGS = $(__RUNTIME_LIBS_6) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
30 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
31 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) $(CPPFLAGS) $(CXXFLAGS)
33 $(OBJS)\HelpGen_HelpGen.obj \
34 $(OBJS)\HelpGen_cjparser.obj \
35 $(OBJS)\HelpGen_docripper.obj \
36 $(OBJS)\HelpGen_ifcontext.obj \
37 $(OBJS)\HelpGen_markup.obj \
38 $(OBJS)\HelpGen_scriptbinder.obj \
39 $(OBJS)\HelpGen_sourcepainter.obj \
40 $(OBJS)\HelpGen_srcparser.obj
42 ### Conditionally set variables: ###
44 !if "$(USE_GUI)" == "0"
47 !if "$(USE_GUI)" == "1"
50 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
53 !if "$(DEBUG_FLAG)" == "1"
56 !if "$(UNICODE)" == "1"
59 !if "$(WXUNIV)" == "1"
62 !if "$(SHARED)" == "1"
65 !if "$(BUILD)" == "debug"
66 __OPTIMIZEFLAG_2 = -Od
68 !if "$(BUILD)" == "release"
69 __OPTIMIZEFLAG_2 = -O2
71 !if "$(RUNTIME_LIBS)" == "dynamic"
72 __RUNTIME_LIBS_6 = -tWR
74 !if "$(RUNTIME_LIBS)" == "static"
77 !if "$(RUNTIME_LIBS)" == "dynamic"
80 !if "$(RUNTIME_LIBS)" == "static"
83 !if "$(WXUNIV)" == "1"
84 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
86 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
87 __DEBUG_DEFINE_p = -D__WXDEBUG__
89 !if "$(DEBUG_FLAG)" == "1"
90 __DEBUG_DEFINE_p = -D__WXDEBUG__
92 !if "$(UNICODE)" == "1"
93 __UNICODE_DEFINE_p = -D_UNICODE
95 !if "$(SHARED)" == "1"
96 __DLLFLAG_p = -DWXUSINGDLL
98 !if "$(MONOLITHIC)" == "0"
99 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
101 !if "$(MONOLITHIC)" == "1"
103 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
105 !if "$(USE_GUI)" == "1"
106 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
108 !if "$(USE_GUI)" == "1"
109 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
111 !if "$(USE_GUI)" == "1"
112 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
115 __UNICOWS_LIB_p = unicows.lib
117 !if "$(SHARED)" == "0"
118 LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
120 !if "$(SHARED)" == "1"
121 LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
123 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
126 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
129 !if "$(DEBUG_INFO)" == "0"
132 !if "$(DEBUG_INFO)" == "1"
139 -if not exist $(OBJS) mkdir $(OBJS)
143 all: $(OBJS)\HelpGen.exe
146 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
147 -if exist $(OBJS)\*.res del $(OBJS)\*.res
148 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
149 -if exist $(OBJS)\HelpGen.tds del $(OBJS)\HelpGen.tds
150 -if exist $(OBJS)\HelpGen.ilc del $(OBJS)\HelpGen.ilc
151 -if exist $(OBJS)\HelpGen.ild del $(OBJS)\HelpGen.ild
152 -if exist $(OBJS)\HelpGen.ilf del $(OBJS)\HelpGen.ilf
153 -if exist $(OBJS)\HelpGen.ils del $(OBJS)\HelpGen.ils
155 $(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
156 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
157 c0x32.obj $(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 $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
160 $(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
161 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
163 $(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
164 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
166 $(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
167 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
169 $(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
170 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
172 $(OBJS)\HelpGen_markup.obj: .\markup.cpp
173 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
175 $(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
176 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
178 $(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
179 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
181 $(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
182 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**