ppdep.1 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .TH ppdep 1 "9 June 1999" "Free Pascal" "Free Pascal unit dependency tracking"
  2. .SH NAME
  3. ppdep \- The FPC Pascal unit dependency tracking program.
  4. .SH SYNOPSIS
  5. \fBppdep\fP [-DDefine] [-oFile] [-eext] [-V] [-h] [A[call]] file
  6. .SH Description
  7. .B ppdep
  8. dumps the dependencies of a unit in a format that can be
  9. understood by GNU
  10. .B make
  11. . It writes these dependencies to standard
  12. output. It takes care of dependencies both in the interface and
  13. implemntation section of the unit, and it can handle conditional defines.
  14. .SH Usage
  15. You can invoke
  16. .B ppdep
  17. with as the only required argument the name of the
  18. file (program or unit) whose dependecies you wish to list. You don't need
  19. to specify an extension, by default
  20. .B .pp
  21. is assumed.
  22. .SH Options
  23. .B ppdep
  24. has several options, which are case insensitive:
  25. .TP
  26. .BI \-a call
  27. This option tells
  28. .B ppdep
  29. to generate a compiler call for the
  30. makefile. The compiler call will be generated for each file that
  31. is found in the current directory. If you do no specify an explicit
  32. compiler call,
  33. .B ppc386
  34. is used.
  35. .TP
  36. .BI \-d keyword
  37. This option defines
  38. .B keyword
  39. that can be used to verify conditional
  40. defines.
  41. .B ppdep
  42. understands conditional defines, you should use this switch if the
  43. .I uses
  44. clause of the programs or units can contain conditional defines.
  45. .TP
  46. .BI \-e ext
  47. This allows you to specify a different extension for the unit files.
  48. By default,
  49. .B .ppu
  50. is assumed. This extension is written to the
  51. makefile.
  52. .TP
  53. .BI \-f [call]
  54. This option tells
  55. .B ppdep
  56. to generate a compiler call for the
  57. makefile. The compiler call will be generated only for the file that
  58. was specified on the
  59. .B ppdep
  60. command line. If you want to generate a
  61. compiler call for each file found, use the
  62. .I \-a
  63. option.
  64. If you do no specify an explicit compiler call,
  65. .B ppc386
  66. is used.
  67. .TP
  68. .BI \-h
  69. Shows a short help screen.
  70. .TP
  71. .BI \-o file
  72. This option allows you to specify a file to which the dependencies should be
  73. written. By default the dependencies are written to standard output.
  74. If you specify this option, the dependencies are written to
  75. .B file
  76. instead.
  77. .TP
  78. .BI \-v
  79. Writes some diagnostic messages. If you use this option, be sure to use
  80. .I \-o
  81. as well, since the diagnostic messages will also be written to
  82. standard output.
  83. .RE
  84. .SH SEE ALSO
  85. .IP
  86. .BR ppc386 (1)
  87. .BR ppumove (1)
  88. .BR make (1)