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