2015-06-10 02:49:51 +05:30
|
|
|
MK= ../mk
|
|
|
|
include ${MK}/os.mk
|
|
|
|
|
2009-12-11 04:00:56 +05:30
|
|
|
DIR= ${LIBEXECDIR}/bin
|
|
|
|
BIN= on_ac_power
|
2015-06-10 02:49:51 +05:30
|
|
|
INSTALLAFTER = _installafter
|
|
|
|
|
|
|
|
ifeq (${OS},Linux)
|
2017-01-27 03:09:19 +05:30
|
|
|
SRCS+= rc-sstat.in
|
2015-06-10 02:49:51 +05:30
|
|
|
BIN+= rc-sstat
|
|
|
|
endif
|
|
|
|
|
|
|
|
_installafter:
|
|
|
|
ifeq (${OS},Linux)
|
|
|
|
${INSTALL} -d ${DESTDIR}${SBINDIR}
|
|
|
|
ln -s ${DIR}/rc-sstat ${DESTDIR}/${SBINDIR}/rc-sstat
|
|
|
|
endif
|
2009-12-11 04:00:56 +05:30
|
|
|
|
|
|
|
include ${MK}/scripts.mk
|