1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5WARNS?= 3 6PACKAGE=devd 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 38LIBADD= util 39 40YFLAGS+=-v 41CFLAGS+=-I. -I${.CURDIR} 42CFLAGS.clang += -Wno-missing-variable-declarations 43CFLAGS.gcc = -Wno-redundant-decls 44CXXFLAGS.gcc = -Wno-redundant-decls 45 46CLEANFILES= y.output y.tab.i 47 48HAS_TESTS= 49SUBDIR.${MK_TESTS}+= tests 50 51.include <bsd.prog.mk> 52