1# $FreeBSD$ 2# 3# The include file <bsd.own.mk> set common variables for owner, 4# group, mode, and directories. Defaults are in brackets. 5# 6# 7# +++ variables +++ 8# 9# DESTDIR Change the tree where the file gets installed. [not set] 10# 11# DISTDIR Change the tree where the file for a distribution 12# gets installed (see /usr/src/release/Makefile). [not set] 13# 14# COMPRESS_CMD Program to compress documents. 15# Output is to stdout. [gzip -cn] 16# 17# COMPRESS_EXT File name extension of ${COMPRESS_CMD} command. [.gz] 18# 19# BINOWN Binary owner. [root] 20# 21# BINGRP Binary group. [wheel] 22# 23# BINMODE Binary mode. [555] 24# 25# NOBINMODE Mode for non-executable files. [444] 26# 27# LIBDIR Base path for libraries. [/usr/lib] 28# 29# LIBCOMPATDIR Base path for compat libraries. [/usr/lib/compat] 30# 31# LIBDATADIR Base path for misc. utility data files. [/usr/libdata] 32# 33# LINTLIBDIR Base path for lint libraries. [/usr/libdata/lint] 34# 35# SHLIBDIR Base path for shared libraries. [${LIBDIR}] 36# 37# LIBOWN Library owner. [${BINOWN}] 38# 39# LIBGRP Library group. [${BINGRP}] 40# 41# LIBMODE Library mode. [${NOBINMODE}] 42# 43# 44# KMODDIR Base path for loadable kernel modules 45# (see kld(4)). [/boot/kernel] 46# 47# KMODOWN KLD owner. [${BINOWN}] 48# 49# KMODGRP KLD group. [${BINGRP}] 50# 51# KMODMODE KLD mode. [${BINMODE}] 52# 53# 54# SHAREDIR Base path for architecture-independent ascii 55# text files. [/usr/share] 56# 57# SHAREOWN ASCII text file owner. [root] 58# 59# SHAREGRP ASCII text file group. [wheel] 60# 61# SHAREMODE ASCII text file mode. [${NOBINMODE}] 62# 63# 64# DOCDIR Base path for system documentation (e.g. PSD, USD, 65# handbook, FAQ etc.). [${SHAREDIR}/doc] 66# 67# DOCOWN Documentation owner. [${SHAREOWN}] 68# 69# DOCGRP Documentation group. [${SHAREGRP}] 70# 71# DOCMODE Documentation mode. [${NOBINMODE}] 72# 73# 74# INFODIR Base path for GNU's hypertext system 75# called Info (see info(1)). [${SHAREDIR}/info] 76# 77# INFOOWN Info owner. [${SHAREOWN}] 78# 79# INFOGRP Info group. [${SHAREGRP}] 80# 81# INFOMODE Info mode. [${NOBINMODE}] 82# 83# 84# MANDIR Base path for manual installation. [${SHAREDIR}/man/man] 85# 86# MANOWN Manual owner. [${SHAREOWN}] 87# 88# MANGRP Manual group. [${SHAREGRP}] 89# 90# MANMODE Manual mode. [${NOBINMODE}] 91# 92# 93# NLSDIR Base path for National Language Support files 94# installation. [${SHAREDIR}/nls] 95# 96# NLSOWN National Language Support files owner. [${SHAREOWN}] 97# 98# NLSGRP National Language Support files group. [${SHAREGRP}] 99# 100# NLSMODE National Language Support files mode. [${NOBINMODE}] 101# 102# INCLUDEDIR Base path for standard C include files [/usr/include] 103 104.if !target(__<bsd.own.mk>__) 105__<bsd.own.mk>__: 106 107# Binaries 108BINOWN?= root 109BINGRP?= wheel 110BINMODE?= 555 111NOBINMODE?= 444 112 113.if defined(MODULES_WITH_WORLD) 114KMODDIR?= /boot/modules 115.else 116KMODDIR?= /boot/kernel 117.endif 118KMODOWN?= ${BINOWN} 119KMODGRP?= ${BINGRP} 120KMODMODE?= ${BINMODE} 121 122LIBDIR?= /usr/lib 123LIBCOMPATDIR?= /usr/lib/compat 124LIBDATADIR?= /usr/libdata 125LINTLIBDIR?= /usr/libdata/lint 126SHLIBDIR?= ${LIBDIR} 127LIBOWN?= ${BINOWN} 128LIBGRP?= ${BINGRP} 129LIBMODE?= ${NOBINMODE} 130 131 132# Share files 133SHAREDIR?= /usr/share 134SHAREOWN?= root 135SHAREGRP?= wheel 136SHAREMODE?= ${NOBINMODE} 137 138MANDIR?= ${SHAREDIR}/man/man 139MANOWN?= ${SHAREOWN} 140MANGRP?= ${SHAREGRP} 141MANMODE?= ${NOBINMODE} 142 143DOCDIR?= ${SHAREDIR}/doc 144DOCOWN?= ${SHAREOWN} 145DOCGRP?= ${SHAREGRP} 146DOCMODE?= ${NOBINMODE} 147 148INFODIR?= ${SHAREDIR}/info 149INFOOWN?= ${SHAREOWN} 150INFOGRP?= ${SHAREGRP} 151INFOMODE?= ${NOBINMODE} 152 153NLSDIR?= ${SHAREDIR}/nls 154NLSOWN?= ${SHAREOWN} 155NLSGRP?= ${SHAREGRP} 156NLSMODE?= ${NOBINMODE} 157 158INCLUDEDIR?= /usr/include 159 160# Common variables 161.if !defined(DEBUG_FLAGS) 162STRIP?= -s 163.endif 164 165COMPRESS_CMD?= gzip -cn 166COMPRESS_EXT?= .gz 167 168.endif !target(__<bsd.own.mk>__) 169