NetBSD/sys/arch/hp300/stand/inst/Makefile

29 lines
796 B
Makefile
Raw Normal View History

2000-05-31 18:31:23 +04:00
# $NetBSD: Makefile,v 1.3 2000/05/31 14:31:24 he Exp $
PROGAOUT= inst
PROGSOURCE= inst.c
NEWVERSWHAT= "Miniroot Installer"
CPPFLAGS+= -DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK
install:
${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} \
${DESTDIR}${BINDIR}/rbootd
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 inst.lif \
${DESTDIR}${BINDIR}/inst.lif
rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_INST
ln ${DESTDIR}${BINDIR}/inst.lif ${DESTDIR}${BINDIR}/rbootd/SYS_INST
2000-05-31 18:31:23 +04:00
.ifndef RELEASEDIR
release:
@echo setenv RELEASEDIR first
@false
.else
release: inst.lif
mkdir -p $(RELEASEDIR)/installation/misc
rm -f $(RELEASEDIR)/installation/misc/SYS_INST
${INSTALL} -c -m 444 inst.lif $(RELEASEDIR)/installation/misc/SYS_INST
.endif # RELEASEDIR check
.include "../Makefile.buildboot"