1e530e044SWarner Losh# $FreeBSD$ 2e530e044SWarner Losh 3cdfa64aaSAlan Somers.include <src.opts.mk> 4cdfa64aaSAlan Somers 53741a56cSMatt MacyWARNS?= 3 6e01a93b6SGlen BarberPACKAGE=runtime 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 1544e1285cSBrad Davis.if ${MK_HYPERV} != "no" 1644e1285cSBrad DavisDEVD+= hyperv.conf 1744e1285cSBrad Davis.endif 1844e1285cSBrad Davis 1944e1285cSBrad Davis.if ${MK_USB} != "no" 2044e1285cSBrad DavisDEVD+= uath.conf ulpt.conf 2144e1285cSBrad Davis.endif 2244e1285cSBrad Davis 2344e1285cSBrad Davis.if ${MACHINE_ARCH} == "powerpc" 2444e1285cSBrad DavisDEVD+= apple.conf 2544e1285cSBrad Davis.endif 2644e1285cSBrad Davis 2744e1285cSBrad Davis.if ${MK_ZFS} != "no" 2844e1285cSBrad DavisDEVD+= zfs.conf 2944e1285cSBrad Davis.endif 3044e1285cSBrad Davis 313054f218SWarner LoshPROG_CXX=devd 323054f218SWarner LoshSRCS= devd.cc token.l parse.y y.tab.h 339f887a80STim J. RobbinsMAN= devd.8 devd.conf.5 349538bab3SJohn Birrell 3583c7ade9SRuslan ErmilovNO_SHARED?=YES 369a4e73feSGordon Tetlow 37*210a5cf0SBaptiste DaroussinLIBADD= util 38e530e044SWarner Losh 39e530e044SWarner LoshYFLAGS+=-v 40e530e044SWarner LoshCFLAGS+=-I. -I${.CURDIR} 41695a3b29SEitan AdlerCFLAGS.clang += -Wno-missing-variable-declarations 42e8d9a1edSEitan AdlerCFLAGS.gcc = -Wno-redundant-decls 43e8d9a1edSEitan AdlerCXXFLAGS.gcc = -Wno-redundant-decls 44e530e044SWarner Losh 450bc60783SEitan AdlerCLEANFILES= y.output y.tab.i 46e530e044SWarner Losh 47d511b20aSEnji CooperHAS_TESTS= 484b330699SEnji CooperSUBDIR.${MK_TESTS}+= tests 49cdfa64aaSAlan Somers 50e530e044SWarner Losh.include <bsd.prog.mk> 51