2002-10-20 22:15:17 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-08-14 22:33:56 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2018-05-24 01:12:06 +00:00
|
|
|
WARNS?= 3
|
2019-09-05 14:15:47 +00:00
|
|
|
PACKAGE=utilities
|
2018-08-21 16:51:45 +00:00
|
|
|
CONFGROUPS= CONFS DEVD
|
|
|
|
CONFS= devd.conf
|
|
|
|
DEVD= devmatch.conf
|
|
|
|
DEVDDIR= /etc/devd
|
|
|
|
.if ${MK_ACPI} != "no"
|
|
|
|
DEVD+= asus.conf
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_HYPERV} != "no"
|
|
|
|
DEVD+= hyperv.conf
|
|
|
|
.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
|
|
|
|
|
2002-12-07 08:04:36 +00:00
|
|
|
PROG_CXX=devd
|
|
|
|
SRCS= devd.cc token.l parse.y y.tab.h
|
2002-11-14 10:00:01 +00:00
|
|
|
MAN= devd.8 devd.conf.5
|
2007-11-19 00:19:01 +00:00
|
|
|
|
2004-12-21 09:59:45 +00:00
|
|
|
NO_SHARED?=YES
|
2003-08-17 08:40:49 +00:00
|
|
|
|
2019-09-10 08:19:46 +00:00
|
|
|
LIBADD= util
|
2002-10-20 22:15:17 +00:00
|
|
|
|
|
|
|
YFLAGS+=-v
|
|
|
|
CFLAGS+=-I. -I${.CURDIR}
|
2018-05-23 10:03:09 +00:00
|
|
|
CFLAGS.clang += -Wno-missing-variable-declarations
|
2018-05-23 07:44:50 +00:00
|
|
|
CFLAGS.gcc = -Wno-redundant-decls
|
|
|
|
CXXFLAGS.gcc = -Wno-redundant-decls
|
2002-10-20 22:15:17 +00:00
|
|
|
|
2018-05-23 07:39:05 +00:00
|
|
|
CLEANFILES= y.output y.tab.i
|
2002-10-20 22:15:17 +00:00
|
|
|
|
2017-08-02 08:50:42 +00:00
|
|
|
HAS_TESTS=
|
2017-08-02 08:35:51 +00:00
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
2014-08-14 22:33:56 +00:00
|
|
|
|
2002-10-20 22:15:17 +00:00
|
|
|
.include <bsd.prog.mk>
|