fpcmake.1 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. .TH fpcmake 1 "11 Jan 2005" "Free Pascal" "Free Pascal Makefile constructor"
  2. .SH NAME
  3. fpcmake \- The Free Pascal makefile constructor program.
  4. .SH SYNOPSIS
  5. .B fpcmake [-Ttarget] [-pwhrqvV] [filename [filename [filename]]]
  6. .SH DESCRIPTION
  7. .B fpcmake
  8. reads a
  9. .I Makefile.fpc
  10. and converts it to a
  11. .I Makefile
  12. suitable for reading by GNU
  13. .I make
  14. to compile your projects. It is similar in functionality to GNU
  15. .I autoconf
  16. or
  17. .I Imake
  18. for making X projects.
  19. .SH USAGE
  20. .B fpcmake
  21. accepts filenames of makefile description files as it's command-line
  22. arguments. For each of these files it will create a
  23. .I Makefile
  24. in the same directory where the file is located, overwriting any
  25. existing file with the same name.
  26. If no options are given, it just attempts to read the file
  27. .I Makefile.fpc
  28. in the current directory and tries to construct a Makefile from it.
  29. any previously existing
  30. .I Makefile
  31. will be erased. See
  32. .BR fpcmake (5)
  33. for a description of the format of the
  34. .I Makefile.fpc
  35. file.
  36. .SH OPTIONS
  37. fpcmake has a small number of options to control it's behaviour:
  38. .TP
  39. .B \-h
  40. Emit a short help text describing the use of
  41. .B fpcmake
  42. .TP
  43. .B \-p
  44. If this option is given, a package description file is generated as well as
  45. a makefile.
  46. .TP
  47. .B \-q
  48. Tells
  49. .B fpcmake
  50. to be more quiet, i.e. emit less messages.
  51. .TP
  52. .B \-r
  53. If this option is given,
  54. .B fpcmake
  55. will recursively scan subdirectories for
  56. .B makefile.fpc
  57. files and generate makefiles for them.
  58. .TP
  59. .B \-T
  60. Specifies the targets for which
  61. .B fpcmake
  62. should generate makefiles. This can be a comma-separated list of target
  63. systems, or the special identifier
  64. .I all
  65. which indicates that a makefile should be generated for all supported
  66. platforms.
  67. .TP
  68. .B \-v
  69. This option instructs
  70. .B fpcmake
  71. to be more verbose.
  72. .TP
  73. .B \-V
  74. Print
  75. .B fpcmake
  76. version and exit.
  77. .TP
  78. .B \-w
  79. This is the standard option and tells
  80. .B fpcmake
  81. to generate a makefile.
  82. .SH SEE ALSO
  83. .IP
  84. .BR fpcmake (5)
  85. .BR ppc386 (1)
  86. .BR make (1)