2001-11-19 17:17:51 +01:00
|
|
|
# $NetBSD: defs.NetBSD.mk,v 1.6 2001/11/19 16:17:51 jlam Exp $
|
2001-06-12 14:49:55 +02:00
|
|
|
#
|
|
|
|
# Variable definitions for the NetBSD operating system.
|
|
|
|
|
|
|
|
AWK?= /usr/bin/awk
|
|
|
|
BASENAME?= /usr/bin/basename
|
|
|
|
CAT?= /bin/cat
|
|
|
|
CHMOD?= /bin/chmod
|
|
|
|
CHOWN?= /usr/sbin/chown
|
|
|
|
CHGRP?= /usr/bin/chgrp
|
2001-07-13 08:16:02 +02:00
|
|
|
CMP?= /usr/bin/cmp
|
2001-06-12 14:49:55 +02:00
|
|
|
CP?= /bin/cp
|
|
|
|
CUT?= /usr/bin/cut
|
|
|
|
DC?= /usr/bin/dc
|
2001-06-18 21:58:55 +02:00
|
|
|
DIRNAME?= /usr/bin/dirname
|
2001-06-12 14:49:55 +02:00
|
|
|
ECHO?= echo # Shell builtin
|
|
|
|
EGREP?= /usr/bin/egrep
|
|
|
|
FALSE?= false # Shell builtin
|
2001-07-15 14:40:03 +02:00
|
|
|
FILE_CMD?= /usr/bin/file
|
2001-06-12 14:49:55 +02:00
|
|
|
FIND?= /usr/bin/find
|
|
|
|
GREP?= /usr/bin/grep
|
|
|
|
GTAR?= /usr/bin/tar
|
|
|
|
GUNZIP_CMD?= /usr/bin/gunzip -f
|
|
|
|
GZCAT?= /usr/bin/gzcat
|
|
|
|
GZIP?= -9
|
|
|
|
GZIP_CMD?= /usr/bin/gzip -nf ${GZIP}
|
|
|
|
HEAD?= /usr/bin/head
|
|
|
|
ID?= /usr/bin/id
|
|
|
|
LDCONFIG?= /sbin/ldconfig
|
|
|
|
LN?= /bin/ln
|
|
|
|
LS?= /bin/ls
|
|
|
|
MKDIR?= /bin/mkdir -p
|
|
|
|
MTREE?= /usr/sbin/mtree
|
|
|
|
MV?= /bin/mv
|
|
|
|
PATCH?= /usr/bin/patch
|
|
|
|
PAX?= /bin/pax
|
|
|
|
PKGLOCALEDIR?= share
|
|
|
|
RM?= /bin/rm
|
|
|
|
RMDIR?= /bin/rmdir
|
|
|
|
SED?= /usr/bin/sed
|
|
|
|
SETENV?= /usr/bin/env
|
|
|
|
SH?= /bin/sh
|
2001-06-12 15:16:09 +02:00
|
|
|
SORT?= /usr/bin/sort
|
2001-06-12 14:49:55 +02:00
|
|
|
SU?= /usr/bin/su
|
|
|
|
TAIL?= /usr/bin/tail
|
|
|
|
TEST?= test # Shell builtin
|
|
|
|
TOUCH?= /usr/bin/touch
|
|
|
|
TR?= /usr/bin/tr
|
|
|
|
TRUE?= true # Shell builtin
|
|
|
|
TYPE?= type # Shell builtin
|
2001-06-12 15:16:09 +02:00
|
|
|
WC?= /usr/bin/wc
|
2001-06-12 14:49:55 +02:00
|
|
|
XARGS?= /usr/bin/xargs
|
2001-11-19 17:17:51 +01:00
|
|
|
|
|
|
|
.if exists(/usr/sbin/user)
|
|
|
|
USERADD?= /usr/sbin/useradd
|
|
|
|
GROUPADD?= /usr/sbin/groupadd
|
|
|
|
.else
|
|
|
|
USERADD?= ${LOCALBASE}/sbin/useradd
|
|
|
|
GROUPADD?= ${LOCALBASE}/sbin/groupadd
|
|
|
|
.endif
|
|
|
|
.if defined(USE_USERADD) || defined(USE_GROUPADD)
|
|
|
|
DEPENDS+= user>=20000313:../../sysutils/user
|
|
|
|
.endif
|
|
|
|
NOLOGIN?= /sbin/nologin
|