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