mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-29 20:54:13 +01:00
d50a71bdd8
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>.
24 lines
390 B
Makefile
24 lines
390 B
Makefile
# 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>
|