#
# Copyright (C) 2017 FAUmachine Team <info@faumachine.org>.
# This program is free software. You can redistribute it and/or modify it
# under the terms of the GNU General Public License, either version 2 of
# the License, or (at your option) any later version. See COPYING.
#

SIMULATION_PC := pc-4.vhdl
DVD_IMAGE := Debian-4.0r0-i386-DVD-1
ADDITIONAL_USER_VHDL := 01generate.vhdl
ADDITIONAL_VHDL := vt102.vhdl

include $(dir $(shell which faum))/../share/faumachine/vhdl/experiment.mk

01generate.vhdl: $(EXP_DIR)/01generate
	faum-gen-vhdl $< \
		| sed -e 's/power_switch/term_power_switch/g' \
		| sed -e 's/key,/term_key,/g' \
		| sed -e 's/int_asc_text0/t0_int_asc_text0/g' \
		| sed -e 's/screen_shot/term_screen_shot/g' \
		>> $@

clean distclean::
	$(RM) 01generate.vhdl
