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