mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 01:01:06 +00:00
Install <dev/agp/agpreg.h> and <dev/pci/pcireg.h> as userland headers
in /usr/include. MFC after: 2 weeks
This commit is contained in:
parent
9b3a48ee6f
commit
0895e9c70c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246367
|
@ -100,6 +100,8 @@
|
|||
dev
|
||||
acpica
|
||||
..
|
||||
agp
|
||||
..
|
||||
an
|
||||
..
|
||||
bktr
|
||||
|
@ -136,6 +138,8 @@
|
|||
..
|
||||
pbio
|
||||
..
|
||||
pci
|
||||
..
|
||||
powermac_nvram
|
||||
..
|
||||
ppbus
|
||||
|
|
|
@ -42,9 +42,10 @@ LDIRS= bsm cam geom net net80211 netatalk netgraph netinet netinet6 \
|
|||
sys vm
|
||||
|
||||
LSUBDIRS= cam/ata cam/scsi \
|
||||
dev/acpica dev/an dev/bktr dev/ciss dev/filemon dev/firewire dev/hwpmc \
|
||||
dev/acpica dev/agp dev/an dev/bktr dev/ciss dev/filemon dev/firewire \
|
||||
dev/hwpmc \
|
||||
dev/ic dev/iicbus ${_dev_ieee488} dev/io dev/lmc dev/mfi dev/nvme \
|
||||
dev/ofw dev/pbio ${_dev_powermac_nvram} dev/ppbus dev/smbus \
|
||||
dev/ofw dev/pbio dev/pci ${_dev_powermac_nvram} dev/ppbus dev/smbus \
|
||||
dev/speaker dev/usb dev/utopia dev/vkbd dev/wi \
|
||||
fs/devfs fs/fdescfs fs/msdosfs fs/nandfs fs/nfs fs/nullfs \
|
||||
fs/procfs fs/udf fs/unionfs \
|
||||
|
@ -154,7 +155,7 @@ copies:
|
|||
done
|
||||
.endif
|
||||
.endfor
|
||||
.for i in ${LDIRS} ${LSUBDIRS:Ndev/acpica:Ndev/bktr:Ndev/nand} ${LSUBSUBDIRS}
|
||||
.for i in ${LDIRS} ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/bktr:Ndev/nand:Ndev/pci} ${LSUBSUBDIRS}
|
||||
cd ${.CURDIR}/../sys; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \
|
||||
${DESTDIR}${INCLUDEDIR}/$i
|
||||
|
@ -162,6 +163,9 @@ copies:
|
|||
cd ${.CURDIR}/../sys/dev/acpica; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 acpiio.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/acpica
|
||||
cd ${.CURDIR}/../sys/dev/agp; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 agpreg.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/agp
|
||||
cd ${.CURDIR}/../sys/dev/bktr; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ioctl_*.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/bktr
|
||||
|
@ -172,6 +176,9 @@ copies:
|
|||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 nand_dev.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/nand
|
||||
.endif
|
||||
cd ${.CURDIR}/../sys/dev/pci; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 pcireg.h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/pci
|
||||
cd ${.CURDIR}/../sys/contrib/altq/altq; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||
${DESTDIR}${INCLUDEDIR}/altq
|
||||
|
@ -225,7 +232,7 @@ symlinks:
|
|||
ln -fs ../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
||||
done
|
||||
.endfor
|
||||
.for i in ${LSUBDIRS:Ndev/acpica:Ndev/bktr:Ndev/nand}
|
||||
.for i in ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/bktr:Ndev/nand:Ndev/pci}
|
||||
cd ${.CURDIR}/../sys/$i; \
|
||||
for h in *.h; do \
|
||||
ln -fs ../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
||||
|
@ -236,6 +243,11 @@ symlinks:
|
|||
ln -fs ../../../../sys/dev/acpica/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/acpica; \
|
||||
done
|
||||
cd ${.CURDIR}/../sys/dev/agp; \
|
||||
for h in agpreg.h; do \
|
||||
ln -fs ../../../../sys/dev/agp/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/agp; \
|
||||
done
|
||||
cd ${.CURDIR}/../sys/dev/bktr; \
|
||||
for h in ioctl_*.h; do \
|
||||
ln -fs ../../../../sys/dev/bktr/$$h \
|
||||
|
@ -248,6 +260,11 @@ symlinks:
|
|||
${DESTDIR}${INCLUDEDIR}/dev/nand; \
|
||||
done
|
||||
.endif
|
||||
cd ${.CURDIR}/../sys/dev/pci; \
|
||||
for h in pcireg.h; do \
|
||||
ln -fs ../../../../sys/dev/pci/$$h \
|
||||
${DESTDIR}${INCLUDEDIR}/dev/pci; \
|
||||
done
|
||||
.for i in ${LSUBSUBDIRS}
|
||||
cd ${.CURDIR}/../sys/$i; \
|
||||
for h in *.h; do \
|
||||
|
|
|
@ -22,6 +22,4 @@ LDADD= -lvmmapi -lmd -lpthread
|
|||
|
||||
WARNS?= 2
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../sys
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -5,8 +5,6 @@ PROG= pciconf
|
|||
SRCS= pciconf.c cap.c err.c
|
||||
MAN= pciconf.8
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../sys
|
||||
|
||||
WARNS?= 3
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
Loading…
Reference in a new issue