summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-06-23 08:57:17 +0000
committertg <tg@FreeBSD.org>2000-06-23 08:57:17 +0000
commit67154b7af03b1762052e4a3715df32c15ea4c7ab (patch)
treefd062b9d80f9dfccc79fd08f70da03e650f663e0 /usr.bin/doscmd/Makefile
parentb8a70f2c5857e842cb5dadd869ee5fa4a4082560 (diff)
downloadFreeBSD-src-67154b7af03b1762052e4a3715df32c15ea4c7ab.zip
FreeBSD-src-67154b7af03b1762052e4a3715df32c15ea4c7ab.tar.gz
Install a VGA font for the X11 mode. Use a line like
xset fp+ /usr/libdata/doscmd/fonts in your .xsession to activate it. Document X11_FONT option in .doscmdrc. Open window if $DISPLAY is set.
Diffstat (limited to 'usr.bin/doscmd/Makefile')
-rw-r--r--usr.bin/doscmd/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/usr.bin/doscmd/Makefile b/usr.bin/doscmd/Makefile
index 8ecdcec..714b1eb 100644
--- a/usr.bin/doscmd/Makefile
+++ b/usr.bin/doscmd/Makefile
@@ -10,7 +10,7 @@ SRCS= AsyncIO.c ParseBuffer.c bios.c callback.c cpu.c dos.c cmos.c config.c \
tty.c xms.c
CFLAGS+= -I. -DDISASSEMBLER
-CLEANFILES= emsdriv.sys redir.com
+CLEANFILES= cp437-8x16.pcf.gz emsdriv.sys redir.com
.if ${OBJFORMAT} == "aout"
CLEANFILES+= doscmd.kernel crt0.o doscmd_loader.o
@@ -42,6 +42,11 @@ beforeinstall:
.endif
${INSTALL} ${COPY} -o ${BINOWN} -g ${EXEGRP} -m ${EXEMODE} \
emsdriv.sys redir.com ${DESTDIR}/usr/libdata/doscmd/
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${EXEGRP} -m ${SHAREMODE} \
+ cp437-8x16.pcf.gz ${DESTDIR}/usr/libdata/doscmd/fonts
+ cd ${.CURDIR} && \
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${EXEGRP} -m ${SHAREMODE} \
+ fonts.dir ${DESTDIR}/usr/libdata/doscmd/fonts
.if ${OBJFORMAT} == "aout"
doscmd: ${LIBCRT0} doscmd_loader.o ${LIBGCC} ${LIBC}
@@ -52,17 +57,20 @@ doscmd: ${LIBCRT0} doscmd_loader.o ${LIBGCC} ${LIBC}
.depend: doscmd_loader.c
# Bogus dependencies to get more than one binary created by `make all'.
-doscmd: doscmd.kernel emsdriv.sys redir.com
+doscmd: cp437-8x16.pcf.gz doscmd.kernel emsdriv.sys redir.com
.else
-doscmd: emsdriv.sys redir.com
+doscmd: cp437-8x16.pcf.gz emsdriv.sys redir.com
.endif
-redir.com: redir.com.uu
- uudecode ${.CURDIR}/redir.com.uu
+cp437-8x16.pcf.gz: cp437-8x16.pcf.gz.uu
+ uudecode ${.CURDIR}/cp437-8x16.pcf.gz.uu
emsdriv.sys: emsdriv.sys.uu
uudecode ${.CURDIR}/emsdriv.sys.uu
+redir.com: redir.com.uu
+ uudecode ${.CURDIR}/redir.com.uu
+
# Make sure the library names are defined. We want to specify the full
# path to the standard crt0.o, and building two binaries in one directory
# breaks the automatic generation of dependencies for binaries.
OpenPOWER on IntegriCloud