diff options
Diffstat (limited to 'sys/boot/alpha/common/Makefile.common')
-rw-r--r-- | sys/boot/alpha/common/Makefile.common | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/boot/alpha/common/Makefile.common b/sys/boot/alpha/common/Makefile.common index edde206..c809c08 100644 --- a/sys/boot/alpha/common/Makefile.common +++ b/sys/boot/alpha/common/Makefile.common @@ -39,6 +39,10 @@ CFLAGS+= -I${.CURDIR}/.. CRT= start.o STRIP= BINDIR?= /boot +.ifdef INSTALL_FORTH +MAN5= ../../forth/loader.conf.5 +MAN8= ../../i386/loader/loader.8 ../../forth/loader.4th.8 +.endif all: ${BASE} @@ -71,6 +75,19 @@ beforeinstall: ${.CURDIR}/${BASE}.help ${DESTDIR}/boot .endif .endif +.ifdef INSTALL_FORTH +.if !exists(${DESTDIR}/boot/loader.rc) + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ + ${.CURDIR}/../../forth/loader.rc ${DESTDIR}/boot +.endif + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ + ${.CURDIR}/../../forth/loader.4th ${DESTDIR}/boot + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ + ${.CURDIR}/../../forth/support.4th ${DESTDIR}/boot + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ + ${.CURDIR}/../../forth/loader.conf ${DESTDIR}/boot/defaults +.endif + start.o: ${.CURDIR}/../libalpha/start.S ${CC} -c ${CFLAGS} $< |