makefile.exm 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #
  2. # Example Makefile.fpc which shows the defaults
  3. #
  4. [targets]
  5. ; The units which should be compiled
  6. units=
  7. ; The programs which should be compiled
  8. programs=
  9. [defaults]
  10. ; the default build target should only compile the units ?
  11. defaultunits=0
  12. ; What is the default rule to call
  13. defaultrule=all
  14. ; force target OS
  15. defaulttarget=
  16. ; force target CPU
  17. defaultcpu=
  18. ; options needed to compile (like -S2 or -Sg)
  19. defaultoptions=
  20. [dirs]
  21. ; what is the default location of FPC
  22. fpcdir=
  23. ; which dirs need to be searched for units
  24. unitdir=
  25. ; which dirs need to be searched for libs
  26. libdir=
  27. ; which dirs need to be searched for object files
  28. objdir=
  29. ; which dirs need to be searched for include files
  30. incdir=
  31. ; where to place the created units/files
  32. targetdir=
  33. ; where to place the created units
  34. unittargetdir=
  35. [libs]
  36. ; linking with libgcc.a needed ?
  37. libgcc=0
  38. ; linking with other libraries needed (not in the /lib;/usr/lib;/usr/X11R6/lib)
  39. libother=0
  40. [tools]
  41. ; sed needed?
  42. toolsed=0
  43. ; cmp needed?
  44. toolcmp=0
  45. ; diff needed?
  46. tooldiff=0
  47. ; try to use upx for compression ?
  48. toolupx=1
  49. ; date needed?
  50. tooldate=1
  51. ; zip needed?
  52. toolzip=1
  53. [info]
  54. ; show configuration info
  55. infocfg=1
  56. ; show directory info
  57. infodir=0
  58. ; show which tools are found
  59. infotools=0
  60. ; show install dirs
  61. infoinstall=1
  62. ; show build objects
  63. infoobjects=1
  64. ; show files found in current dir
  65. infofiles=0
  66. [presettings]
  67. ; Add here the makefile commands which need to be done at the beginning
  68. ; of the user settings section
  69. [postsettings]
  70. ; Add here the makefile commands which need to be done at the end
  71. ; of the user settings section
  72. [rules]
  73. ; here you can add your own rules, the general rules will automatically
  74. ; remove the defaults which call fpc_<rule>.