bsd.own.mk revision 16663
1#	$Id: bsd.own.mk,v 1.6 1996/05/25 23:09:49 wosch Exp $
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# STRIP		The flag passed to the install program to cause the binary
22#		to be stripped.  This is to be used when building your
23#		own install script so that the entire system can be made
24#		stripped/not-stripped using a single knob. [-s]
25#
26#
27#
28# BINOWN	Binary owner. [bin]
29#
30# BINGRP	Binary group. [bin]
31#
32# BINMODE	Binary mode. [555]
33#
34# NOBINMODE	Mode for non-executable files. [444]
35#
36#
37# LIBDIR	Base path for libraries. [/usr/lib]
38#
39# LINTLIBDIR	Base path for lint libraries. [/usr/libdata/lint]
40#
41# SHLIBDIR	Base path for shared libraries. [${LIBDIR}]
42#
43# LIBOWN	Library mode. [${BINOWN}]
44#
45# LIBGRP	Library group. [${BINGRP}]
46#
47# LIBMODE	Library mode. [${NOBINMODE}]
48#
49#
50# KMODDIR	Base path for loadable kernel modules
51#		(see lkm(4)). [/lkm]
52#
53# KMODOWN	LKM owner. [${BINOWN}]
54#
55# KMODGRP	LKM group. [${BINGRP}]
56#
57# KMODMODE	LKM mode. [${BINMODE}]
58#
59#
60# SHAREDIR	Base path for architecture-independent ascii
61#		text files. [/usr/share]
62#
63# SHAREOWN	ASCII text file owner. [bin]
64#
65# SHAREGRP	ASCII text file group. [bin]
66#
67# SHAREMODE	ASCII text file mode. [${NOBINMODE}]
68#
69#
70# DOCDIR	Base path for system documentation (e.g. PSD, USD,
71#		handbook, FAQ etc.). [${SHAREDIR}/doc]
72#
73# DOCOWN	Documentation owner. [${SHAREOWN}]
74#
75# DOCGRP	Documentation group. [${SHAREGRP}]
76#
77# DOCMODE	Documentation mode. [${NOBINMODE}]
78#
79#
80# INFODIR	Base path for GNU's hypertext system
81#		called Info (see info(1)). [${SHAREDIR}/info]
82#
83# INFOOWN	Info owner. [${SHAREOWN}]
84#
85# INFOGRP	Info group. [${SHAREGRP}]
86#
87# INFOMODE	Info mode. [${NOBINMODE}]
88#
89#
90# MANDIR	Base path for manual installation. [${SHAREDIR}/man/man]
91#
92# MANOWN	Manual owner. [${SHAREOWN}]
93#
94# MANGRP	Manual group. [${SHAREGRP}]
95#
96# MANMODE	Manual mode. [${NOBINMODE}]
97#
98#
99# NLSDIR	Base path for National Language Support files
100#		installation (see mklocale(1)). [${SHAREDIR}/nls]
101#
102# NLSGRP	National Language Support files group. [${SHAREOWN}]
103#
104# NLSOWN	National Language Support files owner. [${SHAREGRP}]
105#
106# NLSMODE	National Language Support files mode. [${NONBINMODE}]
107#
108
109
110# Binaries
111BINOWN?=	bin
112BINGRP?=	bin
113BINMODE?=	555
114NOBINMODE?=	444
115
116LIBDIR?=	/usr/lib
117LINTLIBDIR?=	/usr/libdata/lint
118SHLIBDIR?=	${LIBDIR}
119LIBOWN?=	${BINOWN}
120LIBGRP?=	${BINGRP}
121LIBMODE?=	${NOBINMODE}
122
123KMODDIR?=	/lkm
124KMODOWN?=	${BINOWN}
125KMODGRP?=	${BINGRP}
126KMODMODE?=	${BINMODE}
127
128
129# Share files
130SHAREDIR?=	/usr/share
131SHAREOWN?=	bin
132SHAREGRP?=	bin
133SHAREMODE?=	${NOBINMODE}
134
135MANDIR?=	${SHAREDIR}/man/man
136MANOWN?=	${SHAREOWN}
137MANGRP?=	${SHAREGRP}
138MANMODE?=	${NOBINMODE}
139
140DOCDIR?=	${SHAREDIR}/doc
141DOCOWN?=	${SHAREOWN}
142DOCGRP?=	${SHAREGRP}
143DOCMODE?=	${NOBINMODE}
144
145INFODIR?=	${SHAREDIR}/info
146INFOOWN?=	${SHAREOWN}
147INFOGRP?=	${SHAREGRP}
148INFOMODE?=	${NOBINMODE}
149
150NLSDIR?=	${SHAREDIR}/nls
151NLSGRP?=	${SHAREOWN}
152NLSOWN?=	${SHAREGRP}
153NLSMODE?=	${NONBINMODE}
154
155# Common variables
156.if !defined(DEBUG_FLAGS)
157STRIP?=		-s
158.endif
159
160COPY?=		-c
161