Initial import from FreeBSD RELENG_4:
[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
4 PROG=   strip
5 MAN=    strip.1aout
6 BINDIR= /usr/libexec/aout
7 CLEANFILES += maybe_stripped
8
9 all: maybe_stripped
10
11 maybe_stripped: strip
12         cp -p strip maybe_stripped
13 .if defined(STRIP)
14 .if ${STRIP:M-s} != ""
15         -strip maybe_stripped
16 .endif
17 .endif
18
19 realinstall:
20         ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
21             maybe_stripped ${DESTDIR}${BINDIR}/strip
22
23 .include <bsd.prog.mk>