xref: /openbsd/usr.sbin/hotplugd/Makefile (revision 4cfece93)
1# $OpenBSD: Makefile,v 1.21 2019/05/11 07:18:17 deraadt Exp $
2
3.if ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
4    ${MACHINE} == "arm64" || ${MACHINE} == "armv7" || \
5    ${MACHINE} == "hppa" || ${MACHINE} == "i386" || \
6    ${MACHINE} == "landisk" || ${MACHINE} == "loongson" || \
7    ${MACHINE} == "macppc" || ${MACHINE} == "sgi" || \
8    ${MACHINE} == "sparc64"
9
10PROG=	hotplugd
11SRCS=	hotplugd.c
12
13CFLAGS+= -Wall
14CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
15CFLAGS+= -Wmissing-declarations
16CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
17
18.else
19
20NOPROG=	yes
21
22.endif
23
24MAN=	hotplugd.8
25
26.include <bsd.prog.mk>
27