freebsd-dev/usr.bin/strip/Makefile

24 lines
438 B
Makefile
Raw Normal View History

1994-05-27 12:33:43 +00:00
# @(#)Makefile 8.1 (Berkeley) 6/6/93
2001-03-27 10:52:19 +00:00
# $FreeBSD$
1994-05-27 12:33:43 +00:00
PROG= strip
2001-03-27 10:52:19 +00:00
MAN= strip.1aout
BINDIR= /usr/libexec/aout
CLEANFILES += maybe_stripped
1994-05-27 12:33:43 +00:00
all: maybe_stripped
maybe_stripped: strip
cp -p strip maybe_stripped
.if defined(STRIP)
.if ${STRIP:M-s} != ""
-strip maybe_stripped
.endif
.endif
install: maninstall
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
maybe_stripped ${DESTDIR}${BINDIR}/strip
1994-05-27 12:33:43 +00:00
.include <bsd.prog.mk>