2001-08-06 23:11:59 +04:00
|
|
|
# $NetBSD: Makefile,v 1.8 2001/08/06 19:12:06 tv Exp $
|
1997-12-18 10:37:37 +03:00
|
|
|
|
1999-02-09 22:21:53 +03:00
|
|
|
PROG= strip
|
2001-08-06 23:11:59 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if defined(USE_NEW_TOOLCHAIN)
|
|
|
|
.include "${.CURDIR}/../common/Makefile.prog"
|
|
|
|
.else
|
1999-02-09 22:21:53 +03:00
|
|
|
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
|
|
|
|
2000-02-01 09:00:35 +03:00
|
|
|
# STRIP 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
|
2000-02-01 09:00:35 +03:00
|
|
|
${STRIP} ${DESTDIR}${BINDIR}/strip
|
1999-01-07 08:56:30 +03:00
|
|
|
chmod ${BINMODE} ${DESTDIR}${BINDIR}/strip
|
1998-08-28 03:32:33 +04:00
|
|
|
.endif
|
2001-08-06 23:11:59 +04:00
|
|
|
.endif
|