summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/strip/Makefile
blob: 710bca278321efc8edacd9f5fbba7db35569df7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	$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>

# 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
.endif