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