2010-12-14 11:04:14 +03:00
|
|
|
# $NetBSD: Makefile,v 1.10 2010/12/14 08:04:14 pooka Exp $
|
2000-03-10 08:51:56 +03:00
|
|
|
|
2010-12-13 21:00:38 +03:00
|
|
|
RUMPPRG= envstat
|
2007-10-07 08:16:47 +04:00
|
|
|
SRCS+= envstat.c config.c config_yacc.y config_lex.l
|
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
|
|
|
|
2010-12-14 11:04:14 +03:00
|
|
|
.PATH: ${.CURDIR}/../../common/lib/libprop
|
|
|
|
CPPFLAGS+= -DRUMP_ACTION
|
|
|
|
RUMPSRCS+= prop_kern.c
|
|
|
|
|
2007-10-07 08:16:47 +04:00
|
|
|
LDADD= -lprop
|
|
|
|
DPADD= ${LIBPROP}
|
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
|
|
|
|
2007-10-07 08:16:47 +04:00
|
|
|
MAN= envstat.8 envsys.conf.5
|
|
|
|
|
2009-10-29 17:38:37 +03:00
|
|
|
CPPFLAGS+= -I${.CURDIR} -I.
|
2007-10-07 16:19:37 +04:00
|
|
|
|
2007-10-07 08:16:47 +04:00
|
|
|
YHEADER= yes
|
2000-03-10 08:51:56 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|