[BACK]Return to bsd.own.mk CVS log [TXT][DIR] Up to [local] / src / share / mk

Annotation of src/share/mk/bsd.own.mk, Revision 1.31

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