]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/devd/Makefile
ssh: Update to OpenSSH 9.5p1
[FreeBSD/FreeBSD.git] / sbin / devd / Makefile
1
2 .include <src.opts.mk>
3
4 WARNS?= 3
5 PACKAGE=devd
6 CONFGROUPS=     CONFS DEVD
7 CONFS=  devd.conf
8 DEVD=   devmatch.conf
9 DEVDDIR=        /etc/devd
10 .if ${MK_ACPI} != "no"
11 DEVD+=  asus.conf
12 .endif
13
14 CONFGROUPS+=            DHCLIENT
15 DHCLIENTDIR=            ${DEVDDIR}
16 DHCLIENT+=              dhclient.conf
17 DHCLIENTPACKAGE=        dhclient
18
19 CONFGROUPS+=            POWERPROFILE
20 POWERPROFILEDIR=        ${DEVDDIR}
21 POWERPROFILE+=          power_profile.conf
22 POWERPROFILEPACKAGE=    acpi
23
24 CONFGROUPS+=            CONSOLE
25 CONSOLEDIR=             ${DEVDDIR}
26 CONSOLE+=               moused.conf syscons.conf
27 CONSOLEPACKAGE=         console-tools
28
29 .if ${MK_BLUETOOTH} != "no"
30 CONFGROUPS+=            BLUETOOTH
31 BLUETOOTHDIR=           ${DEVDDIR}
32 BLUETOOTH+=             bluetooth.conf
33 BLUETOOTHPACKAGE=       bluetooth
34 .endif
35
36 .if ${MK_HYPERV} != "no"
37 CONFGROUPS+=    HYPERV
38 HYPERVDIR=${DEVDDIR}
39 HYPERV+=        hyperv.conf
40 HYPERVPACKAGE=  hyperv-tools
41 .endif
42
43 .if ${MK_USB} != "no"
44 DEVD+=  uath.conf ulpt.conf
45 .endif
46
47 .if ${MACHINE_ARCH} == "powerpc"
48 DEVD+=  apple.conf
49 .endif
50
51 .if ${MK_ZFS} != "no"
52 DEVD+=  zfs.conf
53 .endif
54
55 PROG_CXX=devd
56 SRCS=   devd.cc token.l parse.y y.tab.h
57 MAN=    devd.8 devd.conf.5
58
59 LIBADD= util
60
61 YFLAGS+=-v
62 CFLAGS+=-I. -I${.CURDIR}
63 CFLAGS.clang += -Wno-missing-variable-declarations
64 CFLAGS.gcc = -Wno-redundant-decls
65 CXXFLAGS.gcc = -Wno-redundant-decls
66
67 CLEANFILES= y.output y.tab.i
68
69 HAS_TESTS=
70 SUBDIR.${MK_TESTS}+= tests
71
72 .include <bsd.prog.mk>