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