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