1 1.4 simonb # $NetBSD: Makefile,v 1.4 2000/09/23 13:53:41 simonb Exp $ 2 1.1 thorpej 3 1.1 thorpej PROGAOUT= inst 4 1.1 thorpej PROGSOURCE= inst.c 5 1.1 thorpej NEWVERSWHAT= "Miniroot Installer" 6 1.2 thorpej 7 1.2 thorpej CPPFLAGS+= -DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK 8 1.1 thorpej 9 1.1 thorpej install: 10 1.1 thorpej ${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} \ 11 1.1 thorpej ${DESTDIR}${BINDIR}/rbootd 12 1.4 simonb ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 inst.lif \ 13 1.1 thorpej ${DESTDIR}${BINDIR}/inst.lif 14 1.1 thorpej rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_INST 15 1.1 thorpej ln ${DESTDIR}${BINDIR}/inst.lif ${DESTDIR}${BINDIR}/rbootd/SYS_INST 16 1.3 he 17 1.3 he .ifndef RELEASEDIR 18 1.3 he release: 19 1.3 he @echo setenv RELEASEDIR first 20 1.3 he @false 21 1.3 he .else 22 1.3 he release: inst.lif 23 1.3 he mkdir -p $(RELEASEDIR)/installation/misc 24 1.3 he rm -f $(RELEASEDIR)/installation/misc/SYS_INST 25 1.4 simonb ${INSTALL} ${COPY} -m 444 inst.lif \ 26 1.4 simonb $(RELEASEDIR)/installation/misc/SYS_INST 27 1.3 he .endif # RELEASEDIR check 28 1.1 thorpej 29 1.1 thorpej .include "../Makefile.buildboot" 30