mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
![Emmanuel Vadot](/assets/img/avatar_default.png)
If a user don't have FreeBSD-autofs installed there is no need to try calling automount on every GEOM event. It's also easier to add/delete autofs related event in a separate file. Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D42495 Reviewed by: imp
78 lines
1.3 KiB
Makefile
78 lines
1.3 KiB
Makefile
|
|
.include <src.opts.mk>
|
|
|
|
WARNS?= 6
|
|
PACKAGE=devd
|
|
CONFGROUPS= CONFS DEVD
|
|
CONFS= devd.conf
|
|
DEVD= devmatch.conf
|
|
DEVDDIR= /etc/devd
|
|
.if ${MK_ACPI} != "no"
|
|
DEVD+= asus.conf
|
|
.endif
|
|
|
|
CONFGROUPS+= AUTOFS
|
|
AUTOFSDIR= ${DEVDDIR}
|
|
AUTOFS+= autofs.conf
|
|
AUTOFSPACKAGE= autofs
|
|
|
|
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"
|
|
CONFGROUPS+= HYPERV
|
|
HYPERVDIR=${DEVDDIR}
|
|
HYPERV+= hyperv.conf
|
|
HYPERVPACKAGE= hyperv-tools
|
|
.endif
|
|
|
|
.if ${MK_USB} != "no"
|
|
DEVD+= uath.conf ulpt.conf
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "powerpc"
|
|
DEVD+= apple.conf
|
|
.endif
|
|
|
|
.if ${MK_ZFS} != "no"
|
|
DEVD+= zfs.conf
|
|
.endif
|
|
|
|
PROG_CXX=devd
|
|
SRCS= devd.cc token.l parse.y y.tab.h
|
|
MAN= devd.8 devd.conf.5
|
|
|
|
LIBADD= util
|
|
|
|
YFLAGS+=-v
|
|
CFLAGS+=-I. -I${.CURDIR}
|
|
CFLAGS.clang += -Wno-missing-variable-declarations
|
|
CFLAGS.gcc = -Wno-redundant-decls
|
|
CXXFLAGS.gcc = -Wno-redundant-decls
|
|
|
|
CLEANFILES= y.output y.tab.i
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|