26 lines
587 B
Makefile
26 lines
587 B
Makefile
# $OpenBSD: Makefile,v 1.22 2021/05/01 16:11:17 visa Exp $
|
|
|
|
.if ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
|
|
${MACHINE} == "arm64" || ${MACHINE} == "armv7" || \
|
|
${MACHINE} == "hppa" || ${MACHINE} == "i386" || \
|
|
${MACHINE} == "landisk" || ${MACHINE} == "loongson" || \
|
|
${MACHINE} == "macppc" || ${MACHINE} == "sparc64"
|
|
|
|
PROG= hotplugd
|
|
SRCS= hotplugd.c
|
|
|
|
CFLAGS+= -Wall
|
|
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
|
|
CFLAGS+= -Wmissing-declarations
|
|
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
|
|
|
|
.else
|
|
|
|
NOPROG= yes
|
|
|
|
.endif
|
|
|
|
MAN= hotplugd.8
|
|
|
|
.include <bsd.prog.mk>
|