Makefile.fpc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #
  2. # Makefile.fpc for Free Pascal WII RTL
  3. #
  4. [package]
  5. main=rtl
  6. [target]
  7. loaders=
  8. units=$(SYSTEMUNIT) $(UUCHARUNIT) $(OBJPASUNIT) $(MACPASUNIT) $(ISO7185UNIT) $(EXTPASUNIT) $(STRINGSUNIT) \
  9. $(SORTBASEUNIT) $(SYSUTILSUNIT) $(DOSUNIT) \
  10. $(CLASSESUNIT) $(MATHUNIT) $(TYPINFOUNIT) $(CTYPESUNIT) \
  11. $(CHARSETUNIT) $(CPALLUNIT) $(GETOPTSUNIT) \
  12. $(FPWIDESTRINGUNIT) $(CHARACTERUNIT) \
  13. $(TYPESUNIT) $(SYSCONSTUNIT) $(RTLCONSTSUNIT) $(LINEINFOUNIT) $(FGLUNIT) $(CMEMUNIT)
  14. #rsts=$(MATHUNIT) $(RTLCONSTSUNIT) $(TYPINFOUNIT) $(CLASSESUNIT) $(SYSCONSTUNIT) $(UNICODEDATAUNIT)
  15. implicitunits=$(CP_UNITS) $(UNICODEDATAUNIT)
  16. [require]
  17. nortl=y
  18. [install]
  19. fpcpackage=y
  20. [default]
  21. target=wii
  22. cpu=powerpc
  23. [compiler]
  24. includedir=$(INC) $(PROCINC)
  25. sourcedir=$(INC) $(PROCINC) $(COMMON)
  26. [prerules]
  27. RTL=..
  28. INC=$(RTL)/inc
  29. COMMON=$(RTL)/common
  30. PROCINC=$(RTL)/$(CPU_TARGET)
  31. UNITPREFIX=rtl
  32. override FPC_SYSTEM_OPT += @rtl.cfg
  33. ifdef RELEASE
  34. override FPCOPT+=-Ur
  35. endif
  36. # Paths
  37. OBJPASDIR=$(RTL)/objpas
  38. [rules]
  39. .NOTPARALLEL:
  40. # Get the system independent include file names.
  41. # This will set the following variables :
  42. # SYSINCNAMES
  43. include $(INC)/makefile.inc
  44. SYSINCDEPS=$(addprefix $(INC)/,$(SYSINCNAMES))
  45. # Get the processor dependent include file names.
  46. # This will set the following variables :
  47. # CPUINCNAMES
  48. include $(PROCINC)/makefile.cpu
  49. SYSCPUDEPS=$(addprefix $(PROCINC)/,$(CPUINCNAMES))
  50. # Put system unit dependencies together.
  51. SYSDEPS=$(SYSINCDEPS) $(SYSCPUDEPS) $(INC)/softfpu.pp