[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.32

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