From 4326efe0f882c836c7a68ce7e253d614b5a8d271 Mon Sep 17 00:00:00 2001 From: wosch Date: Sun, 31 Mar 1996 23:15:17 +0000 Subject: 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?= --- share/mk/bsd.own.mk | 71 +++++++++++++++++++++++++++++++++++------------------ 1 file changed, 47 insertions(+), 24 deletions(-) (limited to 'share/mk/bsd.own.mk') 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 -- cgit v1.1