1 # $FreeBSD: src/share/mk/bsd.own.mk,v 1.27.2.4 2002/07/22 14:21:51 ru Exp $
2 # $DragonFly: src/share/mk/bsd.own.mk,v 1.8 2004/03/20 16:27:41 drhodus Exp $
4 # The include file <bsd.own.mk> set common variables for owner,
5 # group, mode, and directories. Defaults are in brackets.
10 # DESTDIR Change the tree where the file gets installed. [not set]
12 # DISTDIR Change the tree where the file for a distribution
13 # gets installed (see /usr/src/release/Makefile). [not set]
16 # COPY The flag passed to the install program to cause the binary
17 # to be copied rather than moved. This is to be used when
18 # building our own install script so that the entire system
19 # can either be installed with copies, or with moves using
22 # COMPRESS_CMD Program to compress documents.
23 # Output is to stdout. [gzip -cn]
25 # COMPRESS_EXT File name extension of ${COMPRESS_CMD} command. [.gz]
27 # STRIP The flag passed to the install program to cause the binary
28 # to be stripped. This is to be used when building your
29 # own install script so that the entire system can be made
30 # stripped/not-stripped using a single knob. [-s]
32 # BINOWN Binary owner. [root]
34 # BINGRP Binary group. [wheel]
36 # BINMODE Binary mode. [555]
38 # CCVER Default compiler version
39 # GCCLIBDIR Default gcc subdirectory [${LIBDIR}/${CCVER}]
40 # GCCSHLIBDIR Default gcc subdirectory [${SHLIBDIR}/${CCVER}]
42 # NOBINMODE Mode for non-executable files. [444]
44 # LIBDIR Base path for libraries. [/usr/lib]
46 # LIBCOMPATDIR Base path for compat libraries. [/usr/lib/compat]
48 # LIBDATADIR Base path for misc. utility data files. [/usr/libdata]
50 # LINTLIBDIR Base path for lint libraries. [/usr/libdata/lint]
52 # SHLIBDIR Base path for shared libraries. [${LIBDIR}]
54 # LIBOWN Library mode. [${BINOWN}]
56 # LIBGRP Library group. [${BINGRP}]
58 # LIBMODE Library mode. [${NOBINMODE}]
61 # KMODDIR Base path for loadable kernel modules
62 # (see kld(4)). [/modules]
64 # KMODOWN KLD owner. [${BINOWN}]
66 # KMODGRP KLD group. [${BINGRP}]
68 # KMODMODE KLD mode. [${BINMODE}]
71 # SHAREDIR Base path for architecture-independent ascii
72 # text files. [/usr/share]
74 # SHAREOWN ASCII text file owner. [root]
76 # SHAREGRP ASCII text file group. [wheel]
78 # SHAREMODE ASCII text file mode. [${NOBINMODE}]
81 # DOCDIR Base path for system documentation (e.g. PSD, USD,
82 # handbook, FAQ etc.). [${SHAREDIR}/doc]
84 # DOCOWN Documentation owner. [${SHAREOWN}]
86 # DOCGRP Documentation group. [${SHAREGRP}]
88 # DOCMODE Documentation mode. [${NOBINMODE}]
91 # INFODIR Base path for GNU's hypertext system
92 # called Info (see info(1)). [${SHAREDIR}/info]
94 # INFOOWN Info owner. [${SHAREOWN}]
96 # INFOGRP Info group. [${SHAREGRP}]
98 # INFOMODE Info mode. [${NOBINMODE}]
101 # MANDIR Base path for manual installation. [${SHAREDIR}/man/man]
103 # MANOWN Manual owner. [${SHAREOWN}]
105 # MANGRP Manual group. [${SHAREGRP}]
107 # MANMODE Manual mode. [${NOBINMODE}]
110 # NLSDIR Base path for National Language Support files
111 # installation (see mklocale(1)). [${SHAREDIR}/nls]
113 # NLSGRP National Language Support files group. [${SHAREOWN}]
115 # NLSOWN National Language Support files owner. [${SHAREGRP}]
117 # NLSMODE National Language Support files mode. [${NOBINMODE}]
119 # INCLUDEDIR Base path for standard C include files [/usr/include]
121 .if !target(__<bsd.own.mk>__)
133 KMODMODE?= ${BINMODE}
136 GCCLIBDIR?= ${LIBDIR}/${CCVER}
137 LIBCOMPATDIR?= /usr/lib/compat
138 LIBDATADIR?= /usr/libdata
139 LINTLIBDIR?= /usr/libdata/lint
141 GCCSHLIBDIR?= ${SHLIBDIR}/${CCVER}
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>__)