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