diff options
author | wosch <wosch@FreeBSD.org> | 1996-03-31 23:15:17 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1996-03-31 23:15:17 +0000 |
commit | 4326efe0f882c836c7a68ce7e253d614b5a8d271 (patch) | |
tree | d8a541bb90dd5e3a560a533498dbb5f3a2b82efc /share/mk/bsd.own.mk | |
parent | 44e3654e32559f99d6e48de956fbdfc4657100b2 (diff) | |
download | FreeBSD-src-4326efe0f882c836c7a68ce7e253d614b5a8d271.zip FreeBSD-src-4326efe0f882c836c7a68ce7e253d614b5a8d271.tar.gz |
add SHAREDIR?=, SHAREOWN?=, SHAREGRP?=, SHAREMODE?=,
INFOOWN?=, INFOGRP?=, INFOMODE?=
set variables recursive, eg. change KMODOWN?=bin to KMODOWN?=${BINOWN}
from NetBSD:
add NLSDIR?=, NLSGRP?=, NLSOWN?=, NLSMODE?=,
BSDSRCDIR?=, BSDOBJDIR?=, NOBINMODE?=
Diffstat (limited to 'share/mk/bsd.own.mk')
-rw-r--r-- | share/mk/bsd.own.mk | 71 |
1 files changed, 47 insertions, 24 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 4cdd836..2d5184e 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -1,36 +1,59 @@ -# $Id: bsd.own.mk,v 1.3 1996/03/12 00:07:28 wosch Exp $ +# $Id: bsd.own.mk,v 1.4 1996/03/24 00:31:56 wosch Exp $ -.if !defined(DEBUG_FLAGS) -STRIP?= -s -.endif - -COPY?= -c +# where the system object and source trees are kept; can be configurable +# by the user in case they want them in ~/foosrc and ~/fooobj, for example +BSDSRCDIR?= /usr/src +BSDOBJDIR?= /usr/obj +# Binaries BINOWN?= bin BINGRP?= bin BINMODE?= 555 - -MANDIR?= /usr/share/man/man -MANOWN?= bin -MANGRP?= bin -MANMODE?= 444 - -DOCDIR?= /usr/share -DOCOWN?= bin -DOCGRP?= bin -DOCMODE?= 444 - -INFODIR?= /usr/share/info +NOBINMODE?= 444 LIBDIR?= /usr/lib LINTLIBDIR?= /usr/libdata/lint SHLIBDIR?= ${LIBDIR} -LIBOWN?= bin -LIBGRP?= bin -LIBMODE?= 444 +LIBOWN?= ${BINOWN} +LIBGRP?= ${BINGRP} +LIBMODE?= ${NOBINMODE} KMODDIR?= /lkm -KMODOWN?= bin -KMODGRP?= bin -KMODMODE?= 555 +KMODOWN?= ${BINOWN} +KMODGRP?= ${BINGRP} +KMODMODE?= ${BINMODE} + + +# Share files +SHAREDIR?= /usr/share +SHAREOWN?= bin +SHAREGRP?= bin +SHAREMODE?= ${NOBINMODE} + +MANDIR?= ${SHAREDIR}/man/man +MANOWN?= ${SHAREOWN} +MANGRP?= ${SHAREGRP} +MANMODE?= ${NOBINMODE} + +DOCDIR?= ${SHAREDIR}/doc +DOCOWN?= ${SHAREOWN} +DOCGRP?= ${SHAREGRP} +DOCMODE?= ${NOBINMODE} + +INFODIR?= ${SHAREDIR}/info +INFOOWN?= ${SHAREOWN} +INFOGRP?= ${SHAREGRP} +INFOMODE?= ${NOBINMODE} + +NLSDIR?= ${SHAREDIR}/nls +NLSGRP?= ${SHAREOWN} +NLSOWN?= ${SHAREGRP} +NLSMODE?= ${NONBINMODE} + +# Common variables +.if !defined(DEBUG_FLAGS) +STRIP?= -s +.endif + +COPY?= -c |