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# STRIP The flag passed to the install program to cause the binary 20# to be stripped. This is to be used when building your 21# own install script so that the entire system can be made 22# stripped/not-stripped using a single knob. [-s] 23# 24# OBJFORMAT Default object format that selects which set of tools to run. 25# [elf] 26# 27# BINOWN Binary owner. [root] 28# 29# BINGRP Binary group. [wheel] 30# 31# BINMODE Binary mode. [555] 32# 33# NOBINMODE Mode for non-executable files. [444] 34# 35# LIBDIR Base path for libraries. [/usr/lib] 36# 37# LIBCOMPATDIR Base path for compat libraries. [/usr/lib/compat] 38# 39# LIBDATADIR Base path for misc. utility data files. [/usr/libdata] 40# 41# LINTLIBDIR Base path for lint libraries. [/usr/libdata/lint] 42# 43# SHLIBDIR Base path for shared libraries. [${LIBDIR}] 44# 45# LIBOWN Library mode. [${BINOWN}] 46# 47# LIBGRP Library group. [${BINGRP}] 48# 49# LIBMODE Library mode. [${NOBINMODE}] 50# 51# 52# KMODDIR Base path for loadable kernel modules 53# (see kld(4)). [/boot/kernel] 54# 55# KMODOWN KLD owner. [${BINOWN}] 56# 57# KMODGRP KLD group. [${BINGRP}] 58# 59# KMODMODE KLD mode. [${BINMODE}] 60# 61# 62# SHAREDIR Base path for architecture-independent ascii 63# text files. [/usr/share] 64# 65# SHAREOWN ASCII text file owner. [root] 66# 67# SHAREGRP ASCII text file group. [wheel] 68# 69# SHAREMODE ASCII text file mode. [${NOBINMODE}] 70# 71# 72# DOCDIR Base path for system documentation (e.g. PSD, USD, 73# handbook, FAQ etc.). [${SHAREDIR}/doc] 74# 75# DOCOWN Documentation owner. [${SHAREOWN}] 76# 77# DOCGRP Documentation group. [${SHAREGRP}] 78# 79# DOCMODE Documentation mode. [${NOBINMODE}] 80# 81# 82# INFODIR Base path for GNU's hypertext system 83# called Info (see info(1)). [${SHAREDIR}/info] 84# 85# INFOOWN Info owner. [${SHAREOWN}] 86# 87# INFOGRP Info group. [${SHAREGRP}] 88# 89# INFOMODE Info mode. [${NOBINMODE}] 90# 91# 92# MANDIR Base path for manual installation. [${SHAREDIR}/man/man] 93# 94# MANOWN Manual owner. [${SHAREOWN}] 95# 96# MANGRP Manual group. [${SHAREGRP}] 97# 98# MANMODE Manual mode. [${NOBINMODE}] 99# 100# 101# NLSDIR Base path for National Language Support files 102# installation. [${SHAREDIR}/nls] 103# 104# NLSOWN National Language Support files owner. [${SHAREOWN}] 105# 106# NLSGRP National Language Support files group. [${SHAREGRP}] 107# 108# NLSMODE National Language Support files mode. [${NOBINMODE}] 109# 110# INCLUDEDIR Base path for standard C include files [/usr/include] 111 112.if !target(__<bsd.own.mk>__) 113__<bsd.own.mk>__: 114 115# Binaries 116BINOWN?= root 117BINGRP?= wheel 118BINMODE?= 555 119NOBINMODE?= 444 120 121KMODDIR?= /boot/kernel 122KMODOWN?= ${BINOWN} 123KMODGRP?= ${BINGRP} 124KMODMODE?= ${BINMODE} 125 126.if ${OBJFORMAT} == aout 127LIBDIR?= /usr/lib/aout 128.else 129LIBDIR?= /usr/lib 130.endif 131LIBCOMPATDIR?= /usr/lib/compat 132LIBDATADIR?= /usr/libdata 133LINTLIBDIR?= /usr/libdata/lint 134SHLIBDIR?= ${LIBDIR} 135LIBOWN?= ${BINOWN} 136LIBGRP?= ${BINGRP} 137LIBMODE?= ${NOBINMODE} 138 139 140# Share files 141SHAREDIR?= /usr/share 142SHAREOWN?= root 143SHAREGRP?= wheel 144SHAREMODE?= ${NOBINMODE} 145 146MANDIR?= ${SHAREDIR}/man/man 147MANOWN?= ${SHAREOWN} 148MANGRP?= ${SHAREGRP} 149MANMODE?= ${NOBINMODE} 150 151DOCDIR?= ${SHAREDIR}/doc 152DOCOWN?= ${SHAREOWN} 153DOCGRP?= ${SHAREGRP} 154DOCMODE?= ${NOBINMODE} 155 156INFODIR?= ${SHAREDIR}/info 157INFOOWN?= ${SHAREOWN} 158INFOGRP?= ${SHAREGRP} 159INFOMODE?= ${NOBINMODE} 160 161NLSDIR?= ${SHAREDIR}/nls 162NLSOWN?= ${SHAREOWN} 163NLSGRP?= ${SHAREGRP} 164NLSMODE?= ${NOBINMODE} 165 166INCLUDEDIR?= /usr/include 167 168# Common variables 169.if !defined(DEBUG_FLAGS) 170STRIP?= -s 171.endif 172 173COMPRESS_CMD?= gzip -cn 174COMPRESS_EXT?= .gz 175 176.endif !target(__<bsd.own.mk>__) 177