ppdep.1 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. .TH ppdep 1 "9 June 1999" FreePascal "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. \fBppdep\fP dumps the dependencies of a unit in a format that can be
  8. understood by GNU \fBmake\fP. It writes these dependencies to standard
  9. output. It takes care of dependencies both in the interface and
  10. implemntation section of the unit, and it can handle conditional defines.
  11. .SH Usage
  12. You can invoke \fBppdep\fP with as the only required argument the name of the
  13. file (program or unit) whose dependecies you wish to list. You don't need
  14. to specify an extension, by default \fB.pp\fP is assumed.
  15. .SH Options
  16. \fBppdep\fP has several options, which are case insensitive:
  17. .IP \fI\-a[call]\fP
  18. This option tells \fBppdep\fP to generate a compiler call for the
  19. makefile. The compiler call will be generated for each file that
  20. is found in the current directory. If you do no specify an explicit
  21. compiler call, \fBppc386\fP is used.
  22. .IP \fI\-dKeyword\fP
  23. This option defines \fBkeyword\fP that can be used to verify conditional
  24. defines. \fBppdep\fP understands conditional defines, you should use this
  25. switch if the \fIuses\fP clause of the programs or units can contain conditional
  26. defines.
  27. .IP \fI\-eext\fP
  28. This allows you to specify a different extension for the unit files.
  29. By default, \fB.ppu\fP is assumed. This extension is written to the
  30. makefile.
  31. .IP \fI-f[call]\fP
  32. This option tells \fBppdep\fP to generate a compiler call for the
  33. makefile. The compiler call will be generated only for the file that
  34. was specified on the \fBppdep\fP command line. If you want to generate a
  35. compiler call for each file found, use the \fI\-a\fP option.
  36. If you do no specify an explicit compiler call, \fBppc386\fP is used.
  37. .IP \fI\-h\fP
  38. Shows a short help screen.
  39. .IP \fI\-ofile\fP
  40. This option allows you to specify a file to which the dependencies should be
  41. written. By default the dependencies are written to standard output.
  42. If you specify this option, the dependencies are written to \fBfile\fP
  43. instead.
  44. .IP \fI\-v\fP
  45. Writes some diagnostic messages. If you use this option, be sure to use
  46. \fI\-o\fP as well, since the diagnostic messages will also be written to
  47. standard output.
  48. .RE
  49. .SH SEE ALSO
  50. .IP
  51. .BR ppc386 (1)
  52. .BR ppumove (1)
  53. .BR make (1)