aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/Makefile.inc
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-12-31 18:34:52 +0100
committerTristan Gingold <tgingold@free.fr>2018-12-31 18:34:52 +0100
commit3882e494edd4515b085657a66bd1e20c8e7ade01 (patch)
treee4c1aab5b2557dc239048c8c4d23aab1fff447d2 /libraries/Makefile.inc
parent0ab295130159da82ef9c5660bf4f2a8f2b76ec48 (diff)
downloadghdl-3882e494edd4515b085657a66bd1e20c8e7ade01.tar.gz
ghdl-3882e494edd4515b085657a66bd1e20c8e7ade01.tar.bz2
ghdl-3882e494edd4515b085657a66bd1e20c8e7ade01.zip
openieee: add minimal ieee 2008 library for --enable-openieee
Diffstat (limited to 'libraries/Makefile.inc')
-rw-r--r--libraries/Makefile.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/Makefile.inc b/libraries/Makefile.inc
index a14f8416b..f9f8e8c4d 100644
--- a/libraries/Makefile.inc
+++ b/libraries/Makefile.inc
@@ -39,7 +39,7 @@ else
# GPL compatible
vhdl.libs.v87: std.v87 ieee.v87 synopsys.v87
vhdl.libs.v93: std.v93 ieee.v93 synopsys.v93
-vhdl.libs.v08: std.v08
+vhdl.libs.v08: std.v08 ieee.v08
endif
STD_SRCS := std/textio.vhdl std/textio_body.vhdl
@@ -84,7 +84,8 @@ IEEE_SRCS := openieee/std_logic_1164.vhdl openieee/std_logic_1164-body.vhdl \
MATH_SRCS := openieee/math_real.vhdl openieee/math_real-body.vhdl
VITAL95_BSRCS :=
VITAL2000_BSRCS :=
-IEEE08_BSRCS :=
+IEEE08_BSRCS := openieee/std_logic_1164.v08 openieee/std_logic_1164-body.v08 \
+ openieee/math_real.vhdl openieee/math_real-body.vhdl
endif
ANALYZE=$(GHDL) -a $(GHDL_FLAGS)
@@ -302,6 +303,9 @@ $(STD08_DIR)/std-obj08.cf: $(ANALYZE_DEP) $(STD08_SRCS)
$(LIBDST_DIR)/src/ieee2008/%.vhdl: $(LIBSRC_DIR)/ieee2008/%.vhdl
$(CP) $< $@
+$(LIBDST_DIR)/src/openieee/%.v08: $(LIBSRC_DIR)/openieee/%.v08
+ $(CP) $< $@
+
ANALYZE_IEEE08=$(ANALYZE08) -P../.. --work=ieee
ANALYZE_VITAL08=$(ANALYZE08) -P../.. --work=ieee -frelaxed-rules