1.include <src.opts.mk> 2 3WARNS?= 6 4PACKAGE=devd 5CONFGROUPS= CONFS DEVD 6CONFS= devd.conf 7DEVD= devmatch.conf 8DEVDDIR= /etc/devd 9.if ${MK_ACPI} != "no" 10DEVD+= asus.conf 11.endif 12 13.if ${MK_AUTOFS} != "no" 14CONFGROUPS+= AUTOFS 15AUTOFSDIR= ${DEVDDIR} 16AUTOFS+= autofs.conf 17AUTOFSPACKAGE= autofs 18.endif 19 20CONFGROUPS+= DHCLIENT 21DHCLIENTDIR= ${DEVDDIR} 22DHCLIENT+= dhclient.conf 23DHCLIENTPACKAGE= dhclient 24 25CONFGROUPS+= POWERPROFILE 26POWERPROFILEDIR= ${DEVDDIR} 27POWERPROFILE+= power_profile.conf 28POWERPROFILEPACKAGE= acpi 29 30CONFGROUPS+= CONSOLE 31CONSOLEDIR= ${DEVDDIR} 32CONSOLE+= moused.conf syscons.conf 33CONSOLEPACKAGE= console-tools 34 35.if ${MK_BLUETOOTH} != "no" 36CONFGROUPS+= BLUETOOTH 37BLUETOOTHDIR= ${DEVDDIR} 38BLUETOOTH+= bluetooth.conf 39BLUETOOTHPACKAGE= bluetooth 40.endif 41 42.if ${MK_HYPERV} != "no" 43CONFGROUPS+= HYPERV 44HYPERVDIR=${DEVDDIR} 45HYPERV+= hyperv.conf 46HYPERVPACKAGE= hyperv-tools 47.endif 48 49.if ${MK_USB} != "no" 50DEVD+= uath.conf ulpt.conf 51.endif 52 53.if ${MACHINE_ARCH} == "powerpc" 54DEVD+= apple.conf 55.endif 56 57.if ${MK_ZFS} != "no" 58DEVD+= zfs.conf 59.endif 60 61PROG_CXX=devd 62SRCS= devd.cc token.l parse.y y.tab.h 63MAN= devd.8 devd.conf.5 64 65LIBADD= util 66 67YFLAGS+=-v 68CFLAGS+=-I. -I${.CURDIR} 69CFLAGS.clang += -Wno-missing-variable-declarations 70CFLAGS.gcc = -Wno-redundant-decls 71CXXFLAGS.gcc = -Wno-redundant-decls 72 73CLEANFILES= y.output y.tab.i 74 75HAS_TESTS= 76SUBDIR.${MK_TESTS}+= tests 77 78.include <bsd.prog.mk> 79