From 7db264dc0d45db6c8acf06886904ee87bec36c84 Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Sun, 17 May 2020 19:49:24 +0200 Subject: [PATCH] Add more terminal emulators. SIMH KS10 gets VT52. SIMH KL10 gets VT52 and Tekronix. KLH10 KS10 doesn't have serial ports, so build no terminal emulators. --- Makefile | 4 ++-- build/dependencies.sh | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a77a521b..c5729f92 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ out/klh10/emulators: out/simh/stamp: $(OUT)/rp0.dsk $(TOUCH) $@ -out/simh/emulators: $(GT40) +out/simh/emulators: $(GT40) $(VT52) $(TOUCH) $@ out/pdp10-ka/stamp: $(OUT)/rp03.2 $(OUT)/rp03.3 @@ -107,7 +107,7 @@ out/pdp10-ka/emulators: $(GT40) $(TV11) $(PDP6) $(DATAPOINT) $(VT52) $(TEK) out/pdp10-kl/stamp: $(OUT)/rp04.1 $(TOUCH) $@ -out/pdp10-kl/emulators: +out/pdp10-kl/emulators: $(VT52) $(TEK) $(TOUCH) $@ $(OUT)/rp0.dsk: build/simh/init $(OUT)/minsys.tape $(OUT)/minsrc.tape $(OUT)/salv.tape $(OUT)/dskdmp.tape build/build.tcl $(OUT)/sources.tape build/$(EMULATOR)/stamp diff --git a/build/dependencies.sh b/build/dependencies.sh index cfc29c4d..40b3a009 100644 --- a/build/dependencies.sh +++ b/build/dependencies.sh @@ -10,7 +10,8 @@ install_linux() { # For GitLab CI sudo apt-get install -my git make gcc libncurses-dev autoconf case "$EMULATOR" in - simh) sudo apt-get install -y simh;; + simh) sudo apt-get install -y libegl1-mesa-dev libgles2-mesa-dev + sudo apt-get install -y libsdl2-dev;; pdp10-k?) sudo apt-get install -y libegl1-mesa-dev libgles2-mesa-dev sudo apt-get install -y libx11-dev libxt-dev libsdl2-dev sudo apt-get install -y libsdl2-image-dev libpcap-dev @@ -24,13 +25,16 @@ install_freebsd() { pkg install -y gmake git expect case "$EMULATOR" in pdp10-ka) pkg install -y sdl2 sdl2_image pkgconf gtk3;; - pdp10-kl) pkg install -y autoconf;; + pdp10-kl) pkg install -y sdl2 pkgconf gtk3 autoconf;; klh10) pkg install -y pkgconf autotools;; esac } install_osx() { - true + case "$EMULATOR" in + simh) brew install sdl2;; + pdp10-*) brew install sdl2;; + esac } "$1"