1#	$OpenBSD: Makefile,v 1.2 2023/08/14 08:56:20 kn Exp $
2
3PROG=	chmod
4CFLAGS+=-DSUPPORT_DOT
5LINKS=	${BINDIR}/chmod ${BINDIR}/chgrp \
6	${BINDIR}/chmod /sbin/chown
7
8# XXX compatibility
9afterinstall:
10	(cd ${DESTDIR}/usr/sbin; \
11	    ln -sf ../../sbin/chown .; \
12	    ln -sf ../../bin/chgrp .)
13	(cd ${DESTDIR}/usr/bin; \
14	    ln -sf ../../bin/chmod chflags)
15
16
17.PATH:  ${.CURDIR}/../../../bin/chmod
18.include <bsd.prog.mk>
19