1997-11-04 01:53:25 +03:00
|
|
|
# $NetBSD: bsd.own.mk,v 1.57 1997/11/03 22:53:25 cgd Exp $
|
1996-04-13 06:08:08 +04:00
|
|
|
|
|
|
|
.if defined(MAKECONF) && exists(${MAKECONF})
|
|
|
|
.include "${MAKECONF}"
|
|
|
|
.elif exists(/etc/mk.conf)
|
|
|
|
.include "/etc/mk.conf"
|
|
|
|
.endif
|
1994-09-28 18:59:28 +03:00
|
|
|
|
|
|
|
# Defining `SKEY' causes support for S/key authentication to be compiled in.
|
|
|
|
SKEY= yes
|
|
|
|
# Defining `KERBEROS' causes support for Kerberos authentication to be
|
|
|
|
# compiled in.
|
|
|
|
#KERBEROS= yes
|
1995-06-02 06:52:04 +04:00
|
|
|
# Defining 'KERBEROS5' causes support for Kerberos5 authentication to be
|
|
|
|
# compiled in.
|
|
|
|
#KERBEROS5= yes
|
1993-11-07 12:45:04 +03:00
|
|
|
|
|
|
|
# where the system object and source trees are kept; can be configurable
|
|
|
|
# by the user in case they want them in ~/foosrc and ~/fooobj, for example
|
|
|
|
BSDSRCDIR?= /usr/src
|
|
|
|
BSDOBJDIR?= /usr/obj
|
1993-04-10 00:05:56 +04:00
|
|
|
|
|
|
|
BINGRP?= bin
|
|
|
|
BINOWN?= bin
|
|
|
|
BINMODE?= 555
|
1993-08-16 00:42:39 +04:00
|
|
|
NONBINMODE?= 444
|
1993-04-10 00:05:56 +04:00
|
|
|
|
1995-06-02 06:52:04 +04:00
|
|
|
# Define MANZ to have the man pages compressed (gzip)
|
|
|
|
#MANZ= 1
|
|
|
|
|
1997-03-25 00:54:12 +03:00
|
|
|
MANDIR?= /usr/share/man
|
1994-01-20 00:26:11 +03:00
|
|
|
MANGRP?= bin
|
|
|
|
MANOWN?= bin
|
1993-08-16 00:42:39 +04:00
|
|
|
MANMODE?= ${NONBINMODE}
|
1997-10-03 23:20:56 +04:00
|
|
|
MANINSTALL?= maninstall catinstall
|
1993-04-10 00:05:56 +04:00
|
|
|
|
1993-08-16 00:42:39 +04:00
|
|
|
LIBDIR?= /usr/lib
|
|
|
|
LINTLIBDIR?= /usr/libdata/lint
|
|
|
|
LIBGRP?= ${BINGRP}
|
|
|
|
LIBOWN?= ${BINOWN}
|
|
|
|
LIBMODE?= ${NONBINMODE}
|
1993-04-10 00:05:56 +04:00
|
|
|
|
1993-08-16 00:42:39 +04:00
|
|
|
DOCDIR?= /usr/share/doc
|
1994-01-20 00:26:11 +03:00
|
|
|
DOCGRP?= bin
|
|
|
|
DOCOWN?= bin
|
1993-08-16 00:42:39 +04:00
|
|
|
DOCMODE?= ${NONBINMODE}
|
|
|
|
|
1995-02-21 00:26:33 +03:00
|
|
|
NLSDIR?= /usr/share/nls
|
|
|
|
NLSGRP?= bin
|
|
|
|
NLSOWN?= bin
|
|
|
|
NLSMODE?= ${NONBINMODE}
|
|
|
|
|
1996-08-28 02:15:52 +04:00
|
|
|
KMODDIR?= /usr/lkm
|
|
|
|
KMODGRP?= bin
|
|
|
|
KMODOWN?= bin
|
|
|
|
KMODMODE?= ${NONBINMODE}
|
|
|
|
|
1993-08-16 00:42:39 +04:00
|
|
|
COPY?= -c
|
1997-04-17 10:34:15 +04:00
|
|
|
STRIPFLAG?= -s
|
1993-07-10 07:56:10 +04:00
|
|
|
|
|
|
|
# Define SYS_INCLUDE to indicate whether you want symbolic links to the system
|
|
|
|
# source (``symlinks''), or a separate copy (``copies''); (latter useful
|
|
|
|
# in environments where it's not possible to keep /sys publicly readable)
|
|
|
|
#SYS_INCLUDE= symlinks
|
1993-10-04 22:52:53 +03:00
|
|
|
|
|
|
|
# don't try to generate PIC versions of libraries on machines
|
|
|
|
# which don't support PIC.
|
1997-02-11 00:08:58 +03:00
|
|
|
.if (${MACHINE_ARCH} == "vax") || \
|
1997-02-18 21:38:39 +03:00
|
|
|
((${MACHINE_ARCH} == "mips") && defined(STATIC_TOOLCHAIN)) || \
|
1997-03-30 00:17:22 +03:00
|
|
|
((${MACHINE_ARCH} == "alpha") && defined(ECOFF_TOOLCHAIN)) || \
|
|
|
|
(${MACHINE_ARCH} == "powerpc")
|
1993-10-04 22:52:53 +03:00
|
|
|
NOPIC=
|
|
|
|
.endif
|
1995-04-21 06:56:24 +04:00
|
|
|
|
1995-06-24 12:27:37 +04:00
|
|
|
# No lint, for now.
|
1997-11-04 01:53:25 +03:00
|
|
|
.if !defined(NONOLINT)
|
1995-06-24 12:27:37 +04:00
|
|
|
NOLINT=
|
1997-11-04 01:53:25 +03:00
|
|
|
.endif
|
1997-03-30 00:17:22 +03:00
|
|
|
|
|
|
|
# Profiling doesn't work on PowerPC yet.
|
|
|
|
.if (${MACHINE_ARCH} == "powerpc")
|
|
|
|
NOPROFILE=
|
|
|
|
.endif
|
1997-05-07 00:54:31 +04:00
|
|
|
|
1997-10-11 11:14:57 +04:00
|
|
|
TARGETS+= all clean cleandir depend includes install lint obj regress \
|
|
|
|
tags
|
|
|
|
.PHONY: all clean cleandir depend includes install lint obj regress \
|
|
|
|
tags beforedepend afterdepend beforeinstall afterinstall \
|
1997-05-10 18:19:02 +04:00
|
|
|
realinstall
|
1997-05-07 19:53:28 +04:00
|
|
|
|
1997-10-23 16:44:28 +04:00
|
|
|
.if !target(install)
|
1997-10-27 22:41:05 +03:00
|
|
|
install: .NOTMAIN beforeinstall subdir-install realinstall afterinstall
|
|
|
|
beforeinstall: .NOTMAIN
|
|
|
|
subdir-install: .NOTMAIN beforeinstall
|
|
|
|
realinstall: .NOTMAIN beforeinstall
|
|
|
|
afterinstall: .NOTMAIN subdir-install realinstall
|
1997-05-07 19:53:28 +04:00
|
|
|
.endif
|