Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
BUILD.COMMON.MK(5)	    BSD	File Formats Manual	    BUILD.COMMON.MK(5)

NAME
     build.common.mk --	bsdbuild - common defines

SYNOPSIS
     .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	gener-
     ated 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	mod-
			  ules.	 Defaults to `PREFIX/lib' (but this default is
			  almost always	overridden by the application's	con-
			  figure 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 it-
			  self,	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.  De-
			  faults 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.

BSD				 July 18, 2007				   BSD

NAME | SYNOPSIS | DESCRIPTION | TARGETS | VARIABLES | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=build.common.mk&sektion=5&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help