summaryrefslogtreecommitdiff
blob: 4f13ae6e2c7d4e0539977ab73515eb80db5c94d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DIR=	${LIBEXECDIR}/sh
SRCS= ${SRCS-${OS}}
INC=
BIN=	${BIN-${OS}}

MK=	../mk
include ${MK}/os.mk

SRCS-FreeBSD=
BIN-FreeBSD= functions.sh

SRCS-Linux=	udhcpc-hook.sh.in systemd-wrapper.sh.in
BIN-Linux=	udhcpc-hook.sh functions.sh systemd-wrapper.sh

SRCS-NetBSD=	ifwatchd-carrier.sh.in ifwatchd-nocarrier.sh.in
BIN-NetBSD=	ifwatchd-carrier.sh ifwatchd-nocarrier.sh functions.sh

include ${MK}/scripts.mk

%.sh: %.sh${SFX}
	${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@