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

1.48    ! miod        1: #      $OpenBSD: bsd.own.mk,v 1.47 2001/06/26 19:02:55 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.48    ! miod       12: .if (${MACHINE} == "sun3")
1.46      art        13: UVM?=          no
                     14: .else
1.26      art        15: UVM?=          yes
                     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.
1.47      hin        23: KERBEROS5?=    yes
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
1.33      marc       36: DEBUGLIBS?=    no
1.32      niklas     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:
1.38      deraadt    52: # Define MANPS to have PostScript manual pages generated
                     53: #MANPS=                1
                     54:
1.18      tholo      55: SHAREDIR?=     /usr/share
                     56: SHAREGRP?=     bin
                     57: SHAREOWN?=     root
                     58: SHAREMODE?=    ${NONBINMODE}
1.1       deraadt    59:
                     60: MANDIR?=       /usr/share/man/cat
                     61: MANGRP?=       bin
1.9       deraadt    62: MANOWN?=       root
1.1       deraadt    63: MANMODE?=      ${NONBINMODE}
1.38      deraadt    64:
                     65: PSDIR?=                /usr/share/man/ps
                     66: PSGRP?=                bin
                     67: PSOWN?=                root
                     68: PSMODE?=       ${NONBINMODE}
1.1       deraadt    69:
                     70: LIBDIR?=       /usr/lib
                     71: LINTLIBDIR?=   /usr/libdata/lint
                     72: LIBGRP?=       ${BINGRP}
                     73: LIBOWN?=       ${BINOWN}
                     74: LIBMODE?=      ${NONBINMODE}
                     75:
                     76: DOCDIR?=        /usr/share/doc
                     77: DOCGRP?=       bin
1.9       deraadt    78: DOCOWN?=       root
1.1       deraadt    79: DOCMODE?=       ${NONBINMODE}
1.5       tholo      80:
                     81: LKMDIR?=       /usr/lkm
                     82: LKMGRP?=       ${BINGRP}
                     83: LKMOWN?=       ${BINOWN}
                     84: LKMMODE?=      ${NONBINMODE}
1.1       deraadt    85:
                     86: NLSDIR?=       /usr/share/nls
                     87: NLSGRP?=       bin
1.9       deraadt    88: NLSOWN?=       root
1.1       deraadt    89: NLSMODE?=      ${NONBINMODE}
                     90:
1.17      millert    91: INSTALL_COPY?= -c
1.13      niklas     92: .ifndef DEBUG
1.17      millert    93: INSTALL_STRIP?=        -s
1.13      niklas     94: .endif
1.12      downsj     95:
                     96: # This may be changed for _single filesystem_ configurations (such as
                     97: # routers and other embedded systems); normal systems should leave it alone!
1.11      downsj     98: STATIC?=       -static
1.1       deraadt    99:
                    100: # Define SYS_INCLUDE to indicate whether you want symbolic links to the system
                    101: # source (``symlinks''), or a separate copy (``copies''); (latter useful
                    102: # in environments where it's not possible to keep /sys publicly readable)
                    103: #SYS_INCLUDE=  symlinks
                    104:
                    105: # don't try to generate PIC versions of libraries on machines
                    106: # which don't support PIC.
1.45      art       107: .if (${MACHINE_ARCH} == "vax") || \
1.34      rahnds    108:     (${MACHINE_ARCH} == "hppa") || (${MACHINE_ARCH} == "m88k")
1.1       deraadt   109: NOPIC=
1.14      rahnds    110: .endif
                    111:
                    112: # don't try to generate PROFILED versions of libraries on machines
                    113: # which don't support profiling.
1.21      rahnds    114: # to add this back use the following line
1.24      smurph    115: .if (${MACHINE_ARCH} == "m88k")
                    116: #.if 0
1.14      rahnds    117: NOPROFILE=
1.1       deraadt   118: .endif
                    119:
                    120: # No lint, for now.
                    121: NOLINT=
1.31      espie     122:
                    123: BSD_OWN_MK=Done
1.41      espie     124:
                    125: .PHONY: spell clean cleandir obj manpages print all \
                    126:        depend beforedepend afterdepend cleandepend \
                    127:        all lint cleanman nlsinstall cleannls includes \
                    128:        beforeinstall realinstall maninstall afterinstall install