bsd.own.mk revision 15903
1#	$Id: bsd.own.mk,v 1.5 1996/03/31 23:15:17 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# where the system object and source trees are kept; can be configurable
10# by the user in case they want them in ~/foosrc and ~/fooobj, for example
11# where the system object and source trees are kept; can be configurable
12# by the user in case they want them in ~/foosrc and ~/fooobj, for example
13# BSDOBJDIR	The real path to the system 'obj' tree, so that 'make obj'
14#		will work correctly. [/usr/obj]
15#
16# BSDSRCDIR	The real path to the system sources, so that 'make obj'
17#		will work correctly. [/usr/src]
18#
19# DESTDIR	Change the tree where the file gets installed. [not set]
20#
21# DISTDIR	Change the tree where the file for a distribution
22# 		gets installed (see /usr/src/release/Makefile). [not set]
23#
24#
25# COPY		The flag passed to the install program to cause the binary
26#		to be copied rather than moved.  This is to be used when
27#		building our own install script so that the entire system
28#		can either be installed with copies, or with moves using
29#		a single knob. [-c]
30#
31# STRIP		The flag passed to the install program to cause the binary
32#		to be stripped.  This is to be used when building your
33#		own install script so that the entire system can be made
34#		stripped/not-stripped using a single knob. [-s]
35#
36#
37#
38# BINOWN	Binary owner. [bin]
39#
40# BINGRP	Binary group. [bin]
41#
42# BINMODE	Binary mode. [555]
43#
44# NOBINMODE	Mode for non-executable files. [444]
45#
46#
47# LIBDIR	Base path for libraries. [/usr/lib]
48#
49# LINTLIBDIR	Base path for lint libraries. [/usr/libdata/lint]
50#
51# SHLIBDIR	Base path for shared libraries. [${LIBDIR}]
52#
53# LIBOWN	Library mode. [${BINOWN}]
54#
55# LIBGRP	Library group. [${BINGRP}]
56#
57# LIBMODE	Library mode. [${NOBINMODE}]
58#
59#
60# KMODDIR	Base path for loadable kernel modules
61#		(see lkm(4)). [/lkm]
62#
63# KMODOWN	LKM owner. [${BINOWN}]
64#
65# KMODGRP	LKM group. [${BINGRP}]
66#
67# KMODMODE	LKM mode. [${BINMODE}]
68#
69#
70# SHAREDIR	Base path for architecture-independent ascii
71#		text files. [/usr/share]
72#
73# SHAREOWN	ASCII text file owner. [bin]
74#
75# SHAREGRP	ASCII text file group. [bin]
76#
77# SHAREMODE	ASCII text file mode. [${NOBINMODE}]
78#
79#
80# DOCDIR	Base path for system documentation (e.g. PSD, USD,
81#		handbook, FAQ etc.). [${SHAREDIR}/doc]
82#
83# DOCOWN	Documentation owner. [${SHAREOWN}]
84#
85# DOCGRP	Documentation group. [${SHAREGRP}]
86#
87# DOCMODE	Documentation mode. [${NOBINMODE}]
88#
89#
90# INFODIR	Base path for GNU's hypertext system
91#		called Info (see info(1)). [${SHAREDIR}/info]
92#
93# INFOOWN	Info owner. [${SHAREOWN}]
94#
95# INFOGRP	Info group. [${SHAREGRP}]
96#
97# INFOMODE	Info mode. [${NOBINMODE}]
98#
99#
100# MANDIR	Base path for manual installation. [${SHAREDIR}/man/man]
101#
102# MANOWN	Manual owner. [${SHAREOWN}]
103#
104# MANGRP	Manual group. [${SHAREGRP}]
105#
106# MANMODE	Manual mode. [${NOBINMODE}]
107#
108#
109# NLSDIR	Base path for National Language Support files
110#		installation (see mklocale(1)). [${SHAREDIR}/nls]
111#
112# NLSGRP	National Language Support files group. [${SHAREOWN}]
113#
114# NLSOWN	National Language Support files owner. [${SHAREGRP}]
115#
116# NLSMODE	National Language Support files mode. [${NONBINMODE}]
117#
118
119
120BSDSRCDIR?=	/usr/src
121BSDOBJDIR?=	/usr/obj
122
123
124# Binaries
125BINOWN?=	bin
126BINGRP?=	bin
127BINMODE?=	555
128NOBINMODE?=	444
129
130LIBDIR?=	/usr/lib
131LINTLIBDIR?=	/usr/libdata/lint
132SHLIBDIR?=	${LIBDIR}
133LIBOWN?=	${BINOWN}
134LIBGRP?=	${BINGRP}
135LIBMODE?=	${NOBINMODE}
136
137KMODDIR?=	/lkm
138KMODOWN?=	${BINOWN}
139KMODGRP?=	${BINGRP}
140KMODMODE?=	${BINMODE}
141
142
143# Share files
144SHAREDIR?=	/usr/share
145SHAREOWN?=	bin
146SHAREGRP?=	bin
147SHAREMODE?=	${NOBINMODE}
148
149MANDIR?=	${SHAREDIR}/man/man
150MANOWN?=	${SHAREOWN}
151MANGRP?=	${SHAREGRP}
152MANMODE?=	${NOBINMODE}
153
154DOCDIR?=	${SHAREDIR}/doc
155DOCOWN?=	${SHAREOWN}
156DOCGRP?=	${SHAREGRP}
157DOCMODE?=	${NOBINMODE}
158
159INFODIR?=	${SHAREDIR}/info
160INFOOWN?=	${SHAREOWN}
161INFOGRP?=	${SHAREGRP}
162INFOMODE?=	${NOBINMODE}
163
164NLSDIR?=	${SHAREDIR}/nls
165NLSGRP?=	${SHAREOWN}
166NLSOWN?=	${SHAREGRP}
167NLSMODE?=	${NONBINMODE}
168
169# Common variables
170.if !defined(DEBUG_FLAGS)
171STRIP?=		-s
172.endif
173
174COPY?=		-c
175