Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/csu/common_elf Instead of rolling our own "install" targ...
details: https://anonhg.NetBSD.org/src/rev/90a627333f19
branches: trunk
changeset: 471516:90a627333f19
user: simonb <simonb%NetBSD.org@localhost>
date: Sat Apr 03 16:39:31 1999 +0000
description:
Instead of rolling our own "install" target, use FILES/FILESDIR and
LINKS to that things like "make install UPDATE=" work properly.
diffstat:
lib/csu/common_elf/Makefile.inc | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (26 lines):
diff -r 0a14f1697e0a -r 90a627333f19 lib/csu/common_elf/Makefile.inc
--- a/lib/csu/common_elf/Makefile.inc Sat Apr 03 16:28:49 1999 +0000
+++ b/lib/csu/common_elf/Makefile.inc Sat Apr 03 16:39:31 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 1999/04/02 12:09:44 tsubai Exp $
+# $NetBSD: Makefile.inc,v 1.3 1999/04/03 16:39:31 simonb Exp $
.if !defined(ELFSIZE)
ELFSIZE=32
@@ -41,11 +41,10 @@
@${LD} -x -r -o ${.TARGET} ${.TARGET}.o
@rm -f ${.TARGET}.o
-install:
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
- ${DESTDIR}/usr/lib
- rm -f ${DESTDIR}/usr/lib/crtbeginS.o ${DESTDIR}/usr/lib/crtendS.o
- ln ${DESTDIR}/usr/lib/crtbegin.o ${DESTDIR}/usr/lib/crtbeginS.o
- ln ${DESTDIR}/usr/lib/crtend.o ${DESTDIR}/usr/lib/crtendS.o
+FILES=${OBJS}
+FILESDIR=/usr/lib
+
+LINKS= ${LIBDIR}/crtbegin.o ${LIBDIR}/crtbeginS.o \
+ ${LIBDIR}/crtend.o ${LIBDIR}/crtendS.o
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index