Use FILES and FILESDIR instead of install:

This commit is contained in:
veego 1997-06-12 12:18:11 +00:00
parent a8536aa57a
commit a16ae1d6d0
1 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 1997/05/31 21:21:44 cjs Exp $
# $NetBSD: Makefile,v 1.14 1997/06/12 12:18:11 veego Exp $
# from: @(#)Makefile 5.5 (Berkeley) 5/21/91
CFLAGS+= -DLIBC_SCCS -I${.CURDIR}/..
@ -25,10 +25,6 @@ scrt0.o: ${SRCS}
@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
install:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
${DESTDIR}/usr/lib
.if make(depend)
CPPFLAGS+= -DDYNAMIC
.endif
@ -39,4 +35,7 @@ afterdepend: .depend
< .depend > $$TMP; \
mv $$TMP .depend)
FILES=${OBJS}
FILESDIR=/usr/lib
.include <bsd.prog.mk>