Makefile.fpc 1015 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #
  2. # Makefile.fpc for Free Pascal SymbianOS RTL
  3. #
  4. [package]
  5. main=rtl
  6. [target]
  7. units=system
  8. [require]
  9. nortl=y
  10. [install]
  11. fpcpackage=y
  12. [default]
  13. fpcdir=../..
  14. target=symbian
  15. [compiler]
  16. includedir=$(INC) $(PROCINC)
  17. sourcedir=$(INC) $(PROCINC) $(COMMON)
  18. [prerules]
  19. RTL=..
  20. INC=$(RTL)/inc
  21. COMMON=$(RTL)/common
  22. PROCINC=$(RTL)/$(CPU_TARGET)
  23. OBJPASDIR=$(RTL)/objpas
  24. UNITPREFIX=rtl
  25. [rules]
  26. .NOTPARALLEL:
  27. SYSTEMPPU=$(addsuffix $(PPUEXT),system)
  28. # Get the system independent include file names.
  29. # This will set the following variables :
  30. # SYSINCNAMES
  31. include $(INC)/makefile.inc
  32. SYSINCDEPS=$(addprefix $(INC)/,$(SYSINCNAMES))
  33. # Get the processor dependent include file names.
  34. # This will set the following variables :
  35. # CPUINCNAMES
  36. include $(PROCINC)/makefile.cpu
  37. SYSCPUDEPS=$(addprefix $(PROCINC)/,$(CPUINCNAMES))
  38. # Put system unit dependencies together.
  39. SYSDEPS=$(SYSINCDEPS) $(SYSCPUDEPS)
  40. #
  41. # System Units (System, Objpas, Strings)
  42. #
  43. system$(PPUEXT) : system.pp $(SYSDEPS)
  44. $(COMPILER) -Us -Sg system.pp