summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/strip/Makefile
blob: 437d16ff46a45dfd0dd666080a71dc49be8a8d80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	$NetBSD: Makefile,v 1.7 2000/02/01 06:02:01 tsutsui Exp $

PROG=		strip
SRCS=		objcopy.c is-strip.c
MAN=		strip.1

.include <bsd.prog.mk>

# STRIP is capable of stripping itself, so this is OK.
.if (${STRIPFLAG} != "")
STRIPFLAG:=
realinstall: __installstrip
__installstrip:
	chmod 755 ${DESTDIR}${BINDIR}/strip
	${STRIP} ${DESTDIR}${BINDIR}/strip
	chmod ${BINMODE} ${DESTDIR}${BINDIR}/strip
.endif