MAKEFILE(4)
π NAME π
makefile β like, the entire guest list for man 4 on NetBSD, no cap π
π¦ OKAY SO WHAT EVEN IS THIS π¦
bestie. this isn't one of those pages that explains a single command. this is the Makefile from the section-4 man directory, and it is literally a list. a big beautiful chaotic list of every .4 page that gets built. it's giving inventory spreadsheet but make it fashion β¨
here's the whole vibe:
MAN=starts the roster β everything after it is a man page name that goes in the build πMAN+=keeps adding to that same roster. it appends. it does not replace. icon behaviour, honestly π«ΆMLINKS+=takes two names β so the second one is another way to reach the same page πSUBDIR=points at a whole pile of per-architecture subdirectories π
and yes, the file writes it both MAN+= and MAN += (with a space) in different places. i noticed. i'm not fixing it. it's character π
okay. deep breath. let's go through it in order, because the order matters and i am NOT about to rearrange somebody's Makefile π§
π THE BIG MAN= LIST π
this is the main character right here β hundreds of pages, one assignment. look at her go π
MAN= aac.4 ac97.4 acardide.4 aceride.4 acphy.4 adbbt.4 adbkbd.4 adbms.4 adc.4
adm1026hm.4 admtemp.4 adv.4 adw.4 age.4 agp.4 agr.4 ahb.4 ahc.4 ahcisata.4
ahd.4 aht20temp.4 aibs.4 alc.4 ale.4 alipm.4 altmem.4 altq.4 am2315temp.4
amdgpio.4 amdpm.4 amdtemp.4 amhphy.4 amr.4 aps.4 asus.4 an.4 aq.4 arcmsr.4
arcofi.4 aria.4 artsata.4 ata.4 atalk.4 ataraid.4 ath.4 athn.4 atphy.4
atppc.4 attimer.4 atw.4 auacer.4 audio.4 audiocs.4 auich.4 auixp.4 autri.4
auvia.4 awi.4 battery_pmu.4 bba.4 bce.4 bcsp.4 be.4 bge.4 bnx.4 bha.4 bio.4
bktr.4 bluetooth.4 bmx280thp.4 bmtphy.4 bpf.4 bpfjit.4 brgphy.4 bridge.4
bthidev.4 bthub.4 btkbd.4 btmagic.4 btms.4 btsco.4 btuart.4 bwfm.4 bwi.4
cac.4 can.4 canloop.4 cardbus.4 carp.4 cas.4 ccd.4 cd.4 cec.4 cgd.4 cfb.4
ch.4 chipsfb.4 ciphy.4 ciss.4 clcs.4 clct.4 clockctl.4 cmdide.4 cmpci.4
cms.4 cnw.4 com.4 coram.4 crypto.4 cs80bus.4 cuda.4 cypide.4 cxdtv.4 ddb.4
ddc.4 dge.4 dk.4 dm.4 dmoverio.4 dmphy.4 dpt.4 dpti.4 drm.4 drum.4 drvctl.4
ds2482ow.4 ds28e17iic.4 dse.4 dtv.4 dtviic.4 dwctwo.4 eap.4 ebus.4 edc.4
elmc.4 emcfan.4 emuxki.4 ena.4 envsys.4 ep.4 eqos.4 esa.4 esiop.4 esm.4
eso.4 et.4 etphy.4 exphy.4 fd.4 finsio.4 flash.4 fms.4 fss.4 fujbp.4 full.4
fxp.4 gcscaudio.4 gem.4 genet.4 genfb.4 gentbi.4 geodeide.4 glxtphy.4 gpib.4
gpio.4 gpioirq.4 gpiolock.4 gpiopps.4 gpiopwm.4 gpiosim.4 gre.4 gphyter.4
gscan.4 gsip.4 hdaudio.4 hifn.4 hme.4 hpacel.4 hpqlb.4 hptide.4 hvn.4
hythygtemp.4 iavf.4 ibmcd.4 ibmhawk.4 ichsmb.4 icmp.4 icp.4 icsphy.4 iee.4
ieee80211.4 ietp.4 ifmedia.4 igc.4 igmafb.4 igphy.4 igpio.4 igsfb.4 iha.4
ihidev.4 ihphy.4 iic.4 ims.4 inet.4 ikphy.4 inphy.4 intersil7170.4 intro.4
ioasic.4 ioat.4 iop.4 iophy.4 iopsp.4 ip.4 ipgphy.4 ipmi.4 ipw.4 irmce.4
isp.4 ismt.4 isv.4 itesio.4 iteide.4 iwi.4 iwm.4 iwn.4 ixg.4 ixl.4 ixpide.4
ixv.4 jme.4 jmide.4 jmphy.4 joy.4 kcov.4 kloader.4 kse.4 ksyms.4 kttcp.4
l2tp.4 lagg.4 lc.4 ld.4 lii.4 lo.4 lua.4 lxtphy.4 machfb.4 mainbus.4
makphy.4 malo.4 mbe.4 mca.4 mcclock.4 mcommphy.4 mcx.4 md.4 mfb.4 mfi.4
mfii.4 mhzc.4 micphy.4 midi.4 mii.4 mk48txx.4 mlx.4 mly.4 mpls.4 mpii.4
mpt.4 mpu.4 mtd.4 mtio.4 msm6242b.4 multicast.4 mvsata.4 nadb.4 ne.4 neo.4
netintro.4 nfe.4 nfsmb.4 njata.4 njs.4 npflog.4 nsclpcsio.4 nside.4 nsphy.4
nsphyter.4 ntwoc.4 null.4 nvme.4 nvmm.4 oak.4 oosiop.4 opl.4 options.4
optiide.4 osiop.4 otus.4 pad.4 pas.4 pcdisplay.4 pcf8563rtc.4 pciide.4
pckbc.4 pckbd.4 pcn.4 pcppi.4 pcscp.4 pcweasel.4 pdcide.4 pdcsata.4
piixide.4 piixpcib.4 piixpm.4 pim.4 plip.4 pm3fb.4 pms.4 pmu.4 pnaphy.4
ppbus.4 ppp.4 pppoe.4 pseye.4 ptcd.4 ptm.4 pty.4 puc.4 pud.4 puffs.4
pwdog.4 px.4 pxagpio.4 pxaip.4 pxg.4 qat.4 qe.4 qec.4 qemufwcfg.4 qsphy.4
r128fb.4 radeonfb.4 raid.4 ral.4 ray.4 rcons.4 rdcphy.4 re.4 rge.4 rgephy.4
rlphy.4 rnd.4 route.4 rs5c372rtc.4 rtk.4 rtsx.4 rtw.4 rtwn.4 rum.4 run.4
s390rtc.4 satalink.4 sbus.4 schide.4 scmd.4 scmdi2c.4 scmdspi.4 scsi.4
sctp.4 sd.4 se.4 seeprom.4 sem.4 ses.4 sf.4 sfb.4 sgp40mox.4 sgsmix.4 shb.4
shmif.4 shpcic.4 sht3xtemp.4 sht4xtemp.4 si70xxtemp.4 siisata.4 siop.4
sip.4 siside.4 sk.4 sl.4 slide.4 sm.4 smscphy.4 smsh.4 sn.4 sony.4 spc.4
speaker.4 spif.4 sqphy.4 srt.4 ss.4 ssdfb.4 st.4 ste.4 stge.4 sti.4
stpcide.4 sv.4 svwsata.4 swsensor.4 swwdog.4 sysmon.4 tap.4 tc.4 tcds.4
tcp.4 tcu.4 tdvfb.4 tea5767radio.4 termios.4 tfb.4 thinkpad.4 ti.4 tl.4
tlp.4 tlphy.4 tpm.4 tprof.4 tra.4 trm.4 tsllux.4 tty.4 tun.4 tqphy.4
twa.4 twe.4 txp.4 uark.4 ubsec.4 udp.4 uep.4 ug.4 uha.4 uk.4 ukphy.4 umb.4
umcpmio.4 unix.4 userconf.4 vald.4 valz.4 veriexec.4 vga.4 vge.4 viaide.4
video.4 vio9p.4 viogpu.4 viocon.4 vioif.4 viomb.4 viornd.4 vioscsi.4 virt.4
virtio.4 vether.4 vlan.4 vmmon.4 vmnet.4 vmt.4 vmx.4 vnd.4 voodoofb.4 vr.4
vte.4 wapbl.4 wb.4 wbsio.4 wd.4 wdc.4 wg.4 wi.4 wm.4 wpi.4 wsbell.4
wscons.4 wsdisplay.4 wsfont.4 wskbd.4 wsmouse.4 wsmux.4 xbox.4 xge.4
yds.4 ym.4 wwanc.4 zero.4 zstty.4 zyd.4
likeβ¦ she's long. and every single one of those is a real page, and yes you can go read any of them. obsessed π«Ά
π USB devices π
the USB crowd. all the little dongles you've ever lost in a drawer π
MAN+= atu.4 aubtfwl.4 aue.4 axe.4 axen.4 cdce.4 cue.4 ehci.4 kue.4 mos.4 mue.4
ncm.4 ohci.4 slhci.4 slurm.4 stuirda.4 u3g.4 ualea.4 uatp.4 uaudio.4
uberry.4 ubsa.4 ubt.4 uchcom.4 ucom.4 ucycom.4 udav.4 udl.4 udsbr.4
uftdi.4 ugen.4 ugensa.4 uhci.4 uhid.4 uhidev.4 uhmodem.4 uhso.4 uintuos.4
uipad.4 uipaq.4 uirda.4 ukbd.4 ukyopon.4 ulpt.4 umass.4 umcs.4 umct.4
umidi.4 umodem.4 ums.4 upgt.4 upl.4 uplcom.4 ure.4 url.4 urndis.4 urtw.4
urtwn.4 usb.4 usbnet.4 uslsa.4 usmsc.4 usscanner.4 ustir.4 uthum.4
utoppy.4 uts.4 uvideo.4 uvisor.4 uvscom.4 uxrcom.4 xhci.4
π¦ Ir devices π¦
infrared!! genuinely vintage small-beautiful energy π§ β note how the smccir.4 line carries a # in the file. i am showing it to you exactly as it's written and i am not going to touch it:
MAN+= irframe.4 cir.4 irframetty.4 oboe.4
# smccir.4
β¨ ACPI devices β¨
power management besties, plus apei.4 riding along on its own MAN+= π
MAN+= acpi.4 acpiacad.4 acpibat.4 acpibut.4 acpicpu.4 acpidalb.4 acpiec.4
acpifan.4 acpihed.4 acpilid.4 acpipmtr.4 acpismbus.4 acpitz.4 acpivga.4
acpivmgenid.4 acpiwdrt.4 acpiwmi.4
MAN+= apei.4
π» Radio devices π»
yes the # at the start of the label line is doing what you think it's doing. copyin' it faithfully, don't @ me π
MAN+= radio.4 az.4 gtp.4 rt.4 rtii.4 sf2r.4
π machine-independent busses π
two MAN+= lines, still one family π«Ά
MAN+= eisa.4 gpioiic.4 isa.4 isapnp.4 ofisa.4 pci.4 pcmcia.4
MAN+= podulebus.4 ieee1394if.4 spi.4
β‘ machine-independent PCI devices β‘
tiny section, huge early-2000s energy:
MAN+= cz.4 epic.4 viaenv.4
πΉ machine-independent ISA devices πΉ
legacy icon behaviour. this is the entire retro aisle of the man pages π
MAN+= aha.4 ai.4 aic.4 ast.4 ate.4 boca.4 cs.4 cy.4 ec.4 ef.4 eg.4 el.4 esp.4
ess.4 ex.4 fmv.4 gus.4 guspnp.4 ix.4 iy.4 le.4 lm.4 mcd.4 nca.4 nct.4
rtfps.4 sb.4 sea.4 smsc.4 tcom.4 wds.4 we.4 wss.4 wt.4
π³ machine-independent PCMCIA devices π³
the "my laptop has a slot and i have opinions about it" collection πΈ
MAN+= bt3c.4 btbc.4 pcic.4 tcic.4 pcmcom.4 xi.4 xirc.4
π machine-independent obio (mac68k and macppc) devices π
literally just these four and honestly, slay π
MAN+= adb.4 akbd.4 ams.4 mc.4
π§© machine-independent podulebus devices π§©
MAN+= dtide.4 ea.4 eb.4 ei.4 hcide.4 sec.4
π machine-independent VME devices π
two whole pages. minimalism π
MAN+= sc.4 si.4
π machine-independent IEEE1394 devices π
firewire girlies rise π
MAN+= fwohci.4 fwip.4 sbp.4
π‘ machine-independent I2C devices π‘
temperature/power-monitor city. this is where all my fave little sensor pages live ngl:
MAN+= dbcool.4 g760a.4 lmenv.4 lmtemp.4 mcp980x.4 mpl115a.4 sdtemp.4 smscmon.4
spdmem.4 tps65217pmic.4
π§΅ machine-independent SPI devices π§΅
careful, this one is written MAN += with a space and then immediately followed by a MLINKS+= line. i'm pointing it out because it's cute π
MAN += m25p.4 mcpgpio.4 mcp3kadc.4 mcp48x1dac.4 tm121temp.4
MLINKS+= mcpgpio.4 mcp23s17gpio.4
πΎ machine-independent SD/MMC devices πΎ
also a MAN += with the space. consistency? never heard of her π
MAN += sbt.4 sdhc.4 sdmmc.4
π machine-independent HIL devices π
another space-y MAN +=:
MAN += hil.4 hilkbd.4 hilid.4 hilms.4
π IPv6/IPsec π
MAN+= faith.4 gif.4 inet6.4 icmp6.4 ip6.4 ipsec.4 ipsecif.4 stf.4
π onewire bus and devices π
one wire. three pages. immaculate β¨
MAN+= gpioow.4 onewire.4 owtemp.4
πΎ machine-independent Xen devices πΎ
MAN+= pciback.4 xbd.4 xbdback.4 xenbus.4 xennet.4 xpci.4 xvif.4
πΊ DTV drivers πΊ
MAN+= auvitek.4 emdtv.4
π‘ DTV I2C modules π‘
here's where it's all MLINKS+=, each pair linking the module page to dtviic.4 π¦
MLINKS+= dtviic.4 au8522.4
MLINKS+= dtviic.4 cx24227.4
MLINKS+= dtviic.4 lg3303.4
MLINKS+= dtviic.4 mt2131.4
MLINKS+= dtviic.4 nxt2k.4
MLINKS+= dtviic.4 zl10353.4
MLINKS+= dtviic.4 tvpll.4
MLINKS+= dtviic.4 xc3028.4
MLINKS+= dtviic.4 xc5k.4
π¬ DRM devices π¬
all the graphics pages, all pointing back at drm.4 π₯
MLINKS+= drm.4 i915drm.4
MLINKS+= drm.4 mach64drm.4
MLINKS+= drm.4 mgadrm.4
MLINKS+= drm.4 r128drm.4
MLINKS+= drm.4 radeondrm.4
MLINKS+= drm.4 savagedrm.4
MLINKS+= drm.4 sisdrm.4
MLINKS+= drm.4 tdfxdrm.4
π the big MLINKS+= pile π
okay bestie this is the long one. every line is a pair: page, then alternate name. i kept them all, in order, exactly π
MLINKS+= acpiec.4 acpiecdt.4
MLINKS+= acpivga.4 acpiout.4
MLINKS+= acpiwmi.4 wmidell.4
MLINKS+= acpiwmi.4 wmieeepc.4
MLINKS+= acpiwmi.4 wmihp.4
MLINKS+= acpiwmi.4 wmimsi.4
MLINKS+= ahcisata.4 ahci.4
MLINKS+= aibs.4 aiboost.4
MLINKS+= ata.4 atabus.4
MLINKS+= audio.4 audioctl.4
MLINKS+= audio.4 mixer.4
MLINKS+= audio.4 sound.4
MLINKS+= bha.4 bt.4
MLINKS+= bktr.4 vbi.4
MLINKS+= cardbus.4 cardslot.4
MLINKS+= cardbus.4 cbb.4
MLINKS+= crypto.4 swcrypto.4
MLINKS+= dbcool.4 dbCool.4
MLINKS+= dbcool.4 adm1027.4
MLINKS+= dbcool.4 adm1030.4
MLINKS+= dbcool.4 adt7463.4
MLINKS+= dbcool.4 adt7466.4
MLINKS+= dbcool.4 adt7467.4
MLINKS+= dbcool.4 adt7468.4
MLINKS+= dbcool.4 adt7473.4
MLINKS+= dbcool.4 adt7475.4
MLINKS+= dbcool.4 adt7476.4
MLINKS+= dk.4 wedge.4
MLINKS+= fd.4 stderr.4
MLINKS+= fd.4 stdin.4
MLINKS+= fd.4 stdout.4
MLINKS+= fujbp.4 fujhk.4
MLINKS+= hdaudio.4 hdafg.4
MLINKS+= hdaudio.4 hdaudiobus.4
MLINKS+= icp.4 icpsp.4
MLINKS+= irframe.4 irda.4
MLINKS+= le.4 bicc.4
MLINKS+= le.4 nele.4
MLINKS+= le.4 depca.4
MLINKS+= midi.4 music.4
MLINKS+= midi.4 rmidi.4
MLINKS+= midi.4 sequencer.4
MLINKS+= mii.4 phy.4
MLINKS+= netintro.4 networking.4
MLINKS+= nfsmb.4 nfsmbc.4
MLINKS+= ntwoc.4 ntwo.4
MLINKS+= pci.4 pceb.4
MLINKS+= pci.4 pchb.4
MLINKS+= pci.4 pcib.4
MLINKS+= pci.4 ppb.4
MLINKS+= pcppi.4 isabeep.4
MLINKS+= pcppi.4 sysbeep.4
MLINKS+= pms.4 pmsi.4
MLINKS+= rcons.4 rasterconsole.4
MLINKS+= rnd.4 random.4
MLINKS+= rnd.4 urandom.4
MLINKS+= scsi.4 atapi.4
MLINKS+= scsi.4 atapibus.4
MLINKS+= scsi.4 scsibus.4
MLINKS+= si.4 sw.4
MLINKS+= sk.4 skc.4
MLINKS+= sk.4 msk.4
MLINKS+= sk.4 mskc.4
MLINKS+= sl.4 slip.4
MLINKS+= speaker.4 spkr.4
MLINKS+= tty.4 dty.4
MLINKS+= url.4 urlphy.4
MLINKS+= usb.4 uhub.4
MLINKS+= usb.4 usbtask.4
MLINKS+= wwanc.4 wwan.4
MLINKS+= wsmux.4 wsmuxctl.4
MLINKS+= zstty.4 zs.4
MLINKS+= zstty.4 zsc.4
(and yeah β dbCool.4 really does have a capital C in there. that's not me being sloppy, that's the file π)
π©Ή This is a hack π©Ή
the file says it, not me. literally, quote:
# This is a hack
MLINKS+= edc.4 i386/ed.4
respect the honesty π
π SUBDIR π
every per-architecture man subdirectory, all in one assignment. this is the "and also check in on all of my children" line π«Ά
SUBDIR= man4.acorn32 man4.alpha man4.amiga man4.arc man4.atari man4.cobalt
man4.dreamcast man4.emips man4.evbarm man4.evbmips man4.evbppc
man4.hp300 man4.hpcarm man4.hpcmips man4.hpcsh man4.hppa man4.i386
man4.luna68k man4.mac68k man4.macppc man4.mvme68k man4.pmax man4.prep
man4.sandpoint man4.sgimips man4.sparc man4.sparc64 man4.sun2
man4.sun3 man4.vax man4.x68k man4.x86
quick vibe check bestie: everything above is a list of filenames and make variables. if you ever edit this thing, you're editing the roster of what gets built β so type carefully, okay? π
π§ the sign-off π§
okay that's the whole page!! and because i would never leave you hanging on the receipts π β this file's version control header reads $NetBSD: Makefile,v 1.747.2.1 2025/08/29 15:11:45 martin Exp $ (so: revision 1.747.2.1, dated 2025/08/29 at 15:11:45, touched by martin β¨), and the older Berkeley lineage line underneath it says @(#)Makefile 8.1 (Berkeley) 6/18/93 β Berkeley, 8.1, 6/18/93 π
go forth and man 4 something iconic, bestie π¦ππ
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms