1cdfa64aaSAlan Somers.include <src.opts.mk> 2cdfa64aaSAlan Somers 35e50df6dSWarner LoshWARNS?= 6 4ea0850e4SEmmanuel VadotPACKAGE=devd 544e1285cSBrad DavisCONFGROUPS= CONFS DEVD 644e1285cSBrad DavisCONFS= devd.conf 744e1285cSBrad DavisDEVD= devmatch.conf 844e1285cSBrad DavisDEVDDIR= /etc/devd 944e1285cSBrad Davis.if ${MK_ACPI} != "no" 1044e1285cSBrad DavisDEVD+= asus.conf 1144e1285cSBrad Davis.endif 1244e1285cSBrad Davis 13272b4b76STijl Coosemans.if ${MK_AUTOFS} != "no" 14b3c116d5SEmmanuel VadotCONFGROUPS+= AUTOFS 15b3c116d5SEmmanuel VadotAUTOFSDIR= ${DEVDDIR} 16b3c116d5SEmmanuel VadotAUTOFS+= autofs.conf 17b3c116d5SEmmanuel VadotAUTOFSPACKAGE= autofs 18272b4b76STijl Coosemans.endif 19b3c116d5SEmmanuel Vadot 20f4d9116dSEmmanuel VadotCONFGROUPS+= DHCLIENT 21f4d9116dSEmmanuel VadotDHCLIENTDIR= ${DEVDDIR} 22f4d9116dSEmmanuel VadotDHCLIENT+= dhclient.conf 23f4d9116dSEmmanuel VadotDHCLIENTPACKAGE= dhclient 24f4d9116dSEmmanuel Vadot 252878e21fSEmmanuel VadotCONFGROUPS+= POWERPROFILE 262878e21fSEmmanuel VadotPOWERPROFILEDIR= ${DEVDDIR} 272878e21fSEmmanuel VadotPOWERPROFILE+= power_profile.conf 282878e21fSEmmanuel VadotPOWERPROFILEPACKAGE= acpi 292878e21fSEmmanuel Vadot 30cab549c7SEmmanuel VadotCONFGROUPS+= CONSOLE 31cab549c7SEmmanuel VadotCONSOLEDIR= ${DEVDDIR} 32cab549c7SEmmanuel VadotCONSOLE+= moused.conf syscons.conf 33cab549c7SEmmanuel VadotCONSOLEPACKAGE= console-tools 34cab549c7SEmmanuel Vadot 359150a045SEmmanuel Vadot.if ${MK_BLUETOOTH} != "no" 369150a045SEmmanuel VadotCONFGROUPS+= BLUETOOTH 379150a045SEmmanuel VadotBLUETOOTHDIR= ${DEVDDIR} 389150a045SEmmanuel VadotBLUETOOTH+= bluetooth.conf 399150a045SEmmanuel VadotBLUETOOTHPACKAGE= bluetooth 409150a045SEmmanuel Vadot.endif 419150a045SEmmanuel Vadot 4244e1285cSBrad Davis.if ${MK_HYPERV} != "no" 437ac164dcSMina GalićCONFGROUPS+= HYPERV 447ac164dcSMina GalićHYPERVDIR=${DEVDDIR} 457ac164dcSMina GalićHYPERV+= hyperv.conf 467ac164dcSMina GalićHYPERVPACKAGE= hyperv-tools 4744e1285cSBrad Davis.endif 4844e1285cSBrad Davis 49*5c59cec2SJohn BaldwinCONFGROUPS+= NVME 50*5c59cec2SJohn BaldwinNVMEDIR= ${DEVDDIR} 51*5c59cec2SJohn BaldwinNVME+= nvmf.conf 52*5c59cec2SJohn BaldwinNVMEPACKAGE= nvme-tools 53*5c59cec2SJohn Baldwin 5444e1285cSBrad Davis.if ${MK_USB} != "no" 5544e1285cSBrad DavisDEVD+= uath.conf ulpt.conf 5644e1285cSBrad Davis.endif 5744e1285cSBrad Davis 5844e1285cSBrad Davis.if ${MACHINE_ARCH} == "powerpc" 5944e1285cSBrad DavisDEVD+= apple.conf 6044e1285cSBrad Davis.endif 6144e1285cSBrad Davis 6244e1285cSBrad Davis.if ${MK_ZFS} != "no" 6344e1285cSBrad DavisDEVD+= zfs.conf 6444e1285cSBrad Davis.endif 6544e1285cSBrad Davis 663054f218SWarner LoshPROG_CXX=devd 673054f218SWarner LoshSRCS= devd.cc token.l parse.y y.tab.h 689f887a80STim J. RobbinsMAN= devd.8 devd.conf.5 699538bab3SJohn Birrell 70e6f059a9SBaptiste DaroussinLIBADD= util 71e530e044SWarner Losh 72e530e044SWarner LoshYFLAGS+=-v 73e530e044SWarner LoshCFLAGS+=-I. -I${.CURDIR} 74695a3b29SEitan AdlerCFLAGS.clang += -Wno-missing-variable-declarations 75e8d9a1edSEitan AdlerCFLAGS.gcc = -Wno-redundant-decls 76e8d9a1edSEitan AdlerCXXFLAGS.gcc = -Wno-redundant-decls 77e530e044SWarner Losh 780bc60783SEitan AdlerCLEANFILES= y.output y.tab.i 79e530e044SWarner Losh 80d511b20aSEnji CooperHAS_TESTS= 814b330699SEnji CooperSUBDIR.${MK_TESTS}+= tests 82cdfa64aaSAlan Somers 83e530e044SWarner Losh.include <bsd.prog.mk> 84