1ppdep(1) Free Pascal unit dependency tracking ppdep(1)
2
3
4
6 ppdep - The FPC Pascal unit dependency tracking program.
7
8
10 ppdep [-DDefine] [-oFile] [-eext] [-V] [-h] [A[call]] file
11
12
14 ppdep dumps the dependencies of a unit in a format that can be under‐
15 stood by GNU make. It writes these dependencies to standard output. It
16 takes care of dependencies both in the interface and implementation
17 section of the unit, and it can handle conditional defines.
18
19
21 You can invoke ppdep with as the only required argument the name of the
22 file (program or unit) whose dependecies you wish to list. You don't
23 need to specify an extension, by default .pp is assumed.
24
25
27 ppdep has several options, which are case insensitive:
28
29
30 -acall This option tells ppdep to generate a compiler call for the
31 makefile. The compiler call will be generated for each file that
32 is found in the current directory. If you do no specify an
33 explicit compiler call, ppc386 is used.
34
35 -dkeyword
36 This option defines keyword that can be used to verify condi‐
37 tional defines. ppdep understands conditional defines, you
38 should use this switch if the uses clause of the programs or
39 units can contain conditional defines.
40
41 -eext This allows you to specify a different extension for the unit
42 files. By default, .ppu is assumed. This extension is written
43 to the makefile.
44
45 -f[call]
46 This option tells ppdep to generate a compiler call for the
47 makefile. The compiler call will be generated only for the file
48 that was specified on the ppdep command line. If you want to
49 generate a compiler call for each file found, use the -a option.
50 If you do no specify an explicit compiler call, ppc386 is used.
51
52 -h Shows a short help screen.
53
54 -ofile This option allows you to specify a file to which the dependen‐
55 cies should be written. By default the dependencies are written
56 to standard output. If you specify this option, the dependen‐
57 cies are written to file
58
59 instead.
60
61 -v Writes some diagnostic messages. If you use this option, be sure
62 to use -o as well, since the diagnostic messages will also be
63 written to standard output.
64
65
67 ppc386(1) ppumove(1) make(1)
68
69
70
71Free Pascal 9 June 1999 ppdep(1)