mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-19 15:11:50 +02:00
59 lines
1015 B
Makefile
59 lines
1015 B
Makefile
#
|
|
# Makefile.fpc for Free Pascal SymbianOS RTL
|
|
#
|
|
|
|
[package]
|
|
main=rtl
|
|
|
|
[target]
|
|
units=system
|
|
|
|
[require]
|
|
nortl=y
|
|
|
|
[install]
|
|
fpcpackage=y
|
|
|
|
[default]
|
|
fpcdir=../..
|
|
target=symbian
|
|
|
|
[compiler]
|
|
includedir=$(INC) $(PROCINC)
|
|
sourcedir=$(INC) $(PROCINC) $(COMMON)
|
|
|
|
|
|
[prerules]
|
|
RTL=..
|
|
INC=$(RTL)/inc
|
|
COMMON=$(RTL)/common
|
|
PROCINC=$(RTL)/$(CPU_TARGET)
|
|
OBJPASDIR=$(RTL)/objpas
|
|
UNITPREFIX=rtl
|
|
|
|
[rules]
|
|
.NOTPARALLEL:
|
|
SYSTEMPPU=$(addsuffix $(PPUEXT),system)
|
|
|
|
# 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)
|
|
|
|
#
|
|
# System Units (System, Objpas, Strings)
|
|
#
|
|
|
|
system$(PPUEXT) : system.pp $(SYSDEPS)
|
|
$(COMPILER) -Us -Sg system.pp
|