jcs's openbsd hax
openbsd
1# $OpenBSD: Makefile,v 1.22 2021/05/01 16:11:17 visa 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} == "sparc64"
8
9PROG= hotplugd
10SRCS= hotplugd.c
11
12CFLAGS+= -Wall
13CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
14CFLAGS+= -Wmissing-declarations
15CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
16
17.else
18
19NOPROG= yes
20
21.endif
22
23MAN= hotplugd.8
24
25.include <bsd.prog.mk>