include: Tag the last includes files as part of the -dev package
Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D27618
This commit is contained in:
parent
4401fa9bf1
commit
b6cc69322a
@ -259,23 +259,23 @@ symlinks: .PHONY .META
|
|||||||
.for i in ${LDIRS}
|
.for i in ${LDIRS}
|
||||||
cd ${SRCTOP}/sys/$i; \
|
cd ${SRCTOP}/sys/$i; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/$i/$$h ${SDESTDIR}${INCLUDEDIR}/$i; \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../sys/$i/$$h ${SDESTDIR}${INCLUDEDIR}/$i; \
|
||||||
done
|
done
|
||||||
.endfor
|
.endfor
|
||||||
.for i in ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/evdev:Ndev/hyperv:Ndev/pci:Ndev/veriexec}
|
.for i in ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/evdev:Ndev/hyperv:Ndev/pci:Ndev/veriexec}
|
||||||
cd ${SRCTOP}/sys/$i; \
|
cd ${SRCTOP}/sys/$i; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/$i/$$h ${SDESTDIR}${INCLUDEDIR}/$i; \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/$i/$$h ${SDESTDIR}${INCLUDEDIR}/$i; \
|
||||||
done
|
done
|
||||||
.endfor
|
.endfor
|
||||||
cd ${SRCTOP}/sys/dev/acpica; \
|
cd ${SRCTOP}/sys/dev/acpica; \
|
||||||
for h in acpiio.h acpi_hpet.h; do \
|
for h in acpiio.h acpi_hpet.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/acpica/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/dev/acpica/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/dev/acpica; \
|
${SDESTDIR}${INCLUDEDIR}/dev/acpica; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/dev/agp; \
|
cd ${SRCTOP}/sys/dev/agp; \
|
||||||
for h in agpreg.h; do \
|
for h in agpreg.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/agp/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/dev/agp/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/dev/agp; \
|
${SDESTDIR}${INCLUDEDIR}/dev/agp; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/dev/evdev; \
|
cd ${SRCTOP}/sys/dev/evdev; \
|
||||||
@ -285,17 +285,17 @@ symlinks: .PHONY .META
|
|||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/dev/hyperv/include; \
|
cd ${SRCTOP}/sys/dev/hyperv/include; \
|
||||||
for h in hyperv.h; do \
|
for h in hyperv.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/hyperv/include/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/dev/hyperv/include/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/dev/hyperv; \
|
${SDESTDIR}${INCLUDEDIR}/dev/hyperv; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/dev/hyperv/utilities; \
|
cd ${SRCTOP}/sys/dev/hyperv/utilities; \
|
||||||
for h in hv_snapshot.h; do \
|
for h in hv_snapshot.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/hyperv/utilities/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/dev/hyperv/utilities/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/dev/hyperv; \
|
${SDESTDIR}${INCLUDEDIR}/dev/hyperv; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/dev/pci; \
|
cd ${SRCTOP}/sys/dev/pci; \
|
||||||
for h in pcireg.h; do \
|
for h in pcireg.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/pci/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/dev/pci/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/dev/pci; \
|
${SDESTDIR}${INCLUDEDIR}/dev/pci; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/dev/veriexec; \
|
cd ${SRCTOP}/sys/dev/veriexec; \
|
||||||
@ -306,60 +306,60 @@ symlinks: .PHONY .META
|
|||||||
.for i in ${LSUBSUBDIRS}
|
.for i in ${LSUBSUBDIRS}
|
||||||
cd ${SRCTOP}/sys/$i; \
|
cd ${SRCTOP}/sys/$i; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../../sys/$i/$$h ${SDESTDIR}${INCLUDEDIR}/$i; \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../../sys/$i/$$h ${SDESTDIR}${INCLUDEDIR}/$i; \
|
||||||
done
|
done
|
||||||
.endfor
|
.endfor
|
||||||
.if ${MK_IPFILTER} != "no"
|
.if ${MK_IPFILTER} != "no"
|
||||||
cd ${SRCTOP}/sys/contrib/ipfilter/netinet; \
|
cd ${SRCTOP}/sys/contrib/ipfilter/netinet; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/contrib/ipfilter/netinet/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../sys/contrib/ipfilter/netinet/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/netinet; \
|
${SDESTDIR}${INCLUDEDIR}/netinet; \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
.if ${MK_PF} != "no"
|
.if ${MK_PF} != "no"
|
||||||
cd ${SRCTOP}/sys/netpfil/pf; \
|
cd ${SRCTOP}/sys/netpfil/pf; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/netpfil/pf/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/netpfil/pf/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/netpfil/pf; \
|
${SDESTDIR}${INCLUDEDIR}/netpfil/pf; \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
cd ${SRCTOP}/sys/crypto; \
|
cd ${SRCTOP}/sys/crypto; \
|
||||||
for h in rijndael/rijndael.h; do \
|
for h in rijndael/rijndael.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/crypto/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../sys/crypto/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/crypto; \
|
${SDESTDIR}${INCLUDEDIR}/crypto; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/opencrypto; \
|
cd ${SRCTOP}/sys/opencrypto; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/opencrypto/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../sys/opencrypto/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/crypto; \
|
${SDESTDIR}${INCLUDEDIR}/crypto; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/${MACHINE}/include; \
|
cd ${SRCTOP}/sys/${MACHINE}/include; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/${MACHINE}/include/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../sys/${MACHINE}/include/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/machine; \
|
${SDESTDIR}${INCLUDEDIR}/machine; \
|
||||||
done
|
done
|
||||||
.if exists(${SRCTOP}/sys/${MACHINE}/include/pc)
|
.if exists(${SRCTOP}/sys/${MACHINE}/include/pc)
|
||||||
cd ${SRCTOP}/sys/${MACHINE}/include/pc; \
|
cd ${SRCTOP}/sys/${MACHINE}/include/pc; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/${MACHINE}/include/pc/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/${MACHINE}/include/pc/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/machine/pc; \
|
${SDESTDIR}${INCLUDEDIR}/machine/pc; \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
.for _MARCH in ${_MARCHS}
|
.for _MARCH in ${_MARCHS}
|
||||||
.if exists(${SRCTOP}/sys/${_MARCH}/include)
|
.if exists(${SRCTOP}/sys/${_MARCH}/include)
|
||||||
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
${INSTALL} -d ${TAG_ARGS:D${TAG_ARGS},dev} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||||
${SDESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
||||||
cd ${SRCTOP}/sys/${_MARCH}/include; \
|
cd ${SRCTOP}/sys/${_MARCH}/include; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/${_MARCH}/include/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../sys/${_MARCH}/include/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
||||||
done
|
done
|
||||||
.if exists(${SRCTOP}/sys/${_MARCH}/include/pc)
|
.if exists(${SRCTOP}/sys/${_MARCH}/include/pc)
|
||||||
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
${INSTALL} -d ${TAG_ARGS:D${TAG_ARGS},dev} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||||
${SDESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
||||||
cd ${SRCTOP}/sys/${_MARCH}/include/pc; \
|
cd ${SRCTOP}/sys/${_MARCH}/include/pc; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/${_MARCH}/include/pc/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/${_MARCH}/include/pc/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
@ -367,21 +367,21 @@ symlinks: .PHONY .META
|
|||||||
.endfor
|
.endfor
|
||||||
cd ${SRCTOP}/sys/fs/cd9660; \
|
cd ${SRCTOP}/sys/fs/cd9660; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/fs/cd9660/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/fs/cd9660/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/isofs/cd9660; \
|
${SDESTDIR}${INCLUDEDIR}/isofs/cd9660; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/rpc; \
|
cd ${SRCTOP}/sys/rpc; \
|
||||||
for h in rpcsec_tls.h types.h; do \
|
for h in rpcsec_tls.h types.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/rpc/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../sys/rpc/$$h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/rpc; \
|
${SDESTDIR}${INCLUDEDIR}/rpc; \
|
||||||
done
|
done
|
||||||
.if ${MK_CDDL} != "no"
|
.if ${MK_CDDL} != "no"
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} \
|
||||||
../../../sys/contrib/openenzfs/include/sys/nvpair.h \
|
../../../sys/contrib/openenzfs/include/sys/nvpair.h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/sys
|
${SDESTDIR}${INCLUDEDIR}/sys
|
||||||
.endif
|
.endif
|
||||||
.if ${MK_MLX5TOOL} != "no"
|
.if ${MK_MLX5TOOL} != "no"
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/mlx5/mlx5io.h \
|
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/dev/mlx5/mlx5io.h \
|
||||||
${SDESTDIR}${INCLUDEDIR}/dev/mlx5
|
${SDESTDIR}${INCLUDEDIR}/dev/mlx5
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user