NetBSD/gnu/usr.bin/binutils/strip/Makefile

24 lines
509 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.8 2001/08/06 19:12:06 tv Exp $
PROG= strip
.include <bsd.own.mk>
.if defined(USE_NEW_TOOLCHAIN)
.include "${.CURDIR}/../common/Makefile.prog"
.else
SRCS= objcopy.c is-strip.c
MAN= strip.1
.include <bsd.prog.mk>
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} != "")
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
.endif
.endif