BSDBuild Logo

BSDBuild Manual

(Printable Version)
build.common.mk(5)

SYNOPSIS

include <build.common.mk>

DESCRIPTION

build.common.mk defines common variables that are used by the different BSDBuild modules. They are typically set in Makefile.config by a mkconfigure(1) generated configure script.

TARGETS

This module defines no target.

VARIABLES

PREFIX Installation directory. Defaults to /usr/local.
DESTDIR Optional prefix for all installation directories. It must be an absolute path name with terminating "/". This variable is typically passed as an argument to a make install command. Defaults to an empty string.
STATEDIR Installation directory for writeable machine-wide data files. Defaults to PREFIX/var.
SYSCONFDIR System-wide configuration directory. Defaults to PREFIX/etc.
DATADIR Installation directory for read-only machine-wide data files.
BINDIR Installation directory for executables. Defaults to PREFIX/bin.
LIBDIR Installation directory for library files. Defaults to PREFIX/lib.
MODULEDIR Installation directory for dynamically-loaded modules. Defaults to PREFIX/lib (but this default is almost always overridden by the application's configure script).
INCLDIR Installation directory for library header files. Defaults to PREFIX/include.
MANDIR Installation directory for manual pages. Defaults to PREFIX/man.
SUDO Optional path to sudo(8). If set, all modules will use it for privileged commands.
SH Path to the Bourne shell. Defaults to sh.
LN Path to the ln(1) command. Defaults to ln.
FIND Path to the find 1 command. Not used by BSDBuild.
AWK Path to awk interpreter. Not used by BSDBuild.
INSTALL_PROG Command to execute for installing an executable file. Defaults to install -c -m 755.
INSTALL_LIB Command to execute for installing a library file. Defaults to install -c -m 644.
INSTALL_DATA Command to execute for installing a data file. Defaults to install -c -m 644.
INSTALL_INCL Command to execute for installing a library header file. Defaults to install -c -m 644.
DEINSTALL_PROG Command to execute for uninstalling an executable.
DEINSTALL_LIB Command to execute for uninstalling a library.
DEINSTALL_DATA Command to execute for uninstalling a data file.
DEINSTALL_INCL Command to execute for uninstalling a library header file.

SEE ALSO


HISTORY

build.common.mk first appeared in BSDBuild 1.0.

BSDBuild is based on the 4.4BSD build system.

Csoft.net ElectronTubeStore