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

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