Make these work again.

This commit is contained in:
mycroft 1997-05-09 12:38:30 +00:00
parent 6ae00799f3
commit cbd2582f5b
2 changed files with 12 additions and 22 deletions

View File

@ -1,20 +1,6 @@
# $NetBSD: Makefile,v 1.5 1997/05/07 16:06:01 mycroft Exp $
# $NetBSD: Makefile,v 1.6 1997/05/09 12:38:31 mycroft Exp $
# from: @(#)Makefile 5.4 (Berkeley) 5/11/90
PROG= elfstrip
.include <bsd.prog.mk>
proginstall:: ${DESTDIR}${BINDIR}/${PROG}
.if !defined(UPDATE)
.PHONY: ${DESTDIR}${BINDIR}/${PROG}
.endif
.if !defined(UPDATE)
${DESTDIR}${BINDIR}/${PROG}: .MADE
.endif
${DESTDIR}${BINDIR}/${PROG}: ${PROG}
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 ${.ALLSRC} ${.TARGET}
./strip ${.TARGET}
chmod ${BINMODE} ${.TARGET}
-if [ "${COPY}" = "" ]; then rm -f ./strip; fi

View File

@ -1,20 +1,24 @@
# $NetBSD: Makefile,v 1.14 1997/05/07 16:06:02 mycroft Exp $
# $NetBSD: Makefile,v 1.15 1997/05/09 12:38:30 mycroft Exp $
# @(#)Makefile 5.4 (Berkeley) 5/11/90
PROG= strip
proginstall:: .NOTMAIN hackinstall
.include <bsd.prog.mk>
proginstall:: ${DESTDIR}${BINDIR}/${PROG}
PROGNAME?= ${PROG}
hackinstall:: ${DESTDIR}${BINDIR}/${PROGNAME}
.if !defined(UPDATE)
.PHONY: ${DESTDIR}${BINDIR}/${PROG}
.PHONY: ${DESTDIR}${BINDIR}/${PROGNAME}
.endif
.if !defined(UPDATE)
${DESTDIR}${BINDIR}/${PROG}: .MADE
.if !defined(BUILD)
${DESTDIR}${BINDIR}/${PROGNAME}: .MADE
.endif
${DESTDIR}${BINDIR}/${PROG}: ${PROG}
.PRECIOUS: ${DESTDIR}${BINDIR}/${PROGNAME}
${DESTDIR}${BINDIR}/${PROGNAME}: ${PROG}
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 ${.ALLSRC} ${.TARGET}
./strip ${.TARGET}
-if [ "${STRIPFLAG}" != "" ]; then ./strip ${.TARGET}; fi
chmod ${BINMODE} ${.TARGET}
-if [ "${COPY}" = "" ]; then rm -f ./strip; fi