=head1 NAME stubby-auto - Automatically generate stubby configuration =head1 SYNOPSIS stubby-auto [options] =head1 DESCRIPTION Stubby-auto is a program that can automatically generate parts of a stubby C-like input file. Specifically, given a list of libraries in a format similar to what a C compiler accepts, it generates the commands to declare the first library given using the 'library' directive. Other libraries present create 'load' directives. This is useful to parse the output of the various -config commands that give dependencies for linking against various shared libraries. All output is sent to stdout. =head1 OPTIONS =over 4 =item -Pprefix This specifies the prefix for the generated library directive. This is usually the first option given. =item -Lpath This adds a new path to the list of directories to search for libraries. This must occur before C<-l> options that refer to libraries in the given path. =item -llibrary This command stubby-auto to search for "liblibrary.so". If found, it reads that link, and then takes the major library version found. It then generates a line like library prefix "liblibrary.so.1"; for the first C<-l> options given, or a line like load "liblibrary.so.1"; for subseqent C<-l> options. =back Other options are ignored silently. =head1 AUTHOR Stubby-auto and this man page were written by Tom Rothamel Etom-stubby@onegeek.orgE. There is a web page for Stubby available at http://onegeek.org/~tom/software/stubby/. =head1 SEE ALSO L, L