summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apmd/Makefile
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>1999-07-10 17:39:36 +0000
committeriwasaki <iwasaki@FreeBSD.org>1999-07-10 17:39:36 +0000
commit8202136bb4c3faa6bb23972c7431579116435eb5 (patch)
treed17a0a1d5ead6bd74a6cb0d7f04b6e3255e49b04 /usr.sbin/apmd/Makefile
downloadFreeBSD-src-8202136bb4c3faa6bb23972c7431579116435eb5.zip
FreeBSD-src-8202136bb4c3faa6bb23972c7431579116435eb5.tar.gz
The apmd package provides a means of handling various APM events from
userland code. Using apmd.conf, the apmd(8) configuration file, you can select the APM events to be handled from userland and specify the commands for a given event, allowing APM behaviour to be configured flexibly. Have Fun! Submitted by: iwasaki, KOIE Hidetaka <hide@koie.org> Reviewed by: -hackers, -mobile and bsd-nomads ML folks. Contributed by: Warner Losh <imp@FreeBSD.org>, Hiroshi Yamashita <bluemoon@msj.biglobe.ne.jp>, Yoshihiko SARUMARU <mistral@imasy.or.jp>, Norihiro Kumagai <kuma@nk.rim.or.jp>, NAKAGAWA Yoshihisa <nakagawa@jp.FreeBSD.org>, and Nick Hilliard <nick@foobar.org>.
Diffstat (limited to 'usr.sbin/apmd/Makefile')
-rw-r--r--usr.sbin/apmd/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/usr.sbin/apmd/Makefile b/usr.sbin/apmd/Makefile
new file mode 100644
index 0000000..98b9283
--- /dev/null
+++ b/usr.sbin/apmd/Makefile
@@ -0,0 +1,23 @@
+# Makefile for apmd
+# $Id: Makefile,v 1.1.3.2 1999/06/08 09:01:47 koie Exp $
+
+PROG= apmd
+SHSRCS= apmd.c apmdparse.y apmdlex.l
+GENSRCS=
+GENHDRS= y.tab.h
+SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS}
+
+DPADD+= ${LIBL}
+LDADD+= -ll
+
+MAN8= apmd.8
+
+YFLAGS+=-v
+CFLAGS+=-I. -I${.CURDIR} -Wall #-DYY_STACK_USED
+# for debug:
+#CFLAGS+= -g -DDEBUG
+
+test:
+ ./apmd -d -f etc/apmd.conf -n
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud