diff options
Diffstat (limited to 'sbin/devd/Makefile')
-rw-r--r-- | sbin/devd/Makefile | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile index 8120126807ce..09a8ed5898e1 100644 --- a/sbin/devd/Makefile +++ b/sbin/devd/Makefile @@ -1,9 +1,8 @@ -# $FreeBSD$ .include <src.opts.mk> -WARNS?= 3 -PACKAGE=utilities +WARNS?= 6 +PACKAGE=devd CONFGROUPS= CONFS DEVD CONFS= devd.conf DEVD= devmatch.conf @@ -12,8 +11,40 @@ DEVDDIR= /etc/devd DEVD+= asus.conf .endif +.if ${MK_AUTOFS} != "no" +CONFGROUPS+= AUTOFS +AUTOFSDIR= ${DEVDDIR} +AUTOFS+= autofs.conf +AUTOFSPACKAGE= autofs +.endif + +CONFGROUPS+= DHCLIENT +DHCLIENTDIR= ${DEVDDIR} +DHCLIENT+= dhclient.conf +DHCLIENTPACKAGE= dhclient + +CONFGROUPS+= POWERPROFILE +POWERPROFILEDIR= ${DEVDDIR} +POWERPROFILE+= power_profile.conf +POWERPROFILEPACKAGE= acpi + +CONFGROUPS+= CONSOLE +CONSOLEDIR= ${DEVDDIR} +CONSOLE+= moused.conf syscons.conf +CONSOLEPACKAGE= console-tools + +.if ${MK_BLUETOOTH} != "no" +CONFGROUPS+= BLUETOOTH +BLUETOOTHDIR= ${DEVDDIR} +BLUETOOTH+= bluetooth.conf +BLUETOOTHPACKAGE= bluetooth +.endif + .if ${MK_HYPERV} != "no" -DEVD+= hyperv.conf +CONFGROUPS+= HYPERV +HYPERVDIR=${DEVDDIR} +HYPERV+= hyperv.conf +HYPERVPACKAGE= hyperv-tools .endif .if ${MK_USB} != "no" @@ -32,8 +63,6 @@ PROG_CXX=devd SRCS= devd.cc token.l parse.y y.tab.h MAN= devd.8 devd.conf.5 -NO_SHARED?=YES - LIBADD= util YFLAGS+=-v |