.\" Copyright (c) 1990 The Regents of the University of California.
.\" Redistribution and use in source and binary forms are permitted
.\" provided that the above copyright notice and this paragraph are
.\" duplicated in all such forms and that any documentation,
.\" advertising materials, and other materials related to such
.\" distribution and use acknowledge that the software was developed
.\" by the University of California, Berkeley. The name of the
.\" University may not be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\" @(#)lorder.1 6.2 (Berkeley) %G%
lorder \- list dependencies for object files
to determine interdependencies in the list of object files
specified on the command line.
outputs a list of file names where the first file contains a symbol
which is defined by the second file.
The output is normally used with
when a libarary is created to determine the optimum ordering of the
object modules so that all references may be resolved in a single
ar cr library.a `lorder ${OBJS} | tsort`
ar(1), ld(1), nm(1), ranlib(1), tsort(1)