1 # $FreeBSD: src/share/mk/bsd.own.mk,v 1.27.2.4 2002/07/22 14:21:51 ru Exp $
3 # The include file <bsd.own.mk> set common variables for owner,
4 # group, mode, and directories. Defaults are in brackets.
9 # DESTDIR Change the tree where the file gets installed. [not set]
11 # DISTDIR Change the tree where the file for a distribution
12 # gets installed (see /usr/src/release/Makefile). [not set]
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
21 # COMPRESS_CMD Program to compress documents.
22 # Output is to stdout. [gzip -cn]
24 # COMPRESS_EXT File name extension of ${COMPRESS_CMD} command. [.gz]
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]
31 # OBJFORMAT Default object format that selects which set of tools to run.
34 # BINOWN Binary owner. [root]
36 # BINGRP Binary group. [wheel]
38 # BINMODE Binary mode. [555]
40 # NOBINMODE Mode for non-executable files. [444]
42 # LIBDIR Base path for libraries. [/usr/lib]
44 # LIBCOMPATDIR Base path for compat libraries. [/usr/lib/compat]
46 # LIBDATADIR Base path for misc. utility data files. [/usr/libdata]
48 # LINTLIBDIR Base path for lint libraries. [/usr/libdata/lint]
50 # SHLIBDIR Base path for shared libraries. [${LIBDIR}]
52 # LIBOWN Library mode. [${BINOWN}]
54 # LIBGRP Library group. [${BINGRP}]
56 # LIBMODE Library mode. [${NOBINMODE}]
59 # KMODDIR Base path for loadable kernel modules
60 # (see kld(4)). [/modules]
62 # KMODOWN KLD owner. [${BINOWN}]
64 # KMODGRP KLD group. [${BINGRP}]
66 # KMODMODE KLD mode. [${BINMODE}]
69 # SHAREDIR Base path for architecture-independent ascii
70 # text files. [/usr/share]
72 # SHAREOWN ASCII text file owner. [root]
74 # SHAREGRP ASCII text file group. [wheel]
76 # SHAREMODE ASCII text file mode. [${NOBINMODE}]
79 # DOCDIR Base path for system documentation (e.g. PSD, USD,
80 # handbook, FAQ etc.). [${SHAREDIR}/doc]
82 # DOCOWN Documentation owner. [${SHAREOWN}]
84 # DOCGRP Documentation group. [${SHAREGRP}]
86 # DOCMODE Documentation mode. [${NOBINMODE}]
89 # INFODIR Base path for GNU's hypertext system
90 # called Info (see info(1)). [${SHAREDIR}/info]
92 # INFOOWN Info owner. [${SHAREOWN}]
94 # INFOGRP Info group. [${SHAREGRP}]
96 # INFOMODE Info mode. [${NOBINMODE}]
99 # MANDIR Base path for manual installation. [${SHAREDIR}/man/man]
101 # MANOWN Manual owner. [${SHAREOWN}]
103 # MANGRP Manual group. [${SHAREGRP}]
105 # MANMODE Manual mode. [${NOBINMODE}]
108 # NLSDIR Base path for National Language Support files
109 # installation (see mklocale(1)). [${SHAREDIR}/nls]
111 # NLSGRP National Language Support files group. [${SHAREOWN}]
113 # NLSOWN National Language Support files owner. [${SHAREGRP}]
115 # NLSMODE National Language Support files mode. [${NOBINMODE}]
117 # INCLUDEDIR Base path for standard C include files [/usr/include]
119 .if !target(__<bsd.own.mk>__)
131 KMODMODE?= ${BINMODE}
133 .if ${OBJFORMAT} == aout
134 LIBDIR?= /usr/lib/aout
138 LIBCOMPATDIR?= /usr/lib/compat
139 LIBDATADIR?= /usr/libdata
140 LINTLIBDIR?= /usr/libdata/lint
144 LIBMODE?= ${NOBINMODE}
148 SHAREDIR?= /usr/share
151 SHAREMODE?= ${NOBINMODE}
153 MANDIR?= ${SHAREDIR}/man/man
156 MANMODE?= ${NOBINMODE}
158 DOCDIR?= ${SHAREDIR}/doc
161 DOCMODE?= ${NOBINMODE}
163 INFODIR?= ${SHAREDIR}/info
164 INFOOWN?= ${SHAREOWN}
165 INFOGRP?= ${SHAREGRP}
166 INFOMODE?= ${NOBINMODE}
168 NLSDIR?= ${SHAREDIR}/nls
171 NLSMODE?= ${NOBINMODE}
173 INCLUDEDIR?= /usr/include
176 .if !defined(DEBUG_FLAGS)
181 COMPRESS_CMD?= gzip -cn
184 .endif !target(__<bsd.own.mk>__)