aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/mk/sys/Cygwin.mk
blob: ffc479ad9ef3dd9bebd4f8f626a910640f5d3544 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Minimal adjustments for Cygwin
# SPDX-License-Identifier: BSD-2-Clause

OS ?=		Cygwin
unix ?=		We run ${OS}.

.ifndef ROOT_GROUP
# Cygwin maps local admin SID S-1-5-32-544 to GID 544.
# /etc/group does no longer exist in a base installation.
ROOT_GROUP != /usr/bin/getent group 544 2>/dev/null
ROOT_GROUP := ${ROOT_GROUP:C,:.*$,,}
.endif

.LIBS:		.a

AR ?=		ar
RANLIB ?=	ranlib
TSORT ?=	tsort -q

# egrep is deprecated
EGREP ?=	grep -E