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