Return to Makefile CVS log | Up to [local] / src / usr.bin / strip |
File: [local] / src / usr.bin / strip / Attic / Makefile (download)
Revision 1.5, Thu Feb 13 00:12:07 1997 UTC (27 years, 3 months ago) by deraadt
ok, this time the $HOSTCC stuff works correctly |
# $OpenBSD: Makefile,v 1.5 1997/02/13 00:12:07 deraadt Exp $ PROG= strip .if ${HOSTCC} != ${CC} STRIP=./hoststrip realinstall: hoststrip hoststrip: strip.c ${HOSTCC} ${.CURDIR}/strip.c -o hoststrip .else STRIP=./strip .endif realinstall: ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 600 strip \ ${DESTDIR}${BINDIR} ${STRIP} ${DESTDIR}${BINDIR}/strip chmod ${BINMODE} ${DESTDIR}${BINDIR}/strip -if [ "${COPY}" = "" ]; then rm -f ${STRIP}; fi .include <bsd.prog.mk>