Annotation of src/share/mk/bsd.own.mk, Revision 1.22
1.22 ! mickey 1: # $OpenBSD: bsd.own.mk,v 1.21 1998/07/05 04:38:58 rahnds Exp $
1.7 deraadt 2: # $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
3:
1.15 millert 4: # Host-specific overrides
1.7 deraadt 5: .if defined(MAKECONF) && exists(${MAKECONF})
6: .include "${MAKECONF}"
7: .elif exists(/etc/mk.conf)
8: .include "/etc/mk.conf"
9: .endif
1.1 deraadt 10:
1.15 millert 11: # Set `SKEY' to `yes' to build with support for S/key authentication.
12: SKEY?= yes
13: # Set `KERBEROS' to `yes' to build with support for Kerberos authentication.
14: KERBEROS?= yes
15: # Set `KERBEROS5' to `yes' to build with support for Kerberos5 authentication.
16: KERBEROS5?= no
1.19 downsj 17: # Set `YP' to `yes' to build with support for NIS/YP.
1.15 millert 18: YP?= yes
1.19 downsj 19: # Set `TCP_WRAPPERS' to `yes' to build certain networking daemons with
20: # integrated support for libwrap.
21: TCP_WRAPPERS?= yes
1.20 art 22: # Set `AFS` to `yes' to build certain utilities and libraries with AFS-support
23: AFS?= no
1.1 deraadt 24:
25: # where the system object and source trees are kept; can be configurable
26: # by the user in case they want them in ~/foosrc and ~/fooobj, for example
27: BSDSRCDIR?= /usr/src
28: BSDOBJDIR?= /usr/obj
29:
30: BINGRP?= bin
1.9 deraadt 31: BINOWN?= root
1.1 deraadt 32: BINMODE?= 555
33: NONBINMODE?= 444
34:
35: # Define MANZ to have the man pages compressed (gzip)
36: #MANZ= 1
1.18 tholo 37:
38: SHAREDIR?= /usr/share
39: SHAREGRP?= bin
40: SHAREOWN?= root
41: SHAREMODE?= ${NONBINMODE}
1.1 deraadt 42:
43: MANDIR?= /usr/share/man/cat
44: MANGRP?= bin
1.9 deraadt 45: MANOWN?= root
1.1 deraadt 46: MANMODE?= ${NONBINMODE}
47:
48: LIBDIR?= /usr/lib
49: LINTLIBDIR?= /usr/libdata/lint
50: LIBGRP?= ${BINGRP}
51: LIBOWN?= ${BINOWN}
52: LIBMODE?= ${NONBINMODE}
53:
54: DOCDIR?= /usr/share/doc
55: DOCGRP?= bin
1.9 deraadt 56: DOCOWN?= root
1.1 deraadt 57: DOCMODE?= ${NONBINMODE}
1.5 tholo 58:
59: LKMDIR?= /usr/lkm
60: LKMGRP?= ${BINGRP}
61: LKMOWN?= ${BINOWN}
62: LKMMODE?= ${NONBINMODE}
1.1 deraadt 63:
64: NLSDIR?= /usr/share/nls
65: NLSGRP?= bin
1.9 deraadt 66: NLSOWN?= root
1.1 deraadt 67: NLSMODE?= ${NONBINMODE}
68:
1.17 millert 69: INSTALL_COPY?= -c
1.13 niklas 70: .ifndef DEBUG
1.17 millert 71: INSTALL_STRIP?= -s
1.13 niklas 72: .endif
1.12 downsj 73:
74: # This may be changed for _single filesystem_ configurations (such as
75: # routers and other embedded systems); normal systems should leave it alone!
1.11 downsj 76: STATIC?= -static
1.1 deraadt 77:
78: # Define SYS_INCLUDE to indicate whether you want symbolic links to the system
79: # source (``symlinks''), or a separate copy (``copies''); (latter useful
80: # in environments where it's not possible to keep /sys publicly readable)
81: #SYS_INCLUDE= symlinks
82:
83: # don't try to generate PIC versions of libraries on machines
84: # which don't support PIC.
1.14 rahnds 85: .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "powerpc") || \
1.22 ! mickey 86: (${MACHINE_ARCH} == "vax") || (${MACHINE_ARCH} == "hppa")
1.1 deraadt 87: NOPIC=
1.14 rahnds 88: .endif
89:
90: # don't try to generate PROFILED versions of libraries on machines
91: # which don't support profiling.
1.21 rahnds 92: # to add this back use the following line
93: #.if (${MACHINE_ARCH} == "UNSUPPORTED_ARCH")
94: .if 0
1.14 rahnds 95: NOPROFILE=
1.1 deraadt 96: .endif
97:
98: # No lint, for now.
99: NOLINT=