xref: /freebsd/contrib/bmake/mk/sys/Cygwin.mk (revision 548bfc56eb0b2cefa0fb8dc2478240bfef610309)
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