HCoop backport of SML/NJ for ml-nlffigen
[hcoop/zz_old/debian/smlnj.git] / debian / ml-makedepend.1
1 .TH ml-makedepend 1 "October 25, 2002"
2 .SH NAME
3 ml-makedepend \- list files a ML program depends upon
4 .SH SYNOPSIS
5 .B ml-makedepend
6 .RI "[ " DU-options " ] "
7 .RB "[ " -n " ] [ " -f
8 .IB makefile " ] " " project.cm target"
9 .br
10 .B ml-makedepend
11 .RI "[ " DU-options " ] "
12 .RB "[ " -a
13 .IR arch " ] [ "
14 .BI -o " os"
15 .RB " ] [ " -f
16 .IR makefile " ] " "project.cm target"
17 .br
18 .SH DESCRIPTION
19 This manual page documents briefly the
20 .B ml-makedepend
21 command.
22 This manual page was written for the Debian distribution
23 because the original program does not have a manual page.
24 The
25 .B ml-makedepend
26 script is part of the
27 .B SML/NJ CM
28 (Compilation and Library Manager) that is used to generate
29 a list of files that a ML program depends on for use by
30 .BR make .
31 .SH OPTIONS
32 A summary of options is included below.
33 .TP
34 .B -n
35 .BR ml-makedepend " usually uses the " make
36 .RI variables " $(ARCH) " and " $(OPSYS) "
37 in the filenames for the
38 .IR Makefile ". "
39 This option disables this feature.
40 .TP
41 .BI -a " arch"
42 .RI "Use " arch " in place of " $(ARCH) .
43 .TP
44 .BI -o " os"
45 .RI "Use " os " in place of " $(OPSYS) .
46 .TP
47 .BI -f " makefile"
48 Name of the
49 .I makefile
50 to be used rather than the default
51 .IR Makefile .
52 .TP
53 .BI -D name = value
54 Set CM variable to given value.
55 .TP
56 .BI -D name
57 Set CM variable to 1.
58 .TP
59 .BI -U name
60 Unset CM variable.
61 .SH SEE ALSO
62 .BR sml (1),
63 .BR ml-lex (1),
64 .BR ml-build (1),
65 .BR ml-yacc (1).
66 .br
67 The programs are documented fully by
68 .IR "CM: The SML/NJ Compilation and Library Manager, User Manual" ,
69 Matthias Blume, which is
70 available via <http://cm.bell-labs.com/cm/cs/what/smlnj/doc/CM/new.pdf>.
71 .SH AUTHOR
72 This manual page was written by Aaron Matthew Read <amread@nyx.net>,
73 for the Debian GNU/Linux system (but may be used by others).