Move binutils from /usr/libexec/gcc2/{aout,elf} to
[dragonfly.git] / usr.bin / strip / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/6/93
2 # $FreeBSD: src/usr.bin/strip/Makefile,v 1.10.6.3 2002/08/07 16:32:01 ru Exp $
3 # $DragonFly: src/usr.bin/strip/Attic/Makefile,v 1.4 2004/01/28 16:41:18 joerg Exp $
4
5 PROG=   strip
6 MAN=    strip.1aout
7 BINDIR= /usr/libexec/binutils212/aout
8 CLEANFILES += maybe_stripped
9
10 all: maybe_stripped
11
12 maybe_stripped: strip
13         cp -p strip maybe_stripped
14 .if defined(STRIP)
15 .if ${STRIP:M-s} != ""
16         -strip maybe_stripped
17 .endif
18 .endif
19
20 realinstall:
21         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
22             maybe_stripped ${DESTDIR}${BINDIR}/strip
23
24 .include <bsd.prog.mk>