22 lines
700 B
Makefile
22 lines
700 B
Makefile
# $NetBSD: Makefile,v 1.9 2005/12/11 12:17:23 christos Exp $
|
|
|
|
PROGAOUT= inst
|
|
PROGSOURCE= inst.c
|
|
NEWVERSWHAT= "Miniroot Installer"
|
|
|
|
CPPFLAGS+= -DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK
|
|
|
|
.include "../Makefile.buildboot"
|
|
|
|
install:
|
|
${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \
|
|
${DESTDIR}${BINDIR}/rbootd
|
|
${INSTALL} ${COPY} -m 444 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \
|
|
inst.lif ${DESTDIR}${BINDIR}/inst.lif
|
|
rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_INST
|
|
ln ${DESTDIR}${BINDIR}/inst.lif ${DESTDIR}${BINDIR}/rbootd/SYS_INST
|
|
|
|
release: check_RELEASEDIR .WAIT inst.lif
|
|
${HOST_INSTALL_FILE} -m ${NONBINMODE} inst.lif \
|
|
${RELEASEDIR}/${MACHINE}/installation/misc/SYS_INST
|