diff options
author | Marlon James <marlon.james@gmail.com> | 2021-03-03 10:33:56 -0800 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-03-04 07:49:28 +0100 |
commit | 783cbac7ba4c14aa7e27f28755dccd7e4ee4d54e (patch) | |
tree | 929ab92aac895ec39b5e7780e1fe8cea3edf3be1 /src/grt/Makefile.inc | |
parent | a03aedddf650f923b06ebacb441a713930cd63e1 (diff) | |
download | ghdl-783cbac7ba4c14aa7e27f28755dccd7e4ee4d54e.tar.gz ghdl-783cbac7ba4c14aa7e27f28755dccd7e4ee4d54e.tar.bz2 ghdl-783cbac7ba4c14aa7e27f28755dccd7e4ee4d54e.zip |
VHPI: add initial minimal implementation
Minimal implementation of VHPI provides library loading and
error support. Calling most vhpi_* functions will raise a
VHPI error condition.
Incorporates VHPI thunks into libghdlvpi for linking.
Diffstat (limited to 'src/grt/Makefile.inc')
-rw-r--r-- | src/grt/Makefile.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/grt/Makefile.inc b/src/grt/Makefile.inc index ab8ca34a9..860c91344 100644 --- a/src/grt/Makefile.inc +++ b/src/grt/Makefile.inc @@ -92,7 +92,7 @@ GRT_FST_OBJS := fstapi.o lz4.o fastlz.o # Additionnal object files (C or asm files). GRT_BASE_C_OBJS:=$(GRT_TARGET_OBJS) grt-cstdio.o grt-cgnatrts.o -GRT_ADD_OBJS:=$(GRT_BASE_C_OBJS) grt-cvpi.o grt-cdynload.o $(GRT_FST_OBJS) +GRT_ADD_OBJS:=$(GRT_BASE_C_OBJS) grt-cvpi.o grt-cvhpi.o grt-cdynload.o $(GRT_FST_OBJS) # Source files create by grt. GRT_SRC_DEPS:=grt-backtraces-impl.ads @@ -195,6 +195,12 @@ grt-cvpi.o: $(GRTSRCDIR)/grt-cvpi.c pic/grt-cvpi.o: $(GRTSRCDIR)/grt-cvpi.c $(GRT_C_COMPILE_PIC) +grt-cvhpi.o: $(GRTSRCDIR)/grt-cvhpi.c + $(GRT_C_COMPILE) + +pic/grt-cvhpi.o: $(GRTSRCDIR)/grt-cvhpi.c + $(GRT_C_COMPILE_PIC) + grt-cdynload.o: $(GRTSRCDIR)/grt-cdynload.c $(GRT_C_COMPILE) |