summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/demo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pcvt/demo/Makefile')
-rw-r--r--usr.sbin/pcvt/demo/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/usr.sbin/pcvt/demo/Makefile b/usr.sbin/pcvt/demo/Makefile
new file mode 100644
index 0000000..c20b8ac
--- /dev/null
+++ b/usr.sbin/pcvt/demo/Makefile
@@ -0,0 +1,54 @@
+PROG= playvt
+SRCS= playvt.c
+DEMOS= chardemo.vt colors.vt sgr.vt
+DEMOS+= outerlimit.vt twzone.vt cowscene.vt xmas.vt
+NOMAN=
+
+all: $(DEMOS) $(PROG)
+
+install: ${DEMOS}
+ @echo "to look at the demos, execute:"
+ @echo " \"cat <filename>.vt\""
+ @echo "if it is an animation an it runs too fast, try out:"
+ @echo " \"playvt -f <filename>.vt -d<some-delay-val>\""
+
+.include <bsd.prog.mk>
+
+CLEANFILES+= ${DEMOS}
+
+# this seems to be the lowest common denominator
+
+chardemo.vt: ${.CURDIR}/$@.gz.uu
+ uudecode ${.CURDIR}/$@.gz.uu
+ gunzip $@.gz
+ rm -f $@.gz
+
+colors.vt: ${.CURDIR}/$@.gz.uu
+ uudecode ${.CURDIR}/$@.gz.uu
+ gunzip $@.gz
+ rm -f $@.gz
+
+sgr.vt: ${.CURDIR}/$@.gz.uu
+ uudecode ${.CURDIR}/$@.gz.uu
+ gunzip $@.gz
+ rm -f $@.gz
+
+cowscene.vt: ${.CURDIR}/$@.gz.uu
+ uudecode ${.CURDIR}/$@.gz.uu
+ gunzip $@.gz
+ rm -f $@.gz
+
+xmas.vt: ${.CURDIR}/$@.gz.uu
+ uudecode ${.CURDIR}/$@.gz.uu
+ gunzip $@.gz
+ rm -f $@.gz
+
+outerlimit.vt: ${.CURDIR}/$@.gz.uu
+ uudecode ${.CURDIR}/$@.gz.uu
+ gunzip $@.gz
+ rm -f $@.gz
+
+twzone.vt: ${.CURDIR}/$@.gz.uu
+ uudecode ${.CURDIR}/$@.gz.uu
+ gunzip $@.gz
+ rm -f $@.gz
OpenPOWER on IntegriCloud