1e530e044SWarner Losh# $FreeBSD$ 2e530e044SWarner Losh 3cdfa64aaSAlan Somers.include <src.opts.mk> 4cdfa64aaSAlan Somers 53741a56cSMatt MacyWARNS?= 3 6ea0850e4SEmmanuel VadotPACKAGE=devd 744e1285cSBrad DavisCONFGROUPS= CONFS DEVD 844e1285cSBrad DavisCONFS= devd.conf 944e1285cSBrad DavisDEVD= devmatch.conf 1044e1285cSBrad DavisDEVDDIR= /etc/devd 1144e1285cSBrad Davis.if ${MK_ACPI} != "no" 1244e1285cSBrad DavisDEVD+= asus.conf 1344e1285cSBrad Davis.endif 1444e1285cSBrad Davis 15f4d9116dSEmmanuel VadotCONFGROUPS+= DHCLIENT 16f4d9116dSEmmanuel VadotDHCLIENTDIR= ${DEVDDIR} 17f4d9116dSEmmanuel VadotDHCLIENT+= dhclient.conf 18f4d9116dSEmmanuel VadotDHCLIENTPACKAGE= dhclient 19f4d9116dSEmmanuel Vadot 20*9150a045SEmmanuel Vadot.if ${MK_BLUETOOTH} != "no" 21*9150a045SEmmanuel VadotCONFGROUPS+= BLUETOOTH 22*9150a045SEmmanuel VadotBLUETOOTHDIR= ${DEVDDIR} 23*9150a045SEmmanuel VadotBLUETOOTH+= bluetooth.conf 24*9150a045SEmmanuel VadotBLUETOOTHPACKAGE= bluetooth 25*9150a045SEmmanuel Vadot.endif 26*9150a045SEmmanuel Vadot 2744e1285cSBrad Davis.if ${MK_HYPERV} != "no" 287ac164dcSMina GalićCONFGROUPS+= HYPERV 297ac164dcSMina GalićHYPERVDIR=${DEVDDIR} 307ac164dcSMina GalićHYPERV+= hyperv.conf 317ac164dcSMina GalićHYPERVPACKAGE= hyperv-tools 3244e1285cSBrad Davis.endif 3344e1285cSBrad Davis 3444e1285cSBrad Davis.if ${MK_USB} != "no" 3544e1285cSBrad DavisDEVD+= uath.conf ulpt.conf 3644e1285cSBrad Davis.endif 3744e1285cSBrad Davis 3844e1285cSBrad Davis.if ${MACHINE_ARCH} == "powerpc" 3944e1285cSBrad DavisDEVD+= apple.conf 4044e1285cSBrad Davis.endif 4144e1285cSBrad Davis 4244e1285cSBrad Davis.if ${MK_ZFS} != "no" 4344e1285cSBrad DavisDEVD+= zfs.conf 4444e1285cSBrad Davis.endif 4544e1285cSBrad Davis 463054f218SWarner LoshPROG_CXX=devd 473054f218SWarner LoshSRCS= devd.cc token.l parse.y y.tab.h 489f887a80STim J. RobbinsMAN= devd.8 devd.conf.5 499538bab3SJohn Birrell 50e6f059a9SBaptiste DaroussinLIBADD= util 51e530e044SWarner Losh 52e530e044SWarner LoshYFLAGS+=-v 53e530e044SWarner LoshCFLAGS+=-I. -I${.CURDIR} 54695a3b29SEitan AdlerCFLAGS.clang += -Wno-missing-variable-declarations 55e8d9a1edSEitan AdlerCFLAGS.gcc = -Wno-redundant-decls 56e8d9a1edSEitan AdlerCXXFLAGS.gcc = -Wno-redundant-decls 57e530e044SWarner Losh 580bc60783SEitan AdlerCLEANFILES= y.output y.tab.i 59e530e044SWarner Losh 60d511b20aSEnji CooperHAS_TESTS= 614b330699SEnji CooperSUBDIR.${MK_TESTS}+= tests 62cdfa64aaSAlan Somers 63e530e044SWarner Losh.include <bsd.prog.mk> 64