Annotation of src/share/mk/bsd.own.mk, Revision 1.19
1.19 ! downsj 1: # $OpenBSD: bsd.own.mk,v 1.18 1997/04/29 22:04:20 tholo 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.1 deraadt 22:
23: # where the system object and source trees are kept; can be configurable
24: # by the user in case they want them in ~/foosrc and ~/fooobj, for example
25: BSDSRCDIR?= /usr/src
26: BSDOBJDIR?= /usr/obj
27:
28: BINGRP?= bin
1.9 deraadt 29: BINOWN?= root
1.1 deraadt 30: BINMODE?= 555
31: NONBINMODE?= 444
32:
33: # Define MANZ to have the man pages compressed (gzip)
34: #MANZ= 1
1.18 tholo 35:
36: SHAREDIR?= /usr/share
37: SHAREGRP?= bin
38: SHAREOWN?= root
39: SHAREMODE?= ${NONBINMODE}
1.1 deraadt 40:
41: MANDIR?= /usr/share/man/cat
42: MANGRP?= bin
1.9 deraadt 43: MANOWN?= root
1.1 deraadt 44: MANMODE?= ${NONBINMODE}
45:
46: LIBDIR?= /usr/lib
47: LINTLIBDIR?= /usr/libdata/lint
48: LIBGRP?= ${BINGRP}
49: LIBOWN?= ${BINOWN}
50: LIBMODE?= ${NONBINMODE}
51:
52: DOCDIR?= /usr/share/doc
53: DOCGRP?= bin
1.9 deraadt 54: DOCOWN?= root
1.1 deraadt 55: DOCMODE?= ${NONBINMODE}
1.5 tholo 56:
57: LKMDIR?= /usr/lkm
58: LKMGRP?= ${BINGRP}
59: LKMOWN?= ${BINOWN}
60: LKMMODE?= ${NONBINMODE}
1.1 deraadt 61:
62: NLSDIR?= /usr/share/nls
63: NLSGRP?= bin
1.9 deraadt 64: NLSOWN?= root
1.1 deraadt 65: NLSMODE?= ${NONBINMODE}
66:
1.17 millert 67: INSTALL_COPY?= -c
1.13 niklas 68: .ifndef DEBUG
1.17 millert 69: INSTALL_STRIP?= -s
1.13 niklas 70: .endif
1.12 downsj 71:
72: # This may be changed for _single filesystem_ configurations (such as
73: # routers and other embedded systems); normal systems should leave it alone!
1.11 downsj 74: STATIC?= -static
1.1 deraadt 75:
76: # Define SYS_INCLUDE to indicate whether you want symbolic links to the system
77: # source (``symlinks''), or a separate copy (``copies''); (latter useful
78: # in environments where it's not possible to keep /sys publicly readable)
79: #SYS_INCLUDE= symlinks
80:
81: # don't try to generate PIC versions of libraries on machines
82: # which don't support PIC.
1.14 rahnds 83: .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "powerpc") || \
1.1 deraadt 84: (${MACHINE_ARCH} == "vax")
85: NOPIC=
1.14 rahnds 86: .endif
87:
88: # don't try to generate PROFILED versions of libraries on machines
89: # which don't support profiling.
90: .if (${MACHINE_ARCH} == "powerpc")
91: NOPROFILE=
1.1 deraadt 92: .endif
93:
94: # No lint, for now.
95: NOLINT=