diff options
| author | John Polstra <jdp@FreeBSD.org> | 1998-03-06 00:28:04 +0000 |
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 1998-03-06 00:28:04 +0000 |
| commit | b6e7a280a98fb1d7f490ac42bee6c182511f3bf8 (patch) | |
| tree | 67f410fc6133230a488a1d0c453b995135f5f731 /gnu/usr.bin/binutils/strip | |
| parent | d584948ecd111c00af204df574fae3234f3ba4f4 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/binutils/strip')
| -rw-r--r-- | gnu/usr.bin/binutils/strip/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/strip/Makefile b/gnu/usr.bin/binutils/strip/Makefile index 7072e11fb4c5..61082ee0133d 100644 --- a/gnu/usr.bin/binutils/strip/Makefile +++ b/gnu/usr.bin/binutils/strip/Makefile @@ -1,5 +1,5 @@ # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1998/03/01 23:41:17 jdp Exp $ # .include "../Makefile.inc0" @@ -12,5 +12,20 @@ CFLAGS+= -I${SRCDIR}/binutils LDADD+= -L${RELTOP}/libbinutils -lbinutils LDADD+= -L${RELTOP}/libbfd -lbfd LDADD+= -L${RELTOP}/libiberty -liberty +CLEANFILES+= maybe_stripped + +all: maybe_stripped + +maybe_stripped: strip + cp strip maybe_stripped +.if defined(STRIP) +.if ${STRIP:M-s} != "" + strip maybe_stripped +.endif +.endif + +realinstall: + ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ + maybe_stripped ${DESTDIR}${BINDIR}/strip .include <bsd.prog.mk> |
