mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 11:20:58 +01:00
Only install acpiio.h in /usr/include. That's all we want to export to users.
Submitted by: ru (any bugs by me) MFC after: 1 day
This commit is contained in:
parent
dad97fee58
commit
9f97a43bc3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143013
@ -122,11 +122,14 @@ copies:
|
|||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
.endfor
|
.endfor
|
||||||
.for i in ${LDIRS} ${LSUBDIRS:Ndev/bktr} ${LSUBSUBDIRS}
|
.for i in ${LDIRS} ${LSUBDIRS:Ndev/acpica:Ndev/bktr} ${LSUBSUBDIRS}
|
||||||
cd ${.CURDIR}/../sys; \
|
cd ${.CURDIR}/../sys; \
|
||||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/$i
|
${DESTDIR}${INCLUDEDIR}/$i
|
||||||
.endfor
|
.endfor
|
||||||
|
cd ${.CURDIR}/../sys/dev/acpica; \
|
||||||
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 acpiio.h \
|
||||||
|
${DESTDIR}${INCLUDEDIR}/dev/acpica
|
||||||
cd ${.CURDIR}/../sys/dev/bktr; \
|
cd ${.CURDIR}/../sys/dev/bktr; \
|
||||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ioctl_*.h \
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ioctl_*.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/bktr
|
${DESTDIR}${INCLUDEDIR}/dev/bktr
|
||||||
@ -159,12 +162,17 @@ symlinks:
|
|||||||
ln -fs ../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
ln -fs ../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
||||||
done
|
done
|
||||||
.endfor
|
.endfor
|
||||||
.for i in ${LSUBDIRS:Ndev/bktr}
|
.for i in ${LSUBDIRS:Ndev/acpica:Ndev/bktr}
|
||||||
cd ${.CURDIR}/../sys/$i; \
|
cd ${.CURDIR}/../sys/$i; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
ln -fs ../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
ln -fs ../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
||||||
done
|
done
|
||||||
.endfor
|
.endfor
|
||||||
|
cd ${.CURDIR}/../sys/dev/acpica; \
|
||||||
|
for h in acpiio.h; do \
|
||||||
|
ln -fs ../../../../sys/dev/acpica/$$h \
|
||||||
|
${DESTDIR}${INCLUDEDIR}/dev/acpica; \
|
||||||
|
done
|
||||||
cd ${.CURDIR}/../sys/dev/bktr; \
|
cd ${.CURDIR}/../sys/dev/bktr; \
|
||||||
for h in ioctl_*.h; do \
|
for h in ioctl_*.h; do \
|
||||||
ln -fs ../../../../sys/dev/bktr/$$h \
|
ln -fs ../../../../sys/dev/bktr/$$h \
|
||||||
|
Loading…
Reference in New Issue
Block a user