HCoop backport of SML/NJ for ml-nlffigen
[hcoop/zz_old/debian/smlnj.git] / debian / ml-makedepend.1
CommitLineData
4dd335d4
JM
1.TH ml-makedepend 1 "October 25, 2002"
2.SH NAME
3ml-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
19This manual page documents briefly the
20.B ml-makedepend
21command.
22This manual page was written for the Debian distribution
23because the original program does not have a manual page.
24The
25.B ml-makedepend
26script is part of the
27.B SML/NJ CM
28(Compilation and Library Manager) that is used to generate
29a list of files that a ML program depends on for use by
30.BR make .
31.SH OPTIONS
32A 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) "
37in the filenames for the
38.IR Makefile ". "
39This 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"
48Name of the
49.I makefile
50to be used rather than the default
51.IR Makefile .
52.TP
53.BI -D name = value
54Set CM variable to given value.
55.TP
56.BI -D name
57Set CM variable to 1.
58.TP
59.BI -U name
60Unset 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
67The programs are documented fully by
68.IR "CM: The SML/NJ Compilation and Library Manager, User Manual" ,
69Matthias Blume, which is
70available via <http://cm.bell-labs.com/cm/cs/what/smlnj/doc/CM/new.pdf>.
71.SH AUTHOR
72This manual page was written by Aaron Matthew Read <amread@nyx.net>,
73for the Debian GNU/Linux system (but may be used by others).