1997-10-18 19:04:56 +04:00
|
|
|
# $NetBSD: Makefile,v 1.17 1997/10/18 15:04:56 mrg Exp $
|
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= strip
|
|
|
|
|
1997-05-09 16:38:30 +04:00
|
|
|
proginstall:: .NOTMAIN hackinstall
|
1997-05-10 18:30:38 +04:00
|
|
|
.PHONY: hackinstall
|
1997-05-09 16:38:30 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|
1997-03-25 00:57:01 +03:00
|
|
|
|
1997-05-09 16:38:30 +04:00
|
|
|
PROGNAME?= ${PROG}
|
|
|
|
hackinstall:: ${DESTDIR}${BINDIR}/${PROGNAME}
|
1997-03-25 00:57:01 +03:00
|
|
|
.if !defined(UPDATE)
|
1997-05-09 16:38:30 +04:00
|
|
|
.PHONY: ${DESTDIR}${BINDIR}/${PROGNAME}
|
1997-03-25 00:57:01 +03:00
|
|
|
.endif
|
1997-05-09 16:38:30 +04:00
|
|
|
.if !defined(BUILD)
|
|
|
|
${DESTDIR}${BINDIR}/${PROGNAME}: .MADE
|
1997-03-25 00:57:01 +03:00
|
|
|
.endif
|
|
|
|
|
1997-05-09 16:38:30 +04:00
|
|
|
.PRECIOUS: ${DESTDIR}${BINDIR}/${PROGNAME}
|
|
|
|
${DESTDIR}${BINDIR}/${PROGNAME}: ${PROG}
|
1997-03-25 00:57:01 +03:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 ${.ALLSRC} ${.TARGET}
|
1997-05-09 16:38:30 +04:00
|
|
|
-if [ "${STRIPFLAG}" != "" ]; then ./strip ${.TARGET}; fi
|
1997-03-25 00:57:01 +03:00
|
|
|
chmod ${BINMODE} ${.TARGET}
|
|
|
|
-if [ "${COPY}" = "" ]; then rm -f ./strip; fi
|