GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BUILD.COMMON.MK (5)

NAME

build.common.mk - bsdbuild - common defines

CONTENTS

Synopsis
Description
Targets
Variables
See Also
History

SYNOPSIS


.Fd .include <bsd.common.mk>

DESCRIPTION

build.common.mk defines common variables that are used by the different BSDBuild modules. They can be referenced from Makefiles, but they are almost always treated read-only and overrided by a Makefile.config generated by a configure script (see mkconfigure(1) for details).

TARGETS

This module defines no target.

VARIABLES

PREFIX Base target installation directory. Defaults to '/usr/local'.
DESTDIR Optional prefix for all installation directories. 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'.
FIND Path to the 'find 1' command. Not used by BSDBuild itself, but useful for maintainer scripts and such.
AWK Path to 'awk' interpreter. Not used by BSDBuild itself, but useful for maintainer scripts and such.
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

build.lib.mk(5), build.prog.mk(5)

HISTORY

build.common.mk first appeared in BSDBuild 1.0.

BSDBuild is based on the 4.4BSD build system.

Search for    or go to Top of page |  Section 5 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.