1997-03-25 00:57:01 +03:00
|
|
|
# $NetBSD: Makefile,v 1.13 1997/03/24 21:59:50 christos Exp $
|
1996-10-09 02:00:18 +04:00
|
|
|
# @(#)Makefile 5.4 (Berkeley) 5/11/90
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= strip
|
|
|
|
|
1997-03-25 00:57:01 +03:00
|
|
|
realinstall: proginstall
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1997-03-25 00:57:01 +03:00
|
|
|
|
|
|
|
proginstall:: ${DESTDIR}${BINDIR}/${PROG}
|
|
|
|
.if !defined(UPDATE)
|
|
|
|
.PHONY: ${DESTDIR}${BINDIR}/${PROG}
|
|
|
|
.endif
|
|
|
|
.if !defined(UPDATE)
|
|
|
|
${DESTDIR}${BINDIR}/${PROG}: .MADE
|
|
|
|
.endif
|
|
|
|
|
|
|
|
${DESTDIR}${BINDIR}/${PROG}: ${PROG}
|
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 ${.ALLSRC} ${.TARGET}
|
|
|
|
./strip ${.TARGET}
|
|
|
|
chmod ${BINMODE} ${.TARGET}
|
|
|
|
-if [ "${COPY}" = "" ]; then rm -f ./strip; fi
|
|
|
|
|