mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 14:49:27 +02:00

------------------------------------------------------------------------ r39726 | pierre | 2018-09-10 13:30:42 +0000 (Mon, 10 Sep 2018) | 1 line pass -D__I8086_SMARTLINK_SECTIONS__ to nasm if FPCOPT contains -dTEST_I8086_SMARTLINK_SECTIONS ------------------------------------------------------------------------ --- Merging r39726 into '.': U rtl/msdos/Makefile U rtl/msdos/Makefile.fpc --- Recording mergeinfo for merge of r39726 into '.': U . ------------------------------------------------------------------------ r39732 | pierre | 2018-09-11 08:02:48 +0000 (Tue, 11 Sep 2018) | 1 line Add FPC_SOFT_FPUX80 and FPC_SOFT_FPU128 define handling ------------------------------------------------------------------------ --- Merging r39732 into '.': U rtl/linux/system.pp --- Recording mergeinfo for merge of r39732 into '.': G . ------------------------------------------------------------------------ r39734 | pierre | 2018-09-11 13:08:51 +0000 (Tue, 11 Sep 2018) | 1 line Increase default trace size to 16 ------------------------------------------------------------------------ --- Merging r39734 into '.': U rtl/inc/heaptrc.pp --- Recording mergeinfo for merge of r39734 into '.': G . ------------------------------------------------------------------------ r39735 | pierre | 2018-09-11 13:10:59 +0000 (Tue, 11 Sep 2018) | 1 line Avoid wrap on 32-bit system for StackTop calculation ------------------------------------------------------------------------ --- Merging r39735 into '.': U rtl/inc/system.inc --- Recording mergeinfo for merge of r39735 into '.': G . ------------------------------------------------------------------------ r39736 | pierre | 2018-09-11 13:13:50 +0000 (Tue, 11 Sep 2018) | 5 lines * Add PAGESIZE local constant. + Set LAST_PAGE_GENERATES_SIGNAL macro for linux powerpc/powerpc64. + Use page_size for StackBottom computation. + Use LAST_PAGE_GENERATES_SIGNAL in StackBottom computation. ------------------------------------------------------------------------ --- Merging r39736 into '.': G rtl/linux/system.pp --- Recording mergeinfo for merge of r39736 into '.': G . ------------------------------------------------------------------------ r39801 | pierre | 2018-09-24 22:20:30 +0000 (Mon, 24 Sep 2018) | 1 line define iconv_is_in_libc by default for netbsd OS (can be disabled by adding -dDISABLE_ICONV_LIBC option ------------------------------------------------------------------------ --- Merging r39801 into '.': U rtl/unix/cwstring.pp --- Recording mergeinfo for merge of r39801 into '.': G . ------------------------------------------------------------------------ r39806 | pierre | 2018-09-26 09:25:54 +0000 (Wed, 26 Sep 2018) | 1 line Rename Result parameter to _Result to avoid compilation error for ppcjvm ------------------------------------------------------------------------ --- Merging r39806 into '.': U packages/jni/src/jni.pas --- Recording mergeinfo for merge of r39806 into '.': G . ------------------------------------------------------------------------ r39807 | pierre | 2018-09-26 09:27:33 +0000 (Wed, 26 Sep 2018) | 1 line Explicitly also disable java OS target ------------------------------------------------------------------------ --- Merging r39807 into '.': U packages/sdl/fpmake.pp --- Recording mergeinfo for merge of r39807 into '.': G . ------------------------------------------------------------------------ r40002 | pierre | 2018-10-20 22:30:20 +0000 (Sat, 20 Oct 2018) | 1 line Add explicit typecast to avoid range ccheck error ------------------------------------------------------------------------ --- Merging r40002 into '.': U rtl/linux/termiosproc.inc --- Recording mergeinfo for merge of r40002 into '.': G . ------------------------------------------------------------------------ r40014 | pierre | 2018-10-22 21:14:59 +0000 (Mon, 22 Oct 2018) | 1 line Add missing unicode related units to netware OS ------------------------------------------------------------------------ --- Merging r40014 into '.': U rtl/netware/Makefile U rtl/netware/Makefile.fpc --- Recording mergeinfo for merge of r40014 into '.': G . ------------------------------------------------------------------------ r40358 | pierre | 2018-11-20 22:02:59 +0000 (Tue, 20 Nov 2018) | 1 line Add classes unit ------------------------------------------------------------------------ --- Merging r40358 into '.': U rtl/watcom/Makefile U rtl/watcom/Makefile.fpc --- Recording mergeinfo for merge of r40358 into '.': G . ------------------------------------------------------------------------ r40363 | pierre | 2018-11-23 13:29:01 +0000 (Fri, 23 Nov 2018) | 1 line Also disable fpdoc and pas2jni utils packages for targets not supporting fcl-process package ------------------------------------------------------------------------ --- Merging r40363 into '.': U utils/pas2jni/fpmake.pp U utils/fpdoc/fpmake.pp --- Recording mergeinfo for merge of r40363 into '.': G . ------------------------------------------------------------------------ r40392 | pierre | 2018-11-29 14:23:44 +0000 (Thu, 29 Nov 2018) | 1 line Fix delete of gdbver.inc generated file after gdbint unit compilation when called from packages level ------------------------------------------------------------------------ --- Merging r40392 into '.': U packages/gdbint/fpmake.pp --- Recording mergeinfo for merge of r40392 into '.': G . ------------------------------------------------------------------------ r40397 | pierre | 2018-11-29 16:55:07 +0000 (Thu, 29 Nov 2018) | 1 line Fix cleaning of unicode utils package in fpmake ------------------------------------------------------------------------ --- Merging r40397 into '.': U utils/unicode/fpmake.pp --- Recording mergeinfo for merge of r40397 into '.': G . ------------------------------------------------------------------------ r40481 | pierre | 2018-12-06 17:06:45 +0000 (Thu, 06 Dec 2018) | 1 line Fix compilation of installer for win32 target ------------------------------------------------------------------------ --- Merging r40481 into '.': U installer/Makefile U installer/Makefile.fpc U packages/ide/Makefile.fpc U packages/ide/Makefile --- Recording mergeinfo for merge of r40481 into '.': G . ------------------------------------------------------------------------ r40537 | pierre | 2018-12-13 10:21:58 +0000 (Thu, 13 Dec 2018) | 1 line Always accept empty string as meaning zero is TryRomanToInt, fixes intermittent errors in tromantoint test ------------------------------------------------------------------------ --- Merging r40537 into '.': U packages/rtl-objpas/src/inc/strutils.pp U tests/test/units/strutils/tromantoint.pp --- Recording mergeinfo for merge of r40537 into '.': G . git-svn-id: branches/fixes_3_2@40618 -
238 lines
7.6 KiB
Makefile
238 lines
7.6 KiB
Makefile
#
|
|
# Makefile.fpc for MSDOS RTL
|
|
#
|
|
[package]
|
|
main=rtl
|
|
[target]
|
|
loaders=prt0s prt0t prt0m prt0c prt0l prt0h # exceptn fpu
|
|
units=system uuchar objpas strings dos heaptrc lnfodwrf sysconst sysutils \
|
|
math macpas iso7185 extpas rtlconsts typinfo cpu types \
|
|
getopts fgl classes \
|
|
msmouse ports \
|
|
charset cpall ctypes \
|
|
fpwidestring character unicodedata unicodenumtable
|
|
# cmem
|
|
# initc profile dxetype dxeload emu387 \
|
|
# cpu mmx \
|
|
# vesamode \
|
|
# rsts=math typinfo classes dateutil sysconst
|
|
implicitunits=exeinfo \
|
|
cp1250 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 \
|
|
cp437 cp646 cp737 cp775 cp850 cp852 cp855 cp856 cp857 cp860 cp861 cp862 \
|
|
cp863 cp864 cp865 cp866 cp869 cp874 cp3021 cp8859_1 cp8859_2 cp8859_3 cp8859_4 \
|
|
cp8859_5 cp8859_6 cp8859_7 cp8859_8 cp8859_9 cp8859_10 cp8859_11 \
|
|
cp8859_13 cp8859_14 cp8859_15 cp8859_16 cpkoi8_r cpkoi8_u
|
|
|
|
[require]
|
|
nortl=y
|
|
[install]
|
|
fpcpackage=y
|
|
[default]
|
|
fpcdir=../..
|
|
target=msdos
|
|
cpu=i8086
|
|
[compiler]
|
|
includedir=$(INC) $(PROCINC)
|
|
sourcedir=$(INC) $(PROCINC) $(COMMON)
|
|
[prerules]
|
|
RTL=..
|
|
INC=../inc
|
|
COMMON=$(RTL)/common
|
|
PROCINC=../$(CPU_TARGET)
|
|
UNITPREFIX=rtl
|
|
SYSTEMUNIT=system
|
|
|
|
# Paths
|
|
OBJPASDIR=$(RTL)/objpas
|
|
# Insert exception handler in system unit
|
|
ifdef EXCEPTIONS_IN_SYSTEM
|
|
override FPCOPT+=-dEXCEPTIONS_IN_SYSTEM
|
|
endif
|
|
# Insert exception handler in system unit
|
|
ifdef NO_EXCEPTIONS_IN_SYSTEM
|
|
override FPCOPT+=-dNO_EXCEPTIONS_IN_SYSTEM
|
|
endif
|
|
[rules]
|
|
# Get the system independent include file names.
|
|
# This will set the following variables :
|
|
# SYSINCNAMES
|
|
include $(INC)/makefile.inc
|
|
SYSINCDEPS=$(addprefix $(INC)/,$(SYSINCNAMES))
|
|
# Get the processor dependent include file names.
|
|
# This will set the following variables :
|
|
# CPUINCNAMES
|
|
include $(PROCINC)/makefile.cpu
|
|
SYSCPUDEPS=$(addprefix $(PROCINC)/,$(CPUINCNAMES))
|
|
# Put system unit dependencies together.
|
|
SYSDEPS=$(SYSINCDEPS) $(SYSCPUDEPS)
|
|
#
|
|
# Loaders
|
|
#
|
|
ifneq ($(findstring -dTEST_I8086_SMARTLINK_SECTIONS,$(FPCOPT)),)
|
|
override NASM_OPT+=-D__I8086_SMARTLINK_SECTIONS__
|
|
endif
|
|
|
|
prt0s$(OEXT) : prt0s.asm prt0comn.asm
|
|
$(MAKE) $(COMPILER_UNITTARGETDIR)
|
|
$(NASM) $(NASM_OPT) -f obj -o $(UNITTARGETDIRPREFIX)prt0s$(OEXT) prt0s.asm
|
|
prt0t$(OEXT) : prt0t.asm prt0comn.asm
|
|
$(MAKE) $(COMPILER_UNITTARGETDIR)
|
|
$(NASM) $(NASM_OPT) -f obj -o $(UNITTARGETDIRPREFIX)prt0t$(OEXT) prt0t.asm
|
|
prt0m$(OEXT) : prt0m.asm prt0comn.asm
|
|
$(MAKE) $(COMPILER_UNITTARGETDIR)
|
|
$(NASM) $(NASM_OPT) -f obj -o $(UNITTARGETDIRPREFIX)prt0m$(OEXT) prt0m.asm
|
|
prt0c$(OEXT) : prt0c.asm prt0comn.asm
|
|
$(MAKE) $(COMPILER_UNITTARGETDIR)
|
|
$(NASM) $(NASM_OPT) -f obj -o $(UNITTARGETDIRPREFIX)prt0c$(OEXT) prt0c.asm
|
|
prt0l$(OEXT) : prt0l.asm prt0comn.asm
|
|
$(MAKE) $(COMPILER_UNITTARGETDIR)
|
|
$(NASM) $(NASM_OPT) -f obj -o $(UNITTARGETDIRPREFIX)prt0l$(OEXT) prt0l.asm
|
|
prt0h$(OEXT) : prt0h.asm prt0comn.asm
|
|
$(MAKE) $(COMPILER_UNITTARGETDIR)
|
|
$(NASM) $(NASM_OPT) -f obj -o $(UNITTARGETDIRPREFIX)prt0h$(OEXT) prt0h.asm
|
|
#
|
|
# System Units (System, Objpas, Strings)
|
|
#
|
|
system$(PPUEXT) : system.pp $(SYSDEPS) $(INC)/tnyheaph.inc $(INC)/tinyheap.inc registers.inc
|
|
$(COMPILER) $(FPC_SYSTEM_OPT) -Us -Sg system.pp
|
|
$(EXECPPAS)
|
|
|
|
uuchar$(PPUEXT): $(SYSTEMUNIT)$(PPUEXT) $(INC)/uuchar.pp
|
|
$(COMPILER) $(INC)/uuchar.pp
|
|
$(EXECPPAS)
|
|
|
|
objpas$(PPUEXT): $(OBJPASDIR)/objpas.pp $(INC)/except.inc system$(PPUEXT)
|
|
$(COMPILER) -Fi$(OBJPASDIR) $(OBJPASDIR)/objpas.pp
|
|
$(EXECPPAS)
|
|
|
|
strings$(PPUEXT) : $(INC)/strings.pp $(INC)/stringsi.inc \
|
|
$(PROCINC)/strings.inc $(PROCINC)/stringss.inc \
|
|
$(INC)/genstr.inc $(INC)/genstrs.inc \
|
|
system$(PPUEXT)
|
|
$(COMPILER) $(INC)/strings.pp
|
|
$(EXECPPAS)
|
|
|
|
iso7185$(PPUEXT) : $(INC)/iso7185.pp system$(PPUEXT)
|
|
$(COMPILER) $(INC)/iso7185.pp
|
|
$(EXECPPAS)
|
|
|
|
extpas$(PPUEXT) : $(INC)/extpas.pp dos$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
|
|
$(COMPILER) $(INC)/extpas.pp
|
|
$(EXECPPAS)
|
|
|
|
#
|
|
# System Dependent Units
|
|
#
|
|
|
|
ports$(PPUEXT) : ports.pp system$(PPUEXT)
|
|
$(COMPILER) ports.pp
|
|
$(EXECPPAS)
|
|
#
|
|
# TP7 Compatible RTL Units
|
|
#
|
|
dos$(PPUEXT) : dos.pp registers.inc \
|
|
$(INC)/dosh.inc $(INC)/dos.inc $(INC)/fexpand.inc \
|
|
strings$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) dos.pp
|
|
$(EXECPPAS)
|
|
|
|
#
|
|
# Delphi Compatible Units
|
|
#
|
|
sysutils$(PPUEXT) : sysutils.pp $(wildcard $(OBJPASDIR)/sysutils/*.inc) \
|
|
objpas$(PPUEXT) dos$(PPUEXT) sysconst$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) -Fi$(OBJPASDIR)/sysutils sysutils.pp
|
|
$(EXECPPAS)
|
|
|
|
classes$(PPUEXT) : classes.pp $(wildcard $(OBJPASDIR)/classes/*.inc) \
|
|
sysutils$(PPUEXT) typinfo$(PPUEXT) rtlconsts$(PPUEXT) types$(PPUEXT) fgl$(PPUEXT) objpas$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) -Fi$(OBJPASDIR)/classes classes.pp
|
|
$(EXECPPAS)
|
|
|
|
fgl$(PPUEXT) : $(OBJPASDIR)/fgl.pp types$(PPUEXT) sysutils$(PPUEXT) rtlconsts$(PPUEXT) objpas$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) $(OBJPASDIR)/fgl.pp
|
|
$(EXECPPAS)
|
|
|
|
math$(PPUEXT): $(OBJPASDIR)/math.pp $(PROCINC)/mathu.inc objpas$(PPUEXT) sysutils$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) $(OBJPASDIR)/math.pp
|
|
$(EXECPPAS)
|
|
|
|
typinfo$(PPUEXT): $(OBJPASDIR)/typinfo.pp sysutils$(PPUEXT) objpas$(PPUEXT) rtlconsts$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) -Sg -Fi$(OBJPASDIR) $(OBJPASDIR)/typinfo.pp
|
|
$(EXECPPAS)
|
|
|
|
types$(PPUEXT) : $(OBJPASDIR)/types.pp objpas$(PPUEXT) math$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) $(OBJPASDIR)/types.pp
|
|
$(EXECPPAS)
|
|
|
|
rtlconsts$(PPUEXT) : $(OBJPASDIR)/rtlconsts.pp $(OBJPASDIR)/rtlconst.inc objpas$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) -Fi$(OBJPASDIR) $(OBJPASDIR)/rtlconsts.pp
|
|
$(EXECPPAS)
|
|
|
|
sysconst$(PPUEXT) : $(OBJPASDIR)/sysconst.pp objpas$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) $(OBJPASDIR)/sysconst.pp
|
|
$(EXECPPAS)
|
|
|
|
#
|
|
# Mac Pascal Model
|
|
#
|
|
macpas$(PPUEXT) : $(INC)/macpas.pp objpas$(PPUEXT) math$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) $(INC)/macpas.pp $(REDIR)
|
|
$(EXECPPAS)
|
|
|
|
#
|
|
# Other system-independent RTL Units
|
|
#
|
|
cpu$(PPUEXT) : $(PROCINC)/cpu.pp sysutils$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) $(PROCINC)/cpu.pp
|
|
$(EXECPPAS)
|
|
|
|
getopts$(PPUEXT) : $(INC)/getopts.pp system$(PPUEXT)
|
|
$(COMPILER) $(INC)/getopts.pp $(REDIR)
|
|
$(EXECPPAS)
|
|
|
|
heaptrc$(PPUEXT) : $(INC)/heaptrc.pp system$(PPUEXT)
|
|
$(COMPILER) -Sg $(INC)/heaptrc.pp
|
|
$(EXECPPAS)
|
|
|
|
lnfodwrf$(PPUEXT) : $(INC)/lnfodwrf.pp exeinfo$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) $(INC)/lnfodwrf.pp
|
|
$(EXECPPAS)
|
|
|
|
exeinfo$(PPUEXT) : $(INC)/exeinfo.pp strings$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) $(INC)/exeinfo.pp
|
|
$(EXECPPAS)
|
|
|
|
charset$(PPUEXT) : $(INC)/charset.pp objpas$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) $(INC)/charset.pp
|
|
$(EXECPPAS)
|
|
|
|
cpall$(PPUEXT): $(RTL)/charmaps/cpall.pas system$(PPUEXT) charset$(PPUEXT)
|
|
$(COMPILER) -Fu$(INC) -Fi$(RTL)/charmaps $(RTL)/charmaps/cpall.pas
|
|
$(EXECPPAS)
|
|
|
|
fpwidestring$(PPUEXT): $(OBJPASDIR)/fpwidestring.pp unicodedata$(PPUEXT) charset$(PPUEXT) objpas$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) $(OBJPASDIR)/fpwidestring.pp
|
|
|
|
character$(PPUEXT): $(OBJPASDIR)/character.pas sysutils$(PPUEXT) objpas$(PPUEXT) rtlconsts$(PPUEXT) unicodedata$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) $(OBJPASDIR)/character.pas
|
|
|
|
unicodenumtable$(PPUEXT) : $(OBJPASDIR)/unicodenumtable.pas objpas$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) -Fi$(OBJPASDIR) $(OBJPASDIR)/unicodenumtable.pas
|
|
|
|
unicodedata$(PPUEXT) : $(OBJPASDIR)/unicodedata.pas unicodenumtable$(PPUEXT) objpas$(PPUEXT) system$(PPUEXT)
|
|
$(COMPILER) -Fi$(OBJPASDIR) $(OBJPASDIR)/unicodedata.pas
|
|
|
|
|
|
#
|
|
# Other system-dependent RTL Units
|
|
#
|
|
msmouse$(PPUEXT) : msmouse.pp system$(PPUEXT)
|
|
$(COMPILER) msmouse.pp $(REDIR)
|
|
$(EXECPPAS)
|
|
|
|
ctypes$(PPUEXT) : $(INC)/ctypes.pp system$(PPUEXT)
|
|
$(COMPILER) $(INC)/ctypes.pp $(REDIR)
|
|
$(EXECPPAS)
|
|
|