]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/devd/Makefile
contrib/bsddialog: Import version 0.4
[FreeBSD/FreeBSD.git] / sbin / devd / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 WARNS?= 3
6 PACKAGE=runtime
7 CONFGROUPS=     CONFS DEVD
8 CONFS=  devd.conf
9 DEVD=   devmatch.conf
10 DEVDDIR=        /etc/devd
11 .if ${MK_ACPI} != "no"
12 DEVD+=  asus.conf
13 .endif
14
15 .if ${MK_HYPERV} != "no"
16 CONFGROUPS+=    HYPERV
17 HYPERVDIR=${DEVDDIR}
18 HYPERV+=        hyperv.conf
19 HYPERVPACKAGE=  hyperv-tools
20 .endif
21
22 .if ${MK_USB} != "no"
23 DEVD+=  uath.conf ulpt.conf
24 .endif
25
26 .if ${MACHINE_ARCH} == "powerpc"
27 DEVD+=  apple.conf
28 .endif
29
30 .if ${MK_ZFS} != "no"
31 DEVD+=  zfs.conf
32 .endif
33
34 PROG_CXX=devd
35 SRCS=   devd.cc token.l parse.y y.tab.h
36 MAN=    devd.8 devd.conf.5
37
38 NO_SHARED?=YES
39
40 LIBADD= util
41
42 YFLAGS+=-v
43 CFLAGS+=-I. -I${.CURDIR}
44 CFLAGS.clang += -Wno-missing-variable-declarations
45 CFLAGS.gcc = -Wno-redundant-decls
46 CXXFLAGS.gcc = -Wno-redundant-decls
47
48 CLEANFILES= y.output y.tab.i
49
50 HAS_TESTS=
51 SUBDIR.${MK_TESTS}+= tests
52
53 .include <bsd.prog.mk>