summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.own.mk
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-01-21 22:40:39 +0000
committerbrooks <brooks@FreeBSD.org>2013-01-21 22:40:39 +0000
commit6c2d158abab6d3c886d4781a41c8dbdd264de1f2 (patch)
treed806d55edcbaebd9de505766bda68830b850e85b /share/mk/bsd.own.mk
parentaf380cc2bf79f05f3bc2dc404bb15bd165f77444 (diff)
downloadFreeBSD-src-6c2d158abab6d3c886d4781a41c8dbdd264de1f2.zip
FreeBSD-src-6c2d158abab6d3c886d4781a41c8dbdd264de1f2.tar.gz
Replace all known uses of ln in the build process with appropriate
install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK variables. Sponsored by: DARPA, AFRL Reviewed by: ian, ray, rpaulo
Diffstat (limited to 'share/mk/bsd.own.mk')
-rw-r--r--share/mk/bsd.own.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 200cffd..be00ce4 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -181,6 +181,15 @@ NLSMODE?= ${NOBINMODE}
INCLUDEDIR?= /usr/include
+#
+# install(1) parameters.
+#
+HRDLINK?= -l h
+SYMLINK?= -l s
+
+INSTALL_LINK?= ${INSTALL} ${HRDLINK}
+INSTALL_SYMLINK?= ${INSTALL} ${SYMLINK}
+
# Common variables
.if !defined(DEBUG_FLAGS)
STRIP?= -s
OpenPOWER on IntegriCloud