***************
*** 66,90 ****
file2c 'u_char mbr[] = {' '};' < /boot/mbr >> makedevs.tmp
echo "size_t mbr_size = sizeof(mbr);" >> makedevs.tmp
.endif
.if ${MACHINE} == "pc98"
file2c 'u_char boot0[] = {' '};' < /boot/boot0 >> makedevs.tmp
echo "size_t boot0_size = sizeof(boot0);" >> makedevs.tmp
file2c 'u_char boot05[] = {' '};' < /boot/boot0.5 >> makedevs.tmp
echo "size_t boot05_size = sizeof(boot05);" >> makedevs.tmp
.endif
mv makedevs.tmp makedevs.c
rtermcap: ${.CURDIR}/rtermcap.c
${CC} -o rtermcap ${.CURDIR}/rtermcap.c -ltermcap
-
KEYMAPS= be.iso br275.iso danish.iso finnish.iso fr.iso \
german.iso hr.iso hu.iso2.101keys it.iso icelandic.iso jp.106 \
norwegian.iso pl_PL.ISO_8859-2 pt.iso ru.koi8-r si.iso \
spanish.iso swedish.iso swissfrench.iso swissgerman.iso uk.iso \
us.dvorak us.iso
- keymap.h:
rm -f keymap.tmp
for map in ${KEYMAPS} ; do \
kbdcontrol -L $$map | \
--- 95,131 ----
file2c 'u_char mbr[] = {' '};' < /boot/mbr >> makedevs.tmp
echo "size_t mbr_size = sizeof(mbr);" >> makedevs.tmp
.endif
+ .if ${BOOTMENU} == "YES"
.if ${MACHINE} == "pc98"
+ .if defined(RELEASEDIR)
+ file2c 'u_char boot0[] = {' '};' < \
+ ${RELEASEDIR}/stage/trees/98bin/boot/boot0 >> makedevs.tmp
+ echo "size_t boot0_size = sizeof(boot0);" >> makedevs.tmp
+ file2c 'u_char boot05[] = {' '};' < \
+ ${RELEASEDIR}/stage/trees/98bin/boot/boot0.5 >> makedevs.tmp
+ echo "size_t boot05_size = sizeof(boot05);" >> makedevs.tmp
+ .else
file2c 'u_char boot0[] = {' '};' < /boot/boot0 >> makedevs.tmp
echo "size_t boot0_size = sizeof(boot0);" >> makedevs.tmp
file2c 'u_char boot05[] = {' '};' < /boot/boot0.5 >> makedevs.tmp
echo "size_t boot05_size = sizeof(boot05);" >> makedevs.tmp
.endif
+ .endif
+ .endif
mv makedevs.tmp makedevs.c
rtermcap: ${.CURDIR}/rtermcap.c
${CC} -o rtermcap ${.CURDIR}/rtermcap.c -ltermcap
KEYMAPS= be.iso br275.iso danish.iso finnish.iso fr.iso \
german.iso hr.iso hu.iso2.101keys it.iso icelandic.iso jp.106 \
norwegian.iso pl_PL.ISO_8859-2 pt.iso ru.koi8-r si.iso \
spanish.iso swedish.iso swissfrench.iso swissgerman.iso uk.iso \
us.dvorak us.iso
+ CLEANFILES+= rtermcap rtermcap.tmp makedevs.c
+
+ keymap.h: Makefile
rm -f keymap.tmp
for map in ${KEYMAPS} ; do \
kbdcontrol -L $$map | \
|