freebsd-nq/usr.bin/strip/Makefile
Ruslan Ermilov d2893b161b Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00

24 lines
423 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= strip
MAN= strip.1aout
BINDIR= /usr/libexec/aout
CLEANFILES += maybe_stripped
all: maybe_stripped
maybe_stripped: strip
cp -p strip maybe_stripped
.if defined(STRIP)
.if ${STRIP:M-s} != ""
-strip maybe_stripped
.endif
.endif
realinstall:
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
maybe_stripped ${DESTDIR}${BINDIR}/strip
.include <bsd.prog.mk>