[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / bin / chmod

File: [local] / src / bin / chmod / Makefile (download)

Revision 1.6, Wed Jul 19 19:42:31 2000 UTC (23 years, 10 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.5: +3 -2 lines

merge chflags(1) into chmod.
also, use new strtofflags, avoid ls/stat_flags.c usage.
millert@ ok

#	$OpenBSD: Makefile,v 1.6 2000/07/19 19:42:31 mickey Exp $

PROG=	chmod
CFLAGS+=-DSUPPORT_DOT
MAN=	chmod.1 chgrp.1 chown.8 chflags.1
LINKS=	${BINDIR}/chmod ${BINDIR}/chgrp \
	${BINDIR}/chmod /sbin/chown

# XXX compatibility
afterinstall:
	ln -fs /sbin/chown ${DESTDIR}/usr/sbin/chown
	ln -fs ${BINDIR}/chgrp ${DESTDIR}/usr/sbin/chgrp
	ln -fs ${BINDIR}/chmod ${DESTDIR}/usr/bin/chflags

.include <bsd.prog.mk>