1999-02-09 22:21:53 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 1999/02/09 19:21:55 tv Exp $
|
1997-12-18 10:37:37 +03:00
|
|
|
|
1999-02-09 22:21:53 +03:00
|
|
|
PROG= strip
|
|
|
|
SRCS= objcopy.c is-strip.c
|
|
|
|
MAN= strip.1
|
1997-12-18 10:37:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1998-08-28 03:32:33 +04:00
|
|
|
|
|
|
|
# STRIPPROG is capable of stripping itself, so this is OK.
|
1999-02-03 01:05:58 +03:00
|
|
|
.if (${STRIPFLAG} != "")
|
1998-08-28 03:32:33 +04:00
|
|
|
STRIPFLAG:=
|
|
|
|
realinstall: __installstrip
|
|
|
|
__installstrip:
|
1999-01-07 08:56:30 +03:00
|
|
|
chmod 755 ${DESTDIR}${BINDIR}/strip
|
|
|
|
${STRIPPROG} ${DESTDIR}${BINDIR}/strip
|
|
|
|
chmod ${BINMODE} ${DESTDIR}${BINDIR}/strip
|
1998-08-28 03:32:33 +04:00
|
|
|
.endif
|