summaryrefslogtreecommitdiffstats
path: root/usr.bin/objformat
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1998-05-26 12:27:37 +0000
committersos <sos@FreeBSD.org>1998-05-26 12:27:37 +0000
commit37218a27856974855d62695874c9a46e494374dc (patch)
tree52d63f9d2a1fe705b585ab78307d9accfa6ebc4f /usr.bin/objformat
parente3df194a9fc33ef83cfffe3126ebaae0659812cf (diff)
downloadFreeBSD-src-37218a27856974855d62695874c9a46e494374dc.zip
FreeBSD-src-37218a27856974855d62695874c9a46e494374dc.tar.gz
Get owner/group/modes right
Diffstat (limited to 'usr.bin/objformat')
-rw-r--r--usr.bin/objformat/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/usr.bin/objformat/Makefile b/usr.bin/objformat/Makefile
index 66bac5c..f30520f 100644
--- a/usr.bin/objformat/Makefile
+++ b/usr.bin/objformat/Makefile
@@ -14,14 +14,16 @@ objformat:
install:
$(CC) ${CFLAGS} ${.CURDIR}/objformat.c -o ${DESTDIR}/usr/bin/objformat
-
-LINKS+= /usr/bin/objformat /usr/bin/ar
-LINKS+= /usr/bin/objformat /usr/bin/as
-LINKS+= /usr/bin/objformat /usr/bin/ld
-LINKS+= /usr/bin/objformat /usr/bin/nm
-LINKS+= /usr/bin/objformat /usr/bin/ranlib
-LINKS+= /usr/bin/objformat /usr/bin/size
-LINKS+= /usr/bin/objformat /usr/bin/strings
-LINKS+= /usr/bin/objformat /usr/bin/strip
+ chown ${BINOWN} ${DESTDIR}/usr/bin/objformat
+ chgrp ${BINGRP} ${DESTDIR}/usr/bin/objformat
+ chmod ${BINMODE} ${DESTDIR}/usr/bin/objformat
+ ln -s ${DESTDIR}/usr/bin/objformat ${DESTDIR}/usr/bin/ar
+ ln -s ${DESTDIR}/usr/bin/objformat ${DESTDIR}/usr/bin/as
+ ln -s ${DESTDIR}/usr/bin/objformat ${DESTDIR}/usr/bin/ld
+ ln -s ${DESTDIR}/usr/bin/objformat ${DESTDIR}/usr/bin/nm
+ ln -s ${DESTDIR}/usr/bin/objformat ${DESTDIR}/usr/bin/ranlib
+ ln -s ${DESTDIR}/usr/bin/objformat ${DESTDIR}/usr/bin/size
+ ln -s ${DESTDIR}/usr/bin/objformat ${DESTDIR}/usr/bin/strings
+ ln -s ${DESTDIR}/usr/bin/objformat ${DESTDIR}/usr/bin/strip
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud