Merge remote-tracking branch 'upstream/master'
[yosys.git] / backends / smt2 / Makefile.inc
1
2 OBJS += backends/smt2/smt2.o
3
4 ifneq ($(CONFIG),mxe)
5 ifneq ($(CONFIG),emcc)
6 TARGETS += yosys-smtbmc
7
8 yosys-smtbmc: backends/smt2/smtbmc.py
9 $(P) sed 's|##yosys-sys-path##|sys.path += [os.path.dirname(os.path.realpath(__file__)) + p for p in ["/share/python3", "/../share/yosys/python3"]]|;' < $< > $@.new
10 $(Q) chmod +x $@.new
11 $(Q) mv $@.new $@
12
13 $(eval $(call add_share_file,share/python3,backends/smt2/smtio.py))
14 endif
15 endif
16