.include "../Makefile.inc1" .include "../Makefile.bu" .PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc PROG= strip SRCS= objcopy.c is-strip.c MFILE= strip${MANPAGEVER}.1 MAN= ${MFILE} WARNS= 1 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 ${MFILE}: ${SRCDIR}/binutils/doc/strip.1 cp ${.ALLSRC} ${.TARGET} CLEANFILES+= ${MFILE} .if defined(IS_PRIMARY) MLINKS+= ${MFILE} strip.1 .endif realinstall: ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ maybe_stripped ${DESTDIR}${BINDIR}/strip .include