mkpkg-config - generate a configuration file for pkg-config
mkpkg-config options
mkpkg-config creates a pkg-config metadata (.pc
) file based
upon command line options. It is useful for inclusion in scripts.
It generates the following variables which may be interpolated into the keywords:
pkg
prefix
exec_prefix
exec_prefix=${prefix}
If the --exec_suffix option is specified instead of --exec_prefix, it defaults to
exec_prefix=${prefix}/${exec_suffix}
libdir
libdir=${exec_prefix}/lib
includedir
includedir=${prefix}/include
or
includedir=${prefix}/include/${pkg}
if the --pkg option is specified.
The following keywords are also generated:
libdir
variable and the --libs
option. If libdir
is not empty, -L${libdir}
is prepended to
Libs. If --libs
is not specified, -l${pkg}
is added (if
--pkg is specified).
-I${includedir}/${pkg}
is prepended.
These are described in detail in Description.
-R${libdir}
should be added to the
Libs section.
This documents version 1.5.1 of make-world.
This software is copyrighted (2006) by the Smithsonian Astrophysical Observatory and is released under the GNU General Public License. You may find a copy at
http://www.fsf.org/copyleft/gpl.html
Diab Jerius <djerius@cfa.harvard.edu>