summaryrefslogtreecommitdiff
path: root/usr.sbin/acpid/Makefile
blob: f38ba718881a386aacfc29df95ab1bae7bbf4fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $OpenBSD: Makefile,v 1.2 2005/06/03 17:55:24 deraadt Exp $

.if (${MACHINE} == "i386") || (${MACHINE} == "amd64")
PROG=		acpid
SRCS=		main.c script.c
CFLAGS+=	-Wall -pedantic
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=	-Wmissing-declarations
CFLAGS+=	-Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=	-Wsign-compare
.else
NOPROG=		yes
.endif

MAN=		acpid.8
MANSUBDIR=	i386 amd64

#.if make(install)
#SUBDIR+=	samples
#.endif

.include <bsd.prog.mk>
.include <bsd.subdir.mk>