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.3 2004/01/16 07:45:19 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 # GCCVER Default gcc version
42 # GCCLIBDIR Default gcc subdirectory [${LIBDIR}/gcc${GCCVER}]
43 # GCCSHLIBDIR Default gcc subdirectory [${SHLIBDIR}/gcc${GCCVER}]
45 # NOBINMODE Mode for non-executable files. [444]
47 # LIBDIR Base path for libraries. [/usr/lib]
49 # LIBCOMPATDIR Base path for compat libraries. [/usr/lib/compat]
51 # LIBDATADIR Base path for misc. utility data files. [/usr/libdata]
53 # LINTLIBDIR Base path for lint libraries. [/usr/libdata/lint]
55 # SHLIBDIR Base path for shared libraries. [${LIBDIR}]
57 # LIBOWN Library mode. [${BINOWN}]
59 # LIBGRP Library group. [${BINGRP}]
61 # LIBMODE Library mode. [${NOBINMODE}]
64 # KMODDIR Base path for loadable kernel modules
65 # (see kld(4)). [/modules]
67 # KMODOWN KLD owner. [${BINOWN}]
69 # KMODGRP KLD group. [${BINGRP}]
71 # KMODMODE KLD mode. [${BINMODE}]
74 # SHAREDIR Base path for architecture-independent ascii
75 # text files. [/usr/share]
77 # SHAREOWN ASCII text file owner. [root]
79 # SHAREGRP ASCII text file group. [wheel]
81 # SHAREMODE ASCII text file mode. [${NOBINMODE}]
84 # DOCDIR Base path for system documentation (e.g. PSD, USD,
85 # handbook, FAQ etc.). [${SHAREDIR}/doc]
87 # DOCOWN Documentation owner. [${SHAREOWN}]
89 # DOCGRP Documentation group. [${SHAREGRP}]
91 # DOCMODE Documentation mode. [${NOBINMODE}]
94 # INFODIR Base path for GNU's hypertext system
95 # called Info (see info(1)). [${SHAREDIR}/info]
97 # INFOOWN Info owner. [${SHAREOWN}]
99 # INFOGRP Info group. [${SHAREGRP}]
101 # INFOMODE Info mode. [${NOBINMODE}]
104 # MANDIR Base path for manual installation. [${SHAREDIR}/man/man]
106 # MANOWN Manual owner. [${SHAREOWN}]
108 # MANGRP Manual group. [${SHAREGRP}]
110 # MANMODE Manual mode. [${NOBINMODE}]
113 # NLSDIR Base path for National Language Support files
114 # installation (see mklocale(1)). [${SHAREDIR}/nls]
116 # NLSGRP National Language Support files group. [${SHAREOWN}]
118 # NLSOWN National Language Support files owner. [${SHAREGRP}]
120 # NLSMODE National Language Support files mode. [${NOBINMODE}]
122 # INCLUDEDIR Base path for standard C include files [/usr/include]
124 .if !target(__<bsd.own.mk>__)
136 KMODMODE?= ${BINMODE}
139 .if ${OBJFORMAT} == aout
140 LIBDIR?= /usr/lib/aout
144 GCCLIBDIR?= ${LIBDIR}/gcc${GCCVER}
145 LIBCOMPATDIR?= /usr/lib/compat
146 LIBDATADIR?= /usr/libdata
147 LINTLIBDIR?= /usr/libdata/lint
149 GCCSHLIBDIR?= ${SHLIBDIR}/gcc${GCCVER}
152 LIBMODE?= ${NOBINMODE}
156 SHAREDIR?= /usr/share
159 SHAREMODE?= ${NOBINMODE}
161 MANDIR?= ${SHAREDIR}/man/man
164 MANMODE?= ${NOBINMODE}
166 DOCDIR?= ${SHAREDIR}/doc
169 DOCMODE?= ${NOBINMODE}
171 INFODIR?= ${SHAREDIR}/info
172 INFOOWN?= ${SHAREOWN}
173 INFOGRP?= ${SHAREGRP}
174 INFOMODE?= ${NOBINMODE}
176 NLSDIR?= ${SHAREDIR}/nls
179 NLSMODE?= ${NOBINMODE}
181 INCLUDEDIR?= /usr/include
184 .if !defined(DEBUG_FLAGS)
189 COMPRESS_CMD?= gzip -cn
192 .endif !target(__<bsd.own.mk>__)