2 # *******************************************************
4 # * Delphi Runtime Library *
7 # * Copyright (C) 1988,98 Inprise Corporation *
9 # *******************************************************
11 # This MAKE script requires Borland MAKE Version 3.7 or later (MAKE.EXE),
12 # Turbo Assembler Version 4.0 or later (TASM32.EXE), and Borland Resource
13 # Compiler Version 4.0 or later (BRCC32.EXE).
15 # The script assumes that DCC32.EXE, TASM32.EXE, and BRCC32.EXE are present
16 # on the current search path--if this is not the case, modify the DCC, TASM,
17 # and BRCC macros below to reflect the location of these executables.
19 # To build the runtime library without debug information (the default),
20 # simply run MAKE.EXE from the directory containing this MAKEFILE. To
21 # build a debug version of the runtime library, specify a -DDEBUG command
22 # line parameter when running MAKE.EXE.
24 # The BIN and LIB macros define the output directories for binaries and
31 DCC
= c
:\delphi5
\bin\dcc32
-q
32 TASM
= c
:\tasm
5\bin
\tasm
32
33 BRCC
= c
:\delphi5
\bin
\brcc
32
87 $(TASM
) -zn
-m3
-t
-w-
$(ASMDEBUG
) -isys
$*,$*.obj
100 $(LIB
)\shellapi.dcu \
104 $(LIB
)\commctrl.dcu \
107 $(LIB
)\mmsystem.dcu \
112 $(LIB
)\winspool.dcu \
116 $(LIB
)\multimon.dcu \
117 $(LIB
)\lzexpand.dcu \
122 $(LIB
)\richedit.dcu \
123 $(LIB
)\tlhelp
32.dcu \
128 $(LIB
)\imagehlp.dcu \
135 $(LIB
)\system.dcu
: sys\system.pas sys\sysinit.pas sys\getmem.inc
$(SYSTEMOBJ
)
136 $(DCC
) sys\system
-m
-y
-z
$(RTLDEBUG
) -n
$(LIB
)
138 # follow lines are added to compile additional units (sysvarnt, syswstr):
140 $(LIB
)\sysvarnt.dcu
: sys\sysvarnt.pas
$(LIB
)\system.dcu
141 $(DCC
) sys\sysvarnt
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
143 $(LIB
)\syswstr.dcu
: sys\syswstr.pas
$(LIB
)\system.dcu
144 $(DCC
) sys\syswstr
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
146 $(LIB
)\syssfini.dcu
: sys\syssfini.pas
$(LIB
)\system.dcu
147 $(DCC
) sys\syssfini
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
149 $(LIB
)\comobj.dcu
: sys\comobj.pas
$(LIB
)\system.dcu \
150 $(LIB
)\sysutils.dcu
$(LIB
)\windows.dcu
$(LIB
)\activex.dcu
151 $(DCC
) sys\comobj
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
153 $(LIB
)\comserv.dcu
: sys\comserv.pas
$(LIB
)\system.dcu \
154 $(LIB
)\comobj.dcu
$(LIB
)\sysutils.dcu
$(LIB
)\windows.dcu
155 $(DCC
) sys\comserv
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
157 $(LIB
)\sharemem.dcu
: sys\sharemem.pas
$(LIB
)\system.dcu
158 $(DCC
) sys\sharemem
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
160 $(LIB
)\windows.dcu
: win\windows.pas
$(LIB
)\system.dcu
161 $(DCC
) win\windows
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
163 $(LIB
)\sysutils.dcu
: sys\sysutils.pas
$(SYSUTILSOBJ
) \
164 $(LIB
)\system.dcu
$(LIB
)\windows.dcu
165 $(DCC
) sys\sysutils
-z
$(RTLDEBUG
) -u
$(LIB
) -r
$(LIB
) -n
$(LIB
)
167 $(LIB
)\messages.dcu
: win\messages.pas
$(LIB
)\system.dcu \
169 $(DCC
) win\messages
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
171 $(LIB
)\shellapi.dcu
: win\shellapi.pas
$(LIB
)\system.dcu \
173 $(DCC
) win\shellapi
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
175 $(LIB
)\regstr.dcu
: win
\regstr.pas
$(LIB
)\system.dcu \
177 $(DCC
) win
\regstr
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
179 $(LIB
)\shlobj.dcu
: win\shlobj.pas
$(LIB
)\system.dcu \
180 $(LIB
)\windows.dcu
$(LIB
)\ole2.dcu
$(LIB
)\commctrl.dcu \
181 $(LIB
)\shellapi.dcu
$(LIB
)\regstr.dcu
182 $(DCC
) win\shlobj
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
184 $(LIB
)\dlgs.dcu
: win\dlgs.pas
$(LIB
)\system.dcu
185 $(DCC
) win\dlgs
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
187 $(LIB
)\commdlg.dcu
: win\commdlg.pas
$(LIB
)\system.dcu \
188 $(LIB
)\windows.dcu
$(LIB
)\messages.dcu
189 $(DCC
) win\commdlg
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
191 $(LIB
)\commctrl.dcu
: win\commctrl.pas
$(LIB
)\system.dcu \
193 $(DCC
) win\commctrl
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
195 $(LIB
)\ddeml.dcu
: win\ddeml.pas
$(LIB
)\system.dcu
$(LIB
)\windows.dcu
196 $(DCC
) win\ddeml
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
198 $(LIB
)\mmsystem.dcu
: win\mmsystem.pas
$(LIB
)\system.dcu \
200 $(DCC
) win\mmsystem
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
202 $(LIB
)\winspool.dcu
: win\winspool.pas
$(LIB
)\system.dcu \
204 $(DCC
) win\winspool
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
206 $(LIB
)\isapi.dcu
: win\isapi.pas
$(LIB
)\system.dcu
$(LIB
)\windows.dcu
207 $(DCC
) win\isapi
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
209 $(LIB
)\isapi2.dcu
: win\isapi2.pas
$(LIB
)\system.dcu
$(LIB
)\windows.dcu
210 $(DCC
) win\isapi2
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
212 $(LIB
)\nsapi.dcu
: win
\nsapi.pas
$(LIB
)\system.dcu
$(LIB
)\windows.dcu
213 $(DCC
) win
\nsapi
-z
$(RTLDEBUG
) -u
$(LIB
);win
-n
$(LIB
)
215 $(LIB
)\wininet.dcu
: win\wininet.pas
$(LIB
)\system.dcu \
217 $(DCC
) win\wininet
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
219 $(LIB
)\winsock.dcu
: win\winsock.pas
$(LIB
)\system.dcu \
221 $(DCC
) win\winsock
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
223 $(LIB
)\winsvc.dcu
: win\winsvc.pas
$(LIB
)\system.dcu \
225 $(DCC
) win\winsvc
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
227 $(LIB
)\mapi.dcu
: win\mapi.pas
$(LIB
)\system.dcu \
229 $(DCC
) win\mapi
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
231 $(LIB
)\lzexpand.dcu
: win\lzexpand.pas
$(LIB
)\system.dcu \
233 $(DCC
) win\lzexpand
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
235 $(LIB
)\nb
30.dcu
: win
\nb
30.pas
$(LIB
)\system.dcu
$(LIB
)\windows.dcu
236 $(DCC
) win
\nb
30 -z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
238 $(LIB
)\ole2.dcu
: win\ole2.pas
$(LIB
)\system.dcu \
240 $(DCC
) win\ole2
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
242 $(LIB
)\olectl.dcu
: win\olectl.pas
$(LIB
)\system.dcu \
243 $(LIB
)\windows.dcu
$(LIB
)\messages.dcu
$(LIB
)\ole2.dcu
244 $(DCC
) win\olectl
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
246 $(LIB
)\oledlg.dcu
: win\oledlg.pas
$(LIB
)\system.dcu \
247 $(LIB
)\windows.dcu
$(LIB
)\commctrl.dcu
$(LIB
)\ole2.dcu
248 $(DCC
) win\oledlg
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
250 $(LIB
)\richedit.dcu
: win
\richedit.pas
$(LIB
)\system.dcu \
252 $(DCC
) win
\richedit
-z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
254 $(LIB
)\tlhelp
32.dcu
: win
\tlhelp
32.pas
$(LIB
)\system.dcu \
256 $(DCC
) win
\tlhelp
32 -z
$(RTLDEBUG
) -u
$(LIB
) -n
$(LIB
)
258 $(LIB
)\math.dcu
: sys\math.pas
$(LIB
)\system.dcu
259 $(DCC
) sys\math
-z
$(RTLDEBUG
) -u
$(LIB
) -r
$(LIB
) -n
$(LIB
)
261 $(LIB
)\imm.dcu
: win\imm.pas
$(LIB
)\windows.dcu
262 $(DCC
) win\imm
-z
$(RTLDEBUG
) -u
$(LIB
) -r
$(LIB
) -n
$(LIB
)
264 $(LIB
)\activex.dcu
: win
\activex.pas
$(LIB
)\windows.dcu
$(LIB
)\messages.dcu
265 $(DCC
) win
\activex
-z
$(RTLDEBUG
) -u
$(LIB
) -r
$(LIB
) -n
$(LIB
)
267 $(LIB
)\cpl.dcu
: win\cpl.pas
$(LIB
)\windows.dcu
$(LIB
)\messages.dcu
268 $(DCC
) win\cpl
-z
$(RTLDEBUG
) -u
$(LIB
) -r
$(LIB
) -n
$(LIB
)
270 $(LIB
)\imagehlp.dcu
: win\imagehlp.pas
$(LIB
)\windows.dcu
271 $(DCC
) win\imagehlp
-z
$(RTLDEBUG
) -u
$(LIB
) -r
$(LIB
) -n
$(LIB
)
273 $(LIB
)\opengl.dcu
: win\opengl.pas
$(LIB
)\windows.dcu
274 $(DCC
) win\opengl
-z
$(RTLDEBUG
) -u
$(LIB
) -r
$(LIB
) -n
$(LIB
)
276 $(LIB
)\penwin.dcu
: win\penwin.pas
$(LIB
)\windows.dcu
$(LIB
)\messages.dcu \
278 $(DCC
) win\penwin
-z
$(RTLDEBUG
) -u
$(LIB
) -r
$(LIB
) -n
$(LIB
)
280 $(LIB
)\urlmon.dcu
: win\urlmon.pas
$(LIB
)\windows.dcu
$(LIB
)\activex.dcu
281 $(DCC
) win\urlmon
-z
$(RTLDEBUG
) -u
$(LIB
) -r
$(LIB
) -n
$(LIB
)
283 $(LIB
)\flatsb.dcu
: win
\flatsb.pas
$(LIB
)\windows.dcu
284 $(DCC
) win
\flatsb
-z
$(RTLDEBUG
) -u
$(LIB
) -r
$(LIB
) -n
$(LIB
)
286 $(LIB
)\multimon.dcu
: win\multimon.pas
$(LIB
)\windows.dcu
287 $(DCC
) win\multimon
-z
$(RTLDEBUG
) -u
$(LIB
) -r
$(LIB
) -n
$(LIB
)