123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- #
- # Makefile.fpc for Free Pascal SymbianOS RTL
- #
- [package]
- main=rtl
- [target]
- # macpas and iso7185 units rely on sysutils unit, not yet handled here
- # extpas unit relies on dos unit, not yet handled
- units=$(SYSTEMUNIT) iso7185 extpas uuchar objpas macpas \
- $(SYSCONSTUNIT) $(SYSUTILSUNIT) $(MATHUNIT) $(RTLCONSTSUNIT) \
- $(CHARACTERUNIT) $(FPWIDESTRINGUNIT) $(FGLUNIT) $(CPU_UNITS) \
- $(DOSUNIT) $(TYPEINFOUNIT) $(TYPESUNIT) $(SORTBASEUNIT) $(CLASSESUNIT) buildrtl
- implicitunits=$(CTYPESUNIT) $(STRINGSUNIT) $(SYMBIANUNIT) $(UNICODEDATAUNIT)
- [require]
- nortl=y
- [install]
- fpcpackage=y
- [default]
- target=symbian
- [compiler]
- includedir=$(INC) $(PROCINC)
- sourcedir=$(INC) $(PROCINC) $(COMMON)
- [prerules]
- RTL=..
- INC=$(RTL)/inc
- COMMON=$(RTL)/common
- PROCINC=$(RTL)/$(CPU_TARGET)
- SYMBIANINC=./symbianinc
- UIQINC=./uiqinc
- UNITPREFIX=rtl
- SYSTEMUNIT=system
- ifndef FPC_DOTTEDUNITS
- RTLCONSTSUNIT=rtlconst
- endif
- OBJPASDIR=$(RTL)/objpas
- ifeq ($(ARCH),i386)
- CPU_UNITS=cpu mmx
- endif
- ifeq ($(ARCH),arm)
- CPU_UNITS=cpu
- endif
- ifneq ($(findstring $(ARCH),i386),)
- CPU_DEPS_CPU=$(SYSUTILSUNIT)$(PPUEXT) objpas$(PPUEXT)
- else
- CPU_DEPS_CPU=$(SYSUTILSUNIT)$(PPUEXT) objpas$(PPUEXT)
- endif
- DOS_DEPS_OS=objpas$(PPUEXT)
- [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)
- #
- buildrtl$(PPUEXT): buildrtl.pp system$(PPUEXT) objpas$(PPUEXT) # macpas$(PPUEXT)
- $(COMPILER) -Fi$(OBJPASDIR)/sysutils -Fi$(OBJPASDIR)/classes -Fu$(PROCINC) -I$(OBJPASDIR) -I$(INC) -I$(SYMBIANINC) -I$(UIQINC) -Fu$(INC) -Fu$(OBJPASDIR) buildrtl
|