summaryrefslogtreecommitdiff
path: root/usr.sbin/acpid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/acpid/Makefile')
-rw-r--r--usr.sbin/acpid/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/usr.sbin/acpid/Makefile b/usr.sbin/acpid/Makefile
new file mode 100644
index 00000000000..98dd722d6da
--- /dev/null
+++ b/usr.sbin/acpid/Makefile
@@ -0,0 +1,23 @@
+# $OpenBSD: Makefile,v 1.1 2005/06/02 20:09:39 tholo 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>