NetBSD/share/mk/bsd.own.mk
jtc 4870e69226 Change MANOWN, MANGRP, DOCOWN & DOCGRP to _not_ be initialized from
BINOWN or BINGRP.  Otherwise manual pages and documentation installed
from the same directories as suid or sgid programs will have incorrect
user or group ownership.  (Uucico manpage owned by uucp, su manpage owned
by root, etc.)
1994-01-19 21:26:11 +00:00

43 lines
1.0 KiB
Makefile

# from: @(#)bsd.own.mk 0.1 (RGrimes) 4/4/93
# $Id: bsd.own.mk,v 1.10 1994/01/19 21:26:11 jtc Exp $
# 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
BINGRP?= bin
BINOWN?= bin
BINMODE?= 555
NONBINMODE?= 444
MANDIR?= /usr/share/man/cat
MANGRP?= bin
MANOWN?= bin
MANMODE?= ${NONBINMODE}
LIBDIR?= /usr/lib
LINTLIBDIR?= /usr/libdata/lint
LIBGRP?= ${BINGRP}
LIBOWN?= ${BINOWN}
LIBMODE?= ${NONBINMODE}
DOCDIR?= /usr/share/doc
DOCGRP?= bin
DOCOWN?= bin
DOCMODE?= ${NONBINMODE}
COPY?= -c
STRIP?= -s
# Define SYS_INCLUDE to indicate whether you want symbolic links to the system
# source (``symlinks''), or a separate copy (``copies''); (latter useful
# in environments where it's not possible to keep /sys publicly readable)
#SYS_INCLUDE= symlinks
# don't try to generate PIC versions of libraries on machines
# which don't support PIC.
.if (${MACHINE_ARCH} == "ns32k")
NOPIC=
.endif