Switch the default binutils from 2.17 to 2.21.
[dragonfly.git] / gnu / usr.bin / binutils221 / strip / Makefile
... / ...
CommitLineData
1.include "../Makefile.bu"
2
3.PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc
4
5PROG= strip
6SRCS= objcopy.c is-strip.c
7MAN= strip221.1
8MLINKS+=strip221.1 strip.1
9WARNS= 1
10
11CLEANFILES+= maybe_stripped
12
13all: maybe_stripped
14
15maybe_stripped: strip
16 cp strip maybe_stripped
17.if defined(STRIP)
18.if ${STRIP:M-s} != ""
19 -strip maybe_stripped
20.endif
21.endif
22
23strip221.1: ${SRCDIR}/binutils/doc/strip.1
24 cp ${.ALLSRC} ${.TARGET}
25
26CLEANFILES+= strip221.1
27
28realinstall:
29 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
30 maybe_stripped ${DESTDIR}${BINDIR}/strip
31
32.include <bsd.prog.mk>