2010-12-20 01:52:08 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 2010/12/19 22:52:08 pgoyette Exp $
|
2003-04-18 08:54:49 +04:00
|
|
|
|
|
|
|
PROG= powerd
|
|
|
|
SRCS= powerd.c
|
|
|
|
|
2010-12-20 01:52:08 +03:00
|
|
|
RUMPPRG= powerd
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../common/lib/libprop
|
|
|
|
CPPFLAGS+= -DRUMP_ACTION
|
|
|
|
RUMPSRCS+= prop_kern.c
|
|
|
|
|
Imported envsys 2, a brief description of the new features:
(Part 3: userland)
* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
sysmon_power(9) and powerd(8), that means there is no 32 bytes event
size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.
Tested by:
blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
2007-07-01 11:39:45 +04:00
|
|
|
DPADD+= ${LIBPROP} ${LIBUTIL}
|
|
|
|
LDADD+= -lprop -lutil
|
2003-04-18 08:54:49 +04:00
|
|
|
|
2003-04-18 09:32:37 +04:00
|
|
|
MAN= powerd.8
|
|
|
|
|
2003-04-18 08:54:49 +04:00
|
|
|
.include <bsd.prog.mk>
|