1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5WARNS?= 3 6PACKAGE=runtime 7CONFGROUPS= CONFS DEVD 8CONFS= devd.conf 9DEVD= devmatch.conf 10DEVDDIR= /etc/devd 11.if ${MK_ACPI} != "no" 12DEVD+= asus.conf 13.endif 14 15.if ${MK_HYPERV} != "no" 16CONFGROUPS+= HYPERV 17HYPERVDIR=${DEVDDIR} 18HYPERV+= hyperv.conf 19HYPERVPACKAGE= hyperv-tools 20.endif 21 22.if ${MK_USB} != "no" 23DEVD+= uath.conf ulpt.conf 24.endif 25 26.if ${MACHINE_ARCH} == "powerpc" 27DEVD+= apple.conf 28.endif 29 30.if ${MK_ZFS} != "no" 31DEVD+= zfs.conf 32.endif 33 34PROG_CXX=devd 35SRCS= devd.cc token.l parse.y y.tab.h 36MAN= devd.8 devd.conf.5 37 38NO_SHARED?=YES 39 40LIBADD= util 41 42YFLAGS+=-v 43CFLAGS+=-I. -I${.CURDIR} 44CFLAGS.clang += -Wno-missing-variable-declarations 45CFLAGS.gcc = -Wno-redundant-decls 46CXXFLAGS.gcc = -Wno-redundant-decls 47 48CLEANFILES= y.output y.tab.i 49 50HAS_TESTS= 51SUBDIR.${MK_TESTS}+= tests 52 53.include <bsd.prog.mk> 54