summaryrefslogtreecommitdiffstats
path: root/lib/csu/sparc64
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-09-21 18:39:13 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-09-21 18:39:13 +0000
commit3cec2c22f8ea02ed27f549dd613feccc8fc77d8f (patch)
tree2892c7e5bb8fa2cce873dce43a47ff5428de2f41 /lib/csu/sparc64
parentf62b818736d2cb86db1d24a3a82dd6ec8154084e (diff)
downloadFreeBSD-src-3cec2c22f8ea02ed27f549dd613feccc8fc77d8f.zip
FreeBSD-src-3cec2c22f8ea02ed27f549dd613feccc8fc77d8f.tar.gz
Replace realinstall: and META_MODE staging hacks with FILES mechanism.
This partially reverts r270170 for lib/csu/i386 while retaining the change for using bsd.lib.mk. These FILES groups could go into lib/csu/Makefile.inc but I've kept them in the Makefiles for clarity. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/csu/sparc64')
-rw-r--r--lib/csu/sparc64/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/csu/sparc64/Makefile b/lib/csu/sparc64/Makefile
index 7f8dd7a..2680789 100644
--- a/lib/csu/sparc64/Makefile
+++ b/lib/csu/sparc64/Makefile
@@ -7,7 +7,11 @@ OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= Scrt1.o gcrt1.o
CFLAGS+= -I${.CURDIR}/../common -I${.CURDIR}/../../libc/include
-all: ${OBJS}
+FILES= ${OBJS}
+FILESMODE= ${LIBMODE}
+FILESOWN= ${LIBOWN}
+FILESGRP= ${LIBGRP}
+FILESDIR= ${LIBDIR}
CLEANFILES= ${OBJS}
@@ -17,8 +21,4 @@ gcrt1.o: crt1.c
Scrt1.o: crt1.c
${CC} ${CFLAGS} -fPIC -DPIC -c -o Scrt1.o ${.ALLSRC}
-realinstall:
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
- ${OBJS} ${DESTDIR}${LIBDIR}
-
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud