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.2 2003/06/17 04:37:02 dillon 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 # OBJFORMAT Default object format that selects which set of tools to run.
35 # BINOWN Binary owner. [root]
37 # BINGRP Binary group. [wheel]
39 # BINMODE Binary mode. [555]
41 # NOBINMODE Mode for non-executable files. [444]
43 # LIBDIR Base path for libraries. [/usr/lib]
45 # LIBCOMPATDIR Base path for compat libraries. [/usr/lib/compat]
47 # LIBDATADIR Base path for misc. utility data files. [/usr/libdata]
49 # LINTLIBDIR Base path for lint libraries. [/usr/libdata/lint]
51 # SHLIBDIR Base path for shared libraries. [${LIBDIR}]
53 # LIBOWN Library mode. [${BINOWN}]
55 # LIBGRP Library group. [${BINGRP}]
57 # LIBMODE Library mode. [${NOBINMODE}]
60 # KMODDIR Base path for loadable kernel modules
61 # (see kld(4)). [/modules]
63 # KMODOWN KLD owner. [${BINOWN}]
65 # KMODGRP KLD group. [${BINGRP}]
67 # KMODMODE KLD mode. [${BINMODE}]
70 # SHAREDIR Base path for architecture-independent ascii
71 # text files. [/usr/share]
73 # SHAREOWN ASCII text file owner. [root]
75 # SHAREGRP ASCII text file group. [wheel]
77 # SHAREMODE ASCII text file mode. [${NOBINMODE}]
80 # DOCDIR Base path for system documentation (e.g. PSD, USD,
81 # handbook, FAQ etc.). [${SHAREDIR}/doc]
83 # DOCOWN Documentation owner. [${SHAREOWN}]
85 # DOCGRP Documentation group. [${SHAREGRP}]
87 # DOCMODE Documentation mode. [${NOBINMODE}]
90 # INFODIR Base path for GNU's hypertext system
91 # called Info (see info(1)). [${SHAREDIR}/info]
93 # INFOOWN Info owner. [${SHAREOWN}]
95 # INFOGRP Info group. [${SHAREGRP}]
97 # INFOMODE Info mode. [${NOBINMODE}]
100 # MANDIR Base path for manual installation. [${SHAREDIR}/man/man]
102 # MANOWN Manual owner. [${SHAREOWN}]
104 # MANGRP Manual group. [${SHAREGRP}]
106 # MANMODE Manual mode. [${NOBINMODE}]
109 # NLSDIR Base path for National Language Support files
110 # installation (see mklocale(1)). [${SHAREDIR}/nls]
112 # NLSGRP National Language Support files group. [${SHAREOWN}]
114 # NLSOWN National Language Support files owner. [${SHAREGRP}]
116 # NLSMODE National Language Support files mode. [${NOBINMODE}]
118 # INCLUDEDIR Base path for standard C include files [/usr/include]
120 .if !target(__<bsd.own.mk>__)
132 KMODMODE?= ${BINMODE}
134 .if ${OBJFORMAT} == aout
135 LIBDIR?= /usr/lib/aout
139 LIBCOMPATDIR?= /usr/lib/compat
140 LIBDATADIR?= /usr/libdata
141 LINTLIBDIR?= /usr/libdata/lint
145 LIBMODE?= ${NOBINMODE}
149 SHAREDIR?= /usr/share
152 SHAREMODE?= ${NOBINMODE}
154 MANDIR?= ${SHAREDIR}/man/man
157 MANMODE?= ${NOBINMODE}
159 DOCDIR?= ${SHAREDIR}/doc
162 DOCMODE?= ${NOBINMODE}
164 INFODIR?= ${SHAREDIR}/info
165 INFOOWN?= ${SHAREOWN}
166 INFOGRP?= ${SHAREGRP}
167 INFOMODE?= ${NOBINMODE}
169 NLSDIR?= ${SHAREDIR}/nls
172 NLSMODE?= ${NOBINMODE}
174 INCLUDEDIR?= /usr/include
177 .if !defined(DEBUG_FLAGS)
182 COMPRESS_CMD?= gzip -cn
185 .endif !target(__<bsd.own.mk>__)