diff options
| author | jdolecek <jdolecek@NetBSD.org> | 2001-04-11 07:42:31 +0000 |
|---|---|---|
| committer | jdolecek <jdolecek@NetBSD.org> | 2001-04-11 07:42:31 +0000 |
| commit | 372e5956ef1cc3a9be778f36c7d87c088b25f1b7 (patch) | |
| tree | 7b1d3caa053426a8afca44a380c96639f78cf166 /sys/dev | |
| parent | 4ac5e36af27bb2b726bc9a97195d4f6085afa007 (diff) | |
Only install headers which are actually used by our userland. This
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@
recently.
I HOPE to get the list right. The headers I left in are ones
used for MI tools and those whose usage I discovered by grep over tree sources.
Feel free to put needed includes back in if you encounter anything which
should not be removed from lists.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/Makefile | 10 | ||||
| -rw-r--r-- | sys/dev/dec/Makefile | 5 | ||||
| -rw-r--r-- | sys/dev/eisa/Makefile | 9 | ||||
| -rw-r--r-- | sys/dev/hpc/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/i2c/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/i2o/Makefile | 3 | ||||
| -rw-r--r-- | sys/dev/ic/Makefile | 24 | ||||
| -rw-r--r-- | sys/dev/ieee1394/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/isa/Makefile | 13 | ||||
| -rw-r--r-- | sys/dev/isapnp/Makefile | 9 | ||||
| -rw-r--r-- | sys/dev/microcode/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/microcode/aic7xxx/Makefile | 9 | ||||
| -rw-r--r-- | sys/dev/microcode/isp/Makefile | 3 | ||||
| -rw-r--r-- | sys/dev/mii/Makefile | 8 | ||||
| -rw-r--r-- | sys/dev/ofisa/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/ofw/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/pci/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/pckbc/Makefile | 5 | ||||
| -rw-r--r-- | sys/dev/pcmcia/Makefile | 5 | ||||
| -rw-r--r-- | sys/dev/rasops/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/rcons/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/sbus/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/scsipi/Makefile | 10 | ||||
| -rw-r--r-- | sys/dev/std/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/sun/Makefile | 5 | ||||
| -rw-r--r-- | sys/dev/tc/Makefile | 11 | ||||
| -rw-r--r-- | sys/dev/vme/Makefile | 7 | ||||
| -rw-r--r-- | sys/dev/wsfont/Makefile | 7 |
28 files changed, 28 insertions, 192 deletions
diff --git a/sys/dev/Makefile b/sys/dev/Makefile index 3bedd7f7eb8..f8b043ed804 100644 --- a/sys/dev/Makefile +++ b/sys/dev/Makefile @@ -1,13 +1,11 @@ -# $NetBSD: Makefile,v 1.6 2001/02/23 14:08:54 uch Exp $ +# $NetBSD: Makefile,v 1.7 2001/04/11 07:42:31 jdolecek Exp $ -SUBDIR= ata dec eisa hpc i2c i2o ic isa isapnp microcode mii \ - ofisa ofw pckbc pcmcia pci rcons sbus scsipi \ - sun tc usb wscons vme +SUBDIR= ata dec i2o ic pci pckbc pcmcia scsipi sun usb wscons KDIR= /sys/dev INCSDIR= /usr/include/dev -INCS= auconv.h audio_if.h audiovar.h ccdvar.h clock_subr.h cons.h md.h \ - mulaw.h vndvar.h +# Only install includes which are used by userland +INCS= ccdvar.h md.h vndvar.h .include <bsd.kinc.mk> diff --git a/sys/dev/dec/Makefile b/sys/dev/dec/Makefile index e3b353e5f9a..c096ebafead 100644 --- a/sys/dev/dec/Makefile +++ b/sys/dev/dec/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2000/06/16 23:09:57 matt Exp $ +# $NetBSD: Makefile,v 1.3 2001/04/11 07:42:31 jdolecek Exp $ INCSDIR= /usr/include/dev/dec -INCS= clockvar.h dec_boot.h lk201.h mcclock_pad32.h mcclockvar.h +# Only install includes which are used by userland +INCS= lk201.h .include <bsd.kinc.mk> diff --git a/sys/dev/eisa/Makefile b/sys/dev/eisa/Makefile deleted file mode 100644 index f99c66f7729..00000000000 --- a/sys/dev/eisa/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $NetBSD: Makefile,v 1.3 1998/06/16 18:36:03 cgd Exp $ - -# use 'make -f Makefile.eisadevs' to make eisadevs.h and eisadevs_data.h - -INCSDIR= /usr/include/dev/eisa - -INCS= ahbreg.h eisadevs.h eisadevs_data.h eisareg.h eisavar.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/hpc/Makefile b/sys/dev/hpc/Makefile deleted file mode 100644 index b1220642829..00000000000 --- a/sys/dev/hpc/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2001/02/23 14:08:55 uch Exp $ - -INCSDIR= /usr/include/dev/hpc - -INCS= hpcfbio.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/i2c/Makefile b/sys/dev/i2c/Makefile deleted file mode 100644 index 4035e85b9c1..00000000000 --- a/sys/dev/i2c/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.1 1998/06/12 23:22:49 cgd Exp $ - -INCSDIR= /usr/include/dev/i2c - -INCS= i2c_bus.h i2c_eeprom.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/i2o/Makefile b/sys/dev/i2o/Makefile index 4edf3726783..9c03c7bd4aa 100644 --- a/sys/dev/i2o/Makefile +++ b/sys/dev/i2o/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2001/03/20 13:01:48 ad Exp $ +# $NetBSD: Makefile,v 1.4 2001/04/11 07:42:33 jdolecek Exp $ INCSDIR= /usr/include/dev/i2o +# Only install includes which are used by userland INCS= i2o.h iopio.h .include <bsd.kinc.mk> diff --git a/sys/dev/ic/Makefile b/sys/dev/ic/Makefile index 72a796e582c..7717976eafa 100644 --- a/sys/dev/ic/Makefile +++ b/sys/dev/ic/Makefile @@ -1,26 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2001/04/10 21:50:53 mjacob Exp $ +# $NetBSD: Makefile,v 1.18 2001/04/11 07:42:33 jdolecek Exp $ INCSDIR= /usr/include/dev/ic -INCS= ad1848reg.h ahareg.h ahavar.h aic6360reg.h aic6360var.h \ - aic77xxreg.h aic77xxvar.h aic7xxxvar.h am7930reg.h am7990reg.h \ - am7990var.h bhareg.h bhavar.h bt431reg.h bt459reg.h \ - bt463reg.h bt485reg.h bt8xx.h cacreg.h cacvar.h cd1190reg.h \ - cd1400reg.h comreg.h comvar.h cs4231reg.h cyreg.h \ - cyvar.h dc21040reg.h dl10019reg.h dp8390reg.h dp8390var.h dptreg.h \ - dptvar.h ds.h elink3reg.h elink3var.h hayespreg.h i8042reg.h \ - i82365reg.h i82365var.h i8237reg.h i8253reg.h i82586reg.h i82586var.h \ - i82595reg.h ics2101reg.h ims332reg.h intersil7170.h interwavereg.h \ - interwavevar.h ispmbox.h ispreg.h ispvar.h isp_ioctl.h lemacreg.h \ - lemacvar.h lptreg.h lptvar.h mb86960reg.h mb86960var.h mc146818reg.h \ - mc68450reg.h mc6845reg.h midwayreg.h midwayvar.h mlxio.h mlxreg.h \ - ncr5380reg.h ncr5380var.h ncr53c400reg.h ncr53c9xreg.h ncr53c9xvar.h \ - ne2000reg.h ne2000var.h \ - nec765reg.h ns16450reg.h ns16550reg.h opl3sa3reg.h pcdisplay.h \ - pcdisplayvar.h pckbcvar.h pdqreg.h pdqvar.h rrunnerreg.h rrunnervar.h \ - smc83c170reg.h smc83c170var.h smc90cx6reg.h smc91cxxreg.h \ - smc91cxxvar.h smc93cx6var.h st16650reg.h tms320av110reg.h \ - tms320av110var.h uhareg.h uhavar.h vgareg.h vgavar.h wdcreg.h \ - wdcvar.h z8530reg.h z8530sc.h +# Only install includes which are used by userland +INCS= isp_ioctl.h mlxreg.h mlxio.h rrunnerreg.h rrunnervar.h wdcreg.h .include <bsd.kinc.mk> diff --git a/sys/dev/ieee1394/Makefile b/sys/dev/ieee1394/Makefile deleted file mode 100644 index 9828db35034..00000000000 --- a/sys/dev/ieee1394/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2000/05/30 22:52:02 matt Exp $ - -INCSDIR= /usr/include/dev/ieee1394 - -INCS= ieee1394reg.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/isa/Makefile b/sys/dev/isa/Makefile deleted file mode 100644 index a5cf39da2e0..00000000000 --- a/sys/dev/isa/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# $NetBSD: Makefile,v 1.5 2001/03/23 23:14:32 briggs Exp $ - -INCSDIR= /usr/include/dev/isa - -INCS= ad1848var.h ariareg.h com_multi.h cs4231var.h elink.h esp_isavar.h \ - gusreg.h ics2101var.h if_aireg.h if_ecreg.h if_efreg.h if_egreg.h \ - if_elreg.h if_fereg.h if_ixreg.h if_levar.h isadmareg.h \ - isadmavar.h isareg.h isavar.h madreg.h mcdreg.h pasreg.h \ - pcdisplayvar.h pcppireg.h pcppivar.h pssreg.h satlinkio.h \ - satlinkreg.h sbdspvar.h sbreg.h sbvar.h spkrio.h vga_isavar.h \ - wdsreg.h weaselreg.h wssreg.h wssvar.h wtreg.h ymvar.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/isapnp/Makefile b/sys/dev/isapnp/Makefile deleted file mode 100644 index 4f7e442d246..00000000000 --- a/sys/dev/isapnp/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $NetBSD: Makefile,v 1.2 1998/07/23 19:30:44 christos Exp $ - -# use 'make -f Makefile.isapnpdevs' to make isapnpdevs.h and isapnpdevs.c - -INCSDIR= /usr/include/dev/isapnp - -INCS= if_levar.h isapnpreg.h isapnpvar.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/microcode/Makefile b/sys/dev/microcode/Makefile deleted file mode 100644 index 16e55fc36a7..00000000000 --- a/sys/dev/microcode/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.3 2001/01/05 23:17:48 martin Exp $ - -SUBDIR= aic7xxx isp - -INCSDIR= /usr/include/dev/microcode - -.include <bsd.kinc.mk> diff --git a/sys/dev/microcode/aic7xxx/Makefile b/sys/dev/microcode/aic7xxx/Makefile deleted file mode 100644 index 7f7596a431d..00000000000 --- a/sys/dev/microcode/aic7xxx/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $NetBSD: Makefile,v 1.5 2000/03/15 02:09:07 fvdl Exp $ - -# use 'make -f Makefile.sequencer headers' to make aic7xxx_seq.h and friends - -INCSDIR= /usr/include/dev/microcode/aic7xxx - -INCS= aic7xxx_seq.h aic7xxx_reg.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/microcode/isp/Makefile b/sys/dev/microcode/isp/Makefile deleted file mode 100644 index 88f097aad2b..00000000000 --- a/sys/dev/microcode/isp/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -# $NetBSD: Makefile,v 1.2 1999/08/26 07:58:58 mrg Exp $ - -.include <bsd.kinc.mk> diff --git a/sys/dev/mii/Makefile b/sys/dev/mii/Makefile deleted file mode 100644 index f025181db39..00000000000 --- a/sys/dev/mii/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# $NetBSD: Makefile,v 1.7 1999/12/07 19:36:37 thorpej Exp $ - -INCSDIR= /usr/include/dev/mii - -INCS= icsphyreg.h inphyreg.h iophyreg.h lxtphyreg.h mii.h miivar.h \ - nsphyreg.h nsphyterreg.h qsphyreg.h tlphyreg.h tlphyvar.h tqphyreg.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/ofisa/Makefile b/sys/dev/ofisa/Makefile deleted file mode 100644 index e83efd985d2..00000000000 --- a/sys/dev/ofisa/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.1 1998/06/12 23:22:52 cgd Exp $ - -INCSDIR= /usr/include/dev/ofisa - -INCS= ofisavar.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/ofw/Makefile b/sys/dev/ofw/Makefile deleted file mode 100644 index 7594f4fb79e..00000000000 --- a/sys/dev/ofw/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.3 2000/11/14 06:45:55 matt Exp $ - -INCSDIR= /usr/include/dev/ofw - -INCS= ofw_pci.h openfirm.h openfirmio.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/pci/Makefile b/sys/dev/pci/Makefile index 3d6f6673a04..d9bf996b393 100644 --- a/sys/dev/pci/Makefile +++ b/sys/dev/pci/Makefile @@ -1,11 +1,10 @@ -# $NetBSD: Makefile,v 1.6 1999/06/20 18:17:22 pk Exp $ +# $NetBSD: Makefile,v 1.7 2001/04/11 07:42:37 jdolecek Exp $ # use 'make -f Makefile.pcidevs' to make pcidevs.h and pcidevs_data.h INCSDIR= /usr/include/dev/pci -INCS= if_devar.h if_levar.h if_lmcioctl.h if_lmcvar.h if_lmc_types.h \ - if_tlregs.h ncrreg.h pcidevs.h pcidevs_data.h pciidereg.h pciidevar.h \ - pcireg.h pcivar.h ppbreg.h tgareg.h tgavar.h vga_pcivar.h +# Only install includes which are used by userland +INCS= if_lmc_types.h if_lmcioctl.h tgareg.h .include <bsd.kinc.mk> diff --git a/sys/dev/pckbc/Makefile b/sys/dev/pckbc/Makefile index 47024f61dbf..272dc45c1c0 100644 --- a/sys/dev/pckbc/Makefile +++ b/sys/dev/pckbc/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1 1998/06/12 23:22:54 cgd Exp $ +# $NetBSD: Makefile,v 1.2 2001/04/11 07:42:37 jdolecek Exp $ INCSDIR= /usr/include/dev/pckbc -INCS= pckbdreg.h pckbdvar.h psmreg.h +# Only install includes which are used by userland +INCS= pckbdreg.h .include <bsd.kinc.mk> diff --git a/sys/dev/pcmcia/Makefile b/sys/dev/pcmcia/Makefile index 6212d8c8200..6ef37c4c174 100644 --- a/sys/dev/pcmcia/Makefile +++ b/sys/dev/pcmcia/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.4 1999/11/29 12:53:59 itojun Exp $ +# $NetBSD: Makefile,v 1.5 2001/04/11 07:42:38 jdolecek Exp $ # use 'make -f Makefile.pcmciadevs' to make pcmciadevs.h and pcmciadevs_data.h INCSDIR= /usr/include/dev/pcmcia -INCS= pcmciachip.h pcmciareg.h pcmciavar.h if_wi_ieee.h if_cnwioctl.h +# Only install includes which are used by userland +INCS= if_wi_ieee.h if_cnwioctl.h .include <bsd.kinc.mk> diff --git a/sys/dev/rasops/Makefile b/sys/dev/rasops/Makefile deleted file mode 100644 index 5a6279f723b..00000000000 --- a/sys/dev/rasops/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.1 1999/04/13 00:17:57 ad Exp $ - -INCSDIR= /usr/include/dev/rasops - -INCS= rasops.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/rcons/Makefile b/sys/dev/rcons/Makefile deleted file mode 100644 index 10dc8395174..00000000000 --- a/sys/dev/rcons/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.2 1999/04/13 18:43:17 ad Exp $ - -INCSDIR= /usr/include/dev/rcons - -INCS= raster.h rcons.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/sbus/Makefile b/sys/dev/sbus/Makefile deleted file mode 100644 index 811a1f576a1..00000000000 --- a/sys/dev/sbus/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.2 1998/07/28 08:45:46 augustss Exp $ - -INCSDIR= /usr/include/dev/sbus - -INCS= mbppio.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/scsipi/Makefile b/sys/dev/scsipi/Makefile index e838296a4a6..3e0bfff091c 100644 --- a/sys/dev/scsipi/Makefile +++ b/sys/dev/scsipi/Makefile @@ -1,11 +1,9 @@ -# $NetBSD: Makefile,v 1.2 2000/02/20 07:39:41 mjacob Exp $ +# $NetBSD: Makefile,v 1.3 2001/04/11 07:42:39 jdolecek Exp $ INCSDIR= /usr/include/dev/scsipi -INCS= atapi_all.h atapi_cd.h atapi_disk.h atapiconf.h cdvar.h scsi_all.h \ - scsi_cd.h scsi_changer.h scsi_ctron_ether.h scsi_disk.h \ - scsi_message.h scsi_scanner.h scsi_tape.h scsiconf.h scsipi_all.h \ - scsipi_base.h scsipi_cd.h scsipi_debug.h scsipi_disk.h scsipiconf.h \ - sdvar.h ses.h ss_mustek.h ssvar.h +# Only install includes which are used by userland +INCS= scsipi_all.h scsi_all.h scsipi_debug.h scsi_disk.h \ + scsipiconf.h scsiconf.h ses.h .include <bsd.kinc.mk> diff --git a/sys/dev/std/Makefile b/sys/dev/std/Makefile deleted file mode 100644 index 26c4ed565f2..00000000000 --- a/sys/dev/std/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2000/06/15 03:43:40 matt Exp $ - -INCSDIR= /usr/include/dev/std - -INCS= ieee1212reg.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/sun/Makefile b/sys/dev/sun/Makefile index 2c93ff9b8c4..bc652d45475 100644 --- a/sys/dev/sun/Makefile +++ b/sys/dev/sun/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2000/08/20 14:00:43 pk Exp $ +# $NetBSD: Makefile,v 1.4 2001/04/11 07:42:40 jdolecek Exp $ INCSDIR= /usr/include/dev/sun -INCS= event_var.h kbd_tables.h kbd_xlate.h disklabel.h fbio.h +# Only install includes which are used by userland +INCS= disklabel.h .include <bsd.kinc.mk> diff --git a/sys/dev/tc/Makefile b/sys/dev/tc/Makefile deleted file mode 100644 index 5b8eb8bf8e5..00000000000 --- a/sys/dev/tc/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $NetBSD: Makefile,v 1.7 2000/12/17 13:52:03 ad Exp $ - -# use 'make -f Makefile.tcdevs' to make tcdevs.h and tcdevs_data.h - -INCSDIR= /usr/include/dev/tc - -INCS= ascvar.h if_levar.h ioasicreg.h ioasicvar.h sfbreg.h \ - sticreg.h sticvar.h tcdevs.h tcdevs_data.h tcdsreg.h tcdsvar.h \ - tcreg.h tcvar.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/vme/Makefile b/sys/dev/vme/Makefile deleted file mode 100644 index 60b730d9446..00000000000 --- a/sys/dev/vme/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.1 1998/06/12 23:22:59 cgd Exp $ - -INCSDIR= /usr/include/dev/vme - -INCS= vmevar.h xdreg.h xdvar.h xio.h xyreg.h xyvar.h - -.include <bsd.kinc.mk> diff --git a/sys/dev/wsfont/Makefile b/sys/dev/wsfont/Makefile deleted file mode 100644 index 1680b36b2e2..00000000000 --- a/sys/dev/wsfont/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $NetBSD: Makefile,v 1.1 1999/04/13 00:24:05 ad Exp $ - -INCSDIR= /usr/include/dev/wsfont - -INCS= wsfont.h - -.include <bsd.kinc.mk> |
