summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-05 07:58:28 +0000
committerpeter <peter@FreeBSD.org>1999-09-05 07:58:28 +0000
commitc26ce778a8938978b76b84e855fc00f5caadbfb9 (patch)
treefeb66c9c15650260fe990862d74235a5815c6254 /include
parent4210b0b43e7c98598055b4b74300af19e0ea7b44 (diff)
downloadFreeBSD-src-c26ce778a8938978b76b84e855fc00f5caadbfb9.zip
FreeBSD-src-c26ce778a8938978b76b84e855fc00f5caadbfb9.tar.gz
Only install backwards compat symlink for <machine/soundcard.h> if using
the default SHARED=copies, otherwise the kernel source tree gets modified if /usr/include/machine is a symlink to the source tree (which is not the case by default). Nothing in our src tree uses <machine/soundcard.h>. Pointed out by: bde
Diffstat (limited to 'include')
-rw-r--r--include/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/Makefile b/include/Makefile
index db75959..8d4cfde 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -33,9 +33,9 @@ RPCFILES= auth.h auth_unix.h clnt.h pmap_clnt.h pmap_prot.h pmap_rmt.h \
MFILES= float.h floatingpoint.h stdarg.h varargs.h
# posix4/aio.h conflicts with dysons and isn't installed:
-PFILES= mqueue.h sched.h semaphore.h \
- # aio.h
+PFILES= mqueue.h sched.h semaphore.h # aio.h
+# Only for default SHARED=copies case
SFILES= soundcard.h
LFILES= aio.h errno.h fcntl.h inttypes.h linker_set.h poll.h syslog.h termios.h
@@ -90,9 +90,6 @@ beforeinstall: ${SHARED}
.for i in ${PFILES}
ln -sf posix4/$i ${DESTDIR}/usr/include/$i
.endfor
-.for i in ${SFILES}
- ln -sf ../sys/$i ${DESTDIR}/usr/include/machine/$i
-.endfor
copies:
.for i in ${LDIRS} ${LNOHEADERDIRS} machine
@@ -112,6 +109,9 @@ copies:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
${DESTDIR}/usr/include/machine
.endif
+.for i in ${SFILES}
+ ln -sf ../sys/$i ${DESTDIR}/usr/include/machine/$i
+.endfor
symlinks:
@${ECHO} "Setting up symlinks to kernel source tree..."
OpenPOWER on IntegriCloud