]> git.saurik.com Git - wxWidgets.git/blame - utils/HelpGen/src/makefile.bcc
fixed bug in .hhp's FILES section creation introduced in previous revision
[wxWidgets.git] / utils / HelpGen / src / makefile.bcc
CommitLineData
2ace0078
VS
1# =========================================================================
2# This makefile was generated by
b17c1746 3# Bakefile 0.1.2 (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
b17c1746
DE
24OBJS = \
25 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
26SETUPHDIR = \
27 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
28HELPGEN_CXXFLAGS = $(__RUNTIME_LIBS_6) -I$(BCCDIR)\include $(__DEBUGINFO) \
29 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
8ba95a18 30 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
9bfe7ad9 31 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) $(CPPFLAGS) $(CXXFLAGS)
2ace0078
VS
32HELPGEN_OBJECTS = \
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 \
75a0a7b7 40 $(OBJS)\HelpGen_srcparser.obj
2ace0078
VS
41
42### Conditionally set variables: ###
43
44!if "$(USE_GUI)" == "0"
45PORTNAME = base
46!endif
47!if "$(USE_GUI)" == "1"
48PORTNAME = msw
49!endif
50!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
51WXDEBUGFLAG = d
52!endif
53!if "$(DEBUG_FLAG)" == "1"
54WXDEBUGFLAG = d
55!endif
2ace0078
VS
56!if "$(UNICODE)" == "1"
57WXUNICODEFLAG = u
58!endif
59!if "$(WXUNIV)" == "1"
60WXUNIVNAME = univ
61!endif
2ace0078 62!if "$(SHARED)" == "1"
b17c1746 63WXDLLFLAG = dll
2ace0078
VS
64!endif
65!if "$(BUILD)" == "debug"
66__OPTIMIZEFLAG_2 = -Od
67!endif
68!if "$(BUILD)" == "release"
69__OPTIMIZEFLAG_2 = -O2
70!endif
71!if "$(RUNTIME_LIBS)" == "dynamic"
72__RUNTIME_LIBS_6 = -tWR
73!endif
74!if "$(RUNTIME_LIBS)" == "static"
75__RUNTIME_LIBS_6 =
76!endif
77!if "$(RUNTIME_LIBS)" == "dynamic"
78__RUNTIME_LIBS_7 = i
79!endif
80!if "$(RUNTIME_LIBS)" == "static"
81__RUNTIME_LIBS_7 =
82!endif
b17c1746
DE
83!if "$(WXUNIV)" == "1"
84__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
85!endif
86!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
87__DEBUG_DEFINE_p = -D__WXDEBUG__
88!endif
89!if "$(DEBUG_FLAG)" == "1"
90__DEBUG_DEFINE_p = -D__WXDEBUG__
91!endif
2ace0078 92!if "$(UNICODE)" == "1"
8ba95a18 93__UNICODE_DEFINE_p = -D_UNICODE
2ace0078 94!endif
b17c1746
DE
95!if "$(SHARED)" == "1"
96__DLLFLAG_p = -DWXUSINGDLL
2ace0078
VS
97!endif
98!if "$(MONOLITHIC)" == "0"
99__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
100!endif
101!if "$(MONOLITHIC)" == "1"
102__WXLIB_MONO_p = \
103 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
104!endif
b17c1746
DE
105!if "$(USE_GUI)" == "1"
106__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
107!endif
108!if "$(USE_GUI)" == "1"
109__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
110!endif
111!if "$(USE_GUI)" == "1"
112__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
113!endif
114!if "$(MSLU)" == "1"
115__UNICOWS_LIB_p = unicows.lib
116!endif
117!if "$(SHARED)" == "0"
118LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
119!endif
120!if "$(SHARED)" == "1"
121LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
122!endif
123!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
124__DEBUGINFO = -v
125!endif
126!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
127__DEBUGINFO = -v-
128!endif
129!if "$(DEBUG_INFO)" == "0"
130__DEBUGINFO = -v-
131!endif
132!if "$(DEBUG_INFO)" == "1"
133__DEBUGINFO = -v
2ace0078
VS
134!endif
135
136
137all: $(OBJS)
138$(OBJS):
139 -if not exist $(OBJS) mkdir $(OBJS)
140
141### Targets: ###
142
143all: $(OBJS)\HelpGen.exe
144
b17c1746
DE
145clean:
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
154
155$(OBJS)\HelpGen.exe: $(HELPGEN_OBJECTS)
156 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
b92ca05a 157 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) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
b17c1746
DE
158|
159
204e4cd6 160$(OBJS)\HelpGen_HelpGen.obj: .\HelpGen.cpp
2ace0078
VS
161 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
162
204e4cd6 163$(OBJS)\HelpGen_cjparser.obj: .\cjparser.cpp
2ace0078
VS
164 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
165
204e4cd6 166$(OBJS)\HelpGen_docripper.obj: .\docripper.cpp
2ace0078
VS
167 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
168
204e4cd6 169$(OBJS)\HelpGen_ifcontext.obj: .\ifcontext.cpp
2ace0078
VS
170 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
171
204e4cd6 172$(OBJS)\HelpGen_markup.obj: .\markup.cpp
2ace0078
VS
173 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
174
204e4cd6 175$(OBJS)\HelpGen_scriptbinder.obj: .\scriptbinder.cpp
2ace0078
VS
176 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
177
204e4cd6 178$(OBJS)\HelpGen_sourcepainter.obj: .\sourcepainter.cpp
2ace0078
VS
179 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**
180
204e4cd6 181$(OBJS)\HelpGen_srcparser.obj: .\srcparser.cpp
2ace0078 182 $(CXX) -q -c -P -o$@ $(HELPGEN_CXXFLAGS) $**