1e530e044SWarner Losh 2cdfa64aaSAlan Somers.include <src.opts.mk> 3cdfa64aaSAlan Somers 43741a56cSMatt MacyWARNS?= 3 5ea0850e4SEmmanuel VadotPACKAGE=devd 644e1285cSBrad DavisCONFGROUPS= CONFS DEVD 744e1285cSBrad DavisCONFS= devd.conf 844e1285cSBrad DavisDEVD= devmatch.conf 944e1285cSBrad DavisDEVDDIR= /etc/devd 1044e1285cSBrad Davis.if ${MK_ACPI} != "no" 1144e1285cSBrad DavisDEVD+= asus.conf 1244e1285cSBrad Davis.endif 1344e1285cSBrad Davis 14*32fdac77SEmmanuel VadotCONFGROUPS+= AUTOFS 15*32fdac77SEmmanuel VadotAUTOFSDIR= ${DEVDDIR} 16*32fdac77SEmmanuel VadotAUTOFS+= autofs.conf 17*32fdac77SEmmanuel VadotAUTOFSPACKAGE= autofs 18*32fdac77SEmmanuel Vadot 19f4d9116dSEmmanuel VadotCONFGROUPS+= DHCLIENT 20f4d9116dSEmmanuel VadotDHCLIENTDIR= ${DEVDDIR} 21f4d9116dSEmmanuel VadotDHCLIENT+= dhclient.conf 22f4d9116dSEmmanuel VadotDHCLIENTPACKAGE= dhclient 23f4d9116dSEmmanuel Vadot 242878e21fSEmmanuel VadotCONFGROUPS+= POWERPROFILE 252878e21fSEmmanuel VadotPOWERPROFILEDIR= ${DEVDDIR} 262878e21fSEmmanuel VadotPOWERPROFILE+= power_profile.conf 272878e21fSEmmanuel VadotPOWERPROFILEPACKAGE= acpi 282878e21fSEmmanuel Vadot 29cab549c7SEmmanuel VadotCONFGROUPS+= CONSOLE 30cab549c7SEmmanuel VadotCONSOLEDIR= ${DEVDDIR} 31cab549c7SEmmanuel VadotCONSOLE+= moused.conf syscons.conf 32cab549c7SEmmanuel VadotCONSOLEPACKAGE= console-tools 33cab549c7SEmmanuel Vadot 349150a045SEmmanuel Vadot.if ${MK_BLUETOOTH} != "no" 359150a045SEmmanuel VadotCONFGROUPS+= BLUETOOTH 369150a045SEmmanuel VadotBLUETOOTHDIR= ${DEVDDIR} 379150a045SEmmanuel VadotBLUETOOTH+= bluetooth.conf 389150a045SEmmanuel VadotBLUETOOTHPACKAGE= bluetooth 399150a045SEmmanuel Vadot.endif 409150a045SEmmanuel Vadot 4144e1285cSBrad Davis.if ${MK_HYPERV} != "no" 427ac164dcSMina GalićCONFGROUPS+= HYPERV 437ac164dcSMina GalićHYPERVDIR=${DEVDDIR} 447ac164dcSMina GalićHYPERV+= hyperv.conf 457ac164dcSMina GalićHYPERVPACKAGE= hyperv-tools 4644e1285cSBrad Davis.endif 4744e1285cSBrad Davis 4844e1285cSBrad Davis.if ${MK_USB} != "no" 4944e1285cSBrad DavisDEVD+= uath.conf ulpt.conf 5044e1285cSBrad Davis.endif 5144e1285cSBrad Davis 5244e1285cSBrad Davis.if ${MACHINE_ARCH} == "powerpc" 5344e1285cSBrad DavisDEVD+= apple.conf 5444e1285cSBrad Davis.endif 5544e1285cSBrad Davis 5644e1285cSBrad Davis.if ${MK_ZFS} != "no" 5744e1285cSBrad DavisDEVD+= zfs.conf 5844e1285cSBrad Davis.endif 5944e1285cSBrad Davis 603054f218SWarner LoshPROG_CXX=devd 613054f218SWarner LoshSRCS= devd.cc token.l parse.y y.tab.h 629f887a80STim J. RobbinsMAN= devd.8 devd.conf.5 639538bab3SJohn Birrell 64e6f059a9SBaptiste DaroussinLIBADD= util 65e530e044SWarner Losh 66e530e044SWarner LoshYFLAGS+=-v 67e530e044SWarner LoshCFLAGS+=-I. -I${.CURDIR} 68695a3b29SEitan AdlerCFLAGS.clang += -Wno-missing-variable-declarations 69e8d9a1edSEitan AdlerCFLAGS.gcc = -Wno-redundant-decls 70e8d9a1edSEitan AdlerCXXFLAGS.gcc = -Wno-redundant-decls 71e530e044SWarner Losh 720bc60783SEitan AdlerCLEANFILES= y.output y.tab.i 73e530e044SWarner Losh 74d511b20aSEnji CooperHAS_TESTS= 754b330699SEnji CooperSUBDIR.${MK_TESTS}+= tests 76cdfa64aaSAlan Somers 77e530e044SWarner Losh.include <bsd.prog.mk> 78