summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/Makefile b/include/Makefile
index ce924c0aa80..aa49afbed30 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -25,13 +25,12 @@ LDIRS= net netinet netccitt netiso netns nfs sys ufs vm
NOOBJ= noobj
-# Define SHARED to indicate whether you want symbolic links to the system
-# source (``symlinks''), or a separate copy (``copies''); (latter useful
-# in environments where it's not possible to keep /sys publicly readable)
-SHARED= copies
-#SHARED= symlinks
+# Change SYS_INCLUDE in bsd.own.mk to "symlinks" if you don't want copies
+.if !defined(SYS_INCLUDE)
+SYS_INCLUDE= copies
+.endif
-install: beforeinstall _PROGSUBDIR ${SHARED}
+install: beforeinstall _PROGSUBDIR ${SYS_INCLUDE}
@echo installing ${FILES}
@-for i in ${FILES}; do \
cmp -s $$i ${DESTDIR}/usr/include/$$i || \