1TOP?= ../ 2include ${TOP}/Makefile.inc 3include ${TOP}/iconfig.mk 4 5SCRIPTSDIR= ${LIBEXECDIR}/dhcpcd-hooks 6SCRIPTS= 01-test 02-dump 7SCRIPTS+= 10-mtu 10-wpa_supplicant 15-timezone 20-resolv.conf 8SCRIPTS+= 29-lookup-hostname 30-hostname 9SCRIPTS+= ${HOOKSCRIPTS} 10 1150-ypbind: 50-ypbind.in 12 ${SED} \ 13 -e 's:@YPDOMAIN_DIR@:${YPDOMAIN_DIR}:g' \ 14 -e 's:@YPDOMAIN_SUFFIX@:${YPDOMAIN_SUFFIX}:g' \ 15 50-ypbind.in > $@ 16 17all: ${HOOKSCRIPTS} 18 19clean: 20 rm -f 50-ypbind 21 22proginstall: ${HOOKSCRIPTS} 23 ${INSTALL} -d ${DESTDIR}${SCRIPTSDIR} 24 ${INSTALL} -m ${NONBINMODE} ${SCRIPTS} ${DESTDIR}${SCRIPTSDIR} 25 26install: proginstall 27 28import: ${HOOKSCRIPTS} 29 ${INSTALL} -d /tmp/${DISTPREFIX}/dhcpcd-hooks 30 ${INSTALL} -m ${NONBINMODE} ${SCRIPTS} /tmp/${DISTPREFIX}/dhcpcd-hooks 31