]> git.saurik.com Git - wxWidgets.git/blame - utils/HelpGen/src/makefile.bcc
Rebake all the VC++ project files and makefiles
[wxWidgets.git] / utils / HelpGen / src / makefile.bcc
CommitLineData
2ace0078
VS
1# =========================================================================
2# This makefile was generated by
0d90d6ea 3# Bakefile 0.1.9 (http://bakefile.sourceforge.net)
2ace0078
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
9bfe7ad9
VS
7.autodepend
8
2ace0078 9!ifndef BCCDIR
9bfe7ad9
VS
10!ifndef MAKEDIR
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12!endif
2ace0078
VS
13BCCDIR = $(MAKEDIR)\..
14!endif
15
8ba95a18 16!include ../../../build/msw/config.bcc
2ace0078
VS
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
2ace0078
VS
22### Variables: ###
23
4cbcfb73 24WX_RELEASE_NODOT = 27
b17c1746
DE
25OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
162a956b 27LIBDIRNAME = .\..\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
28SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
8c9f8f91
JS
30HELPGEN_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
32 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77
MW
33 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
34 -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \
35 $(CPPFLAGS) $(CXXFLAGS)
2ace0078
VS
36HELPGEN_OBJECTS = \
37 $(OBJS)\HelpGen_HelpGen.obj \
38 $(OBJS)\HelpGen_cjparser.obj \
39 $(OBJS)\HelpGen_docripper.obj \
40 $(OBJS)\HelpGen_ifcontext.obj \
41 $(OBJS)\HelpGen_markup.obj \
42 $(OBJS)\HelpGen_scriptbinder.obj \
43 $(OBJS)\HelpGen_sourcepainter.obj \
75a0a7b7 44 $(OBJS)\HelpGen_srcparser.obj
2ace0078
VS
45
46### Conditionally set variables: ###
47
48!if "$(USE_GUI)" == "0"
49PORTNAME = base
50!endif
51!if "$(USE_GUI)" == "1"
52PORTNAME = msw
53!endif
54!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
55WXDEBUGFLAG = d
56!endif
57!if "$(DEBUG_FLAG)" == "1"
58WXDEBUGFLAG = d
59!endif
2ace0078
VS
60!if "$(UNICODE)" == "1"
61WXUNICODEFLAG = u
62!endif
63!if "$(WXUNIV)" == "1"
64WXUNIVNAME = univ
65!endif
2ace0078 66!if "$(SHARED)" == "1"
b17c1746 67WXDLLFLAG = dll
2ace0078 68!endif
162a956b
JS
69!if "$(SHARED)" == "0"
70LIBTYPE_SUFFIX = lib
71!endif
72!if "$(SHARED)" == "1"
73LIBTYPE_SUFFIX = dll
74!endif
dd65d8c8
RN
75!if "$(MONOLITHIC)" == "0"
76EXTRALIBS_FOR_BASE =
77!endif
78!if "$(MONOLITHIC)" == "1"
79EXTRALIBS_FOR_BASE =
80!endif
2ace0078
VS
81!if "$(BUILD)" == "debug"
82__OPTIMIZEFLAG_2 = -Od
83!endif
84!if "$(BUILD)" == "release"
85__OPTIMIZEFLAG_2 = -O2
86!endif
8c9f8f91
JS
87!if "$(USE_THREADS)" == "0"
88__THREADSFLAG_5 =
89!endif
90!if "$(USE_THREADS)" == "1"
91__THREADSFLAG_5 = mt
92!endif
93!if "$(USE_THREADS)" == "0"
94__THREADSFLAG_6 =
95!endif
96!if "$(USE_THREADS)" == "1"
97__THREADSFLAG_6 = -tWM
98!endif
2ace0078 99!if "$(RUNTIME_LIBS)" == "dynamic"
8c9f8f91 100__RUNTIME_LIBS_7 = -tWR
2ace0078
VS
101!endif
102!if "$(RUNTIME_LIBS)" == "static"
8c9f8f91 103__RUNTIME_LIBS_7 =
2ace0078
VS
104!endif
105!if "$(RUNTIME_LIBS)" == "dynamic"
8c9f8f91 106__RUNTIME_LIBS_8 = i
2ace0078
VS
107!endif
108!if "$(RUNTIME_LIBS)" == "static"
8c9f8f91 109__RUNTIME_LIBS_8 =
2ace0078 110!endif
b17c1746
DE
111!if "$(WXUNIV)" == "1"
112__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
113!endif
114!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
115__DEBUG_DEFINE_p = -D__WXDEBUG__
116!endif
117!if "$(DEBUG_FLAG)" == "1"
118__DEBUG_DEFINE_p = -D__WXDEBUG__
119!endif
8c9f8f91
JS
120!if "$(USE_EXCEPTIONS)" == "0"
121__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
122!endif
123!if "$(USE_RTTI)" == "0"
124__RTTI_DEFINE_p = -DwxNO_RTTI
125!endif
126!if "$(USE_THREADS)" == "0"
127__THREAD_DEFINE_p = -DwxNO_THREADS
128!endif
2ace0078 129!if "$(UNICODE)" == "1"
8ba95a18 130__UNICODE_DEFINE_p = -D_UNICODE
2ace0078 131!endif
2113bc77
MW
132!if "$(MSLU)" == "1"
133__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
134!endif
b17c1746
DE
135!if "$(SHARED)" == "1"
136__DLLFLAG_p = -DWXUSINGDLL
2ace0078
VS
137!endif
138!if "$(MONOLITHIC)" == "0"
c33fae85
RN
139__WXLIB_BASE_p = \
140 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
2ace0078
VS
141!endif
142!if "$(MONOLITHIC)" == "1"
143__WXLIB_MONO_p = \
c33fae85 144 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
2ace0078 145!endif
b17c1746 146!if "$(USE_GUI)" == "1"
9c2d002b 147__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
b17c1746
DE
148!endif
149!if "$(USE_GUI)" == "1"
9c2d002b 150__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
b17c1746
DE
151!endif
152!if "$(USE_GUI)" == "1"
9c2d002b 153__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
b17c1746
DE
154!endif
155!if "$(MSLU)" == "1"
156__UNICOWS_LIB_p = unicows.lib
157!endif
b17c1746
DE
158!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
159__DEBUGINFO = -v
160!endif
161!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
162__DEBUGINFO = -v-
163!endif
164!if "$(DEBUG_INFO)" == "0"
165__DEBUGINFO = -v-
166!endif
167!if "$(DEBUG_INFO)" == "1"
168__DEBUGINFO = -v
2ace0078
VS
169!endif
170
171
172all: $(OBJS)
173$(OBJS):
174 -if not exist $(OBJS) mkdir $(OBJS)
175
176### Targets: ###
177
178all: $(OBJS)\HelpGen.exe
179
b17c1746
DE
180clean:
181 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
182 -if exist $(OBJS)\*.res del $(OBJS)\*.res
162a956b 183 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
b17c1746
DE
184 -if exist $(OBJS)\HelpGen.exe del $(OBJS)\HelpGen.exe
185 -if exist $(OBJS)\HelpGen.tds del $(OBJS)\HelpGen.tds
186 -if exist $(OBJS)\HelpGen.ilc del $(OBJS)\HelpGen.ilc
187 -if exist $(OBJS)\HelpGen.ild del $(OBJS)\HelpGen.ild
188 -if exist $(OBJS)\HelpGen.ilf del $(OBJS)\HelpGen.ilf
189 -if exist $(OBJS)\HelpGen.ils del $(OBJS)\HelpGen.ils
190
191$(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
192 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
8c9f8f91 193 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 $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,,
b17c1746
DE
194|
195
204e4cd6 196$(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
2ace0078
VS
197 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
198
204e4cd6 199$(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
2ace0078
VS
200 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
201
204e4cd6 202$(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
2ace0078
VS
203 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
204
204e4cd6 205$(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
2ace0078
VS
206 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
207
204e4cd6 208$(OBJS)\HelpGen_markup.obj: .\markup.cpp
2ace0078
VS
209 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
210
204e4cd6 211$(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
2ace0078
VS
212 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
213
204e4cd6 214$(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
2ace0078
VS
215 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
216
204e4cd6 217$(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
2ace0078 218 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
162a956b 219