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

1.26    ! art         1: #      $OpenBSD: bsd.own.mk,v 1.25 1999/06/22 12:54:05 art 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.26    ! art        12: .if (${MACHINE_ARCH} == "sparc")
        !            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.
                     21: KERBEROS?=     yes
                     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
                     44:
                     45: # Define MANZ to have the man pages compressed (gzip)
                     46: #MANZ=         1
1.18      tholo      47:
                     48: SHAREDIR?=     /usr/share
                     49: SHAREGRP?=     bin
                     50: SHAREOWN?=     root
                     51: SHAREMODE?=    ${NONBINMODE}
1.1       deraadt    52:
                     53: MANDIR?=       /usr/share/man/cat
                     54: MANGRP?=       bin
1.9       deraadt    55: MANOWN?=       root
1.1       deraadt    56: MANMODE?=      ${NONBINMODE}
                     57:
                     58: LIBDIR?=       /usr/lib
                     59: LINTLIBDIR?=   /usr/libdata/lint
                     60: LIBGRP?=       ${BINGRP}
                     61: LIBOWN?=       ${BINOWN}
                     62: LIBMODE?=      ${NONBINMODE}
                     63:
                     64: DOCDIR?=        /usr/share/doc
                     65: DOCGRP?=       bin
1.9       deraadt    66: DOCOWN?=       root
1.1       deraadt    67: DOCMODE?=       ${NONBINMODE}
1.5       tholo      68:
                     69: LKMDIR?=       /usr/lkm
                     70: LKMGRP?=       ${BINGRP}
                     71: LKMOWN?=       ${BINOWN}
                     72: LKMMODE?=      ${NONBINMODE}
1.1       deraadt    73:
                     74: NLSDIR?=       /usr/share/nls
                     75: NLSGRP?=       bin
1.9       deraadt    76: NLSOWN?=       root
1.1       deraadt    77: NLSMODE?=      ${NONBINMODE}
                     78:
1.17      millert    79: INSTALL_COPY?= -c
1.13      niklas     80: .ifndef DEBUG
1.17      millert    81: INSTALL_STRIP?=        -s
1.13      niklas     82: .endif
1.12      downsj     83:
                     84: # This may be changed for _single filesystem_ configurations (such as
                     85: # routers and other embedded systems); normal systems should leave it alone!
1.11      downsj     86: STATIC?=       -static
1.1       deraadt    87:
                     88: # Define SYS_INCLUDE to indicate whether you want symbolic links to the system
                     89: # source (``symlinks''), or a separate copy (``copies''); (latter useful
                     90: # in environments where it's not possible to keep /sys publicly readable)
                     91: #SYS_INCLUDE=  symlinks
                     92:
                     93: # don't try to generate PIC versions of libraries on machines
                     94: # which don't support PIC.
1.14      rahnds     95: .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "powerpc") || \
1.24      smurph     96:     (${MACHINE_ARCH} == "vax") || (${MACHINE_ARCH} == "hppa") || \
                     97:     (${MACHINE_ARCH} == "m88k")
1.1       deraadt    98: NOPIC=
1.14      rahnds     99: .endif
                    100:
                    101: # don't try to generate PROFILED versions of libraries on machines
                    102: # which don't support profiling.
1.21      rahnds    103: # to add this back use the following line
1.24      smurph    104: .if (${MACHINE_ARCH} == "m88k")
                    105: #.if 0
1.14      rahnds    106: NOPROFILE=
1.1       deraadt   107: .endif
                    108:
                    109: # No lint, for now.
                    110: NOLINT=