*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> mk.conf (5)              



NAME    [Toc]    [Back]

     mk.conf - system-specific configuration parameters

SYNOPSIS    [Toc]    [Back]

     .include <bsd.own.mk>

DESCRIPTION    [Toc]    [Back]

     To    get    system-specific    configuration    parameters,
<bsd.own.mk> will try to
     include  the  file  specified  by the MAKECONF variable.  If
     set, or no such file exists, the system  make  configuration
     /etc/mk.conf  is  included,  if it exists.  By default, this
file does not
     exist, and must be created from scratch.  For more  information on how the
     make process works, and details of the format of make files,
see make(1).

     <bsd.own.mk> is generally useful when building Makefiles, so
that they
     use  the  same default owners, etc. as the rest of the tree.
These files
     may define any of the variables described below.   Additionally, see
     bsd.port.mk(5)  for  a  list of variables that can be set by
the ports(7)

VARIABLES    [Toc]    [Back]

     The following variables are set by <bsd.own.mk>, if they are
not already
     defined.  Defaults are in brackets.

     BINGRP         Binary group.  [bin]

     BINMODE        Binary mode.  [555]

     BINOWN         Binary owner.  [root]

     BSDOBJDIR       The  real  path to the system 'obj' tree, so
that 'make obj'
                    will work correctly.  [/usr/obj]

     BSDSRCDIR      The real path to the system sources, so  that
'make obj'
                    will work correctly.  [/usr/src]

     DIRMODE        Mode for new directories.  [755]

     DOCDIR         Base path for system documentation (e.g. PSD,
USD, etc.)
                    installation.  [/usr/share/doc]

     DOCGRP         Documentation group.  [bin]

     DOCMODE        Documentation mode.  [${NONBINMODE}]

     DOCOWN         Documentation owner.  [root]

     INSTALL_COPY   The old usage of this  flag  is  obsolescent,
                    install(1)  now  copies by default.  However,
it can also be
                    used to specify that a file not be copied unless it is
                    different  (via  the  -p  option).   See  install(1) for details.
  This is to be used when  building  an
install script
                    so  that  the entire system can either be installed with
                    copies, or copy-if-different using  a  single
knob.  [-c]

     INSTALL_STRIP   The  flag  passed  to the install program to
cause the binary
                    to be stripped.  This  is  to  be  used  when
building an install
 script so that the entire system can be
                    stripped/not-stripped using  a  single  knob.
Note that
                    INSTALL_STRIP  is  not set if ${DEBUG} is defined.  [-s]

     LIBDIR           Base   path   for   library   installation.

     LIBGRP         Library group.  [${BINGRP}]

     LIBMODE        Library mode.  [${NONBINMODE}]

     LIBOWN         Library owner.  [${BINOWN}]

     LINTLIBDIR     Base path for lint(1) library installation.

     MANDIR            Base   path   for   manual   installation.

     MANGRP         Manual group.  [bin]

     MANMODE        Manual mode.  [${NONBINMODE}]

     MANOWN         Manual owner.  [root]

     NLSDIR         Base path for National Language Support files

     NLSGRP         National Language Support files group.  [bin]

     NLSMODE         National  Language   Support   files   mode.

     NLSOWN           National   Language  Support  files  owner.

     NONBINMODE     Mode for non-executable files.  [444]


     Additionally,  the  following  variables  may  be   set   by
<bsd.own.mk> or in a
     make  configuration file to modify the behaviour of the system build process
 (default values are in brackets along with comments, if
set by

     DEBUG                   Add  -g  to assembly, C compiler and
linking passes.
                            Also doesn't set INSTALL_STRIP to  -s
per default
                            if defined.

     DEBUGLIBS              Create libraries with -g debug information, and
                            install them in /usr/lib/debug.

     GLOBAL_AUTOCONF_CACHE  Set to the name of a  file  that  all
cached GNU autoconf
 test results will be saved in.
Reduces redundant
 tests.  Be  careful!   Redundant tests may
                            not be redundant when installing substantially updated
 gnu programs.

     MANPS                   Define  to  have  PostScript  manual
pages generated.

     MANZ                   Compress manual pages at installation

     NOLINT                 Do not build lint  libraries.   [yes;

     NOPIC                   Do  not build PIC versions of system
libraries, and
                            do not build shared libraries.

     NOPROFILE              Do not  build  profiled  versions  of
system libraries.

     PIPE                    If  set  to  "-pipe", gcc(1) will be
given the -pipe
                            option which can speed up compiles on
                            with memory to spare.  Instead of using temp
                            files, gcc(1) uses pipes for the temporary data.

     SKEY                    Compile in support for S/key authentication.
                            [yes; set unconditionally]

     SKIPDIR                A space separated list of directories
to be
                            skipped during "make build".

     SUDO                    Command  to run when doing "make install" portion
                            of "make build".   If  set  to  sudo,
this allows one
                            to  run  "make build" as a user other
than root (assuming
 sudo is set up for that user).

     SYS_INCLUDE             Copy or symlink kernel include files
                            /usr/include.   Possible  values  are
"symlinks" or
                            "copies"  (which  is  the same as the
variable being

     WARNINGS               Adds appropriate warning  flags  (defined in
                            CDIAGFLAGS,  e.g.   -Wall...) to compiles.  [no]

FILES    [Toc]    [Back]

     /etc/mk.conf     System make configuration file.
     /usr/share/mk/*  System include make files.

SEE ALSO    [Toc]    [Back]

     make(1), bsd.port.mk(5), ports(7)

HISTORY    [Toc]    [Back]

     The mk.conf manual page first appeared in OpenBSD 3.4.

OpenBSD     3.6                          March      19,      2003
[ Back ]
 Similar pages
Name OS Title
hostname.if OpenBSD interface-specific configuration files
bridgename.if OpenBSD interface-specific configuration files
class_configure Tru64 set or change class database configuration parameters
lan_config Tru64 Modifies low-level configuration parameters for a given LAN interface
dhcpv6client_ui HP-UX DHCPv6 client interface for requesting configuration parameters from the DHCPv6 server.
sizer Tru64 Displays information about the system or kernel, or creates a system configuration file
boot_vax OpenBSD vax-specific system bootstrapping procedures
sysctl Linux read/write system parameters
kmtune HP-UX query, set, or reset system parameters
mtune IRIX default system tunable parameters
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service