summaryrefslogtreecommitdiff
blob: ca3f565fcd06cc38309b73f27714957d7bfd80a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DIR=	${INITDIR}
BIN=	${OBJS}

INSTALLAFTER=	_installafter_net.lo
SRCS= net.lo.in

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

NET_LO-FreeBSD=	net.lo0
NET_LO-Linux=	net.lo
NET_LO-NetBSD=	net.lo0

%.in: %${SFX}
	sed ${SED_REPLACE} ${SED_EXTRA} $< > $@

include ${MK}/scripts.mk

_installafter_: realinstall

_installafter_net.lo: realinstall
	${INSTALL} -m ${BINMODE} net.lo ${DESTDIR}/${INITDIR}/${NET_LO-${OS}}