xref: /freebsd/contrib/bmake/mk/sys/Cygwin.mk (revision a90b9d0159070121c221b966469c3e36d912bf82)
1# Minimal adjustments for Cygwin
2# SPDX-License-Identifier: BSD-2-Clause
3
4OS ?=		Cygwin
5unix ?=		We run ${OS}.
6
7.ifndef ROOT_GROUP
8# Cygwin maps local admin SID S-1-5-32-544 to GID 544.
9# /etc/group does no longer exist in a base installation.
10ROOT_GROUP != /usr/bin/getent group 544 2>/dev/null
11ROOT_GROUP := ${ROOT_GROUP:C,:.*$,,}
12.endif
13
14.LIBS:		.a
15
16AR ?=		ar
17RANLIB ?=	ranlib
18TSORT ?=	tsort -q
19
20# egrep is deprecated
21EGREP ?=	grep -E
22