diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index 0f6b5f7e5..a120f0303 100644 --- a/Makefile.in +++ b/Makefile.in @@ -122,6 +122,9 @@ LIBVHDL_FLAGS_TO_PASS=\ enable_openieee="$(enable_openieee)" \ LN="$(LN)" CP="$(CP)" MKDIR="$(MKDIR)" +# Object files from grt for the synthesis. +GRT_SYNTH_OBJS=grt-cstdio.o + all: Makefile all.$(backend) all.libghdl install: install.$(backend) @@ -278,9 +281,10 @@ ghdl1-gcc$(EXEEXT): version.ads force ortho_srcdir=$(srcdir)/src/ortho ortho_exec=$@ \ GNATFLAGS="$(GHDL_GCC_INCFLAGS) $(GNATFLAGS)" all -ghdl_gcc$(EXEEXT): version.ads force +ghdl_gcc$(EXEEXT): version.ads $(GRT_SYNTH_OBJS) force $(GNATMAKE) $(GHDL_GCC_INCFLAGS) -aI$(srcdir)/src/ghdldrv \ - $(GNATFLAGS) ghdl_gcc $(GNAT_BARGS) -largs $(GNAT_LARGS) + $(GNATFLAGS) ghdl_gcc $(GNAT_BARGS) \ + -largs $(GRT_SYNTH_OBJS) $(GNAT_LARGS) libs.vhdl.local_gcc: ghdl_gcc$(EXEEXT) ghdl1-gcc$(EXEEXT) $(MAKE) -f $(srcdir)/libraries/Makefile.inc $(LIBVHDL_FLAGS_TO_PASS) GHDL=$(PWD)/ghdl_gcc$(EXEEXT) GHDL_FLAGS="--GHDL1=$(PWD)/ghdl1-gcc$(EXEEXT) $(LIB_CFLAGS)" vhdl.libs.all libs.vhdl.standard @@ -325,9 +329,11 @@ libs.vhdl.llvm: ghdl_llvm$(EXEEXT) ghdl1-llvm$(EXEEXT) libs.vhdl.debug-llvm: ghdl_llvm$(EXEEXT) ghdl1-debug$(EXEEXT) $(MAKE) -f $(srcdir)/libraries/Makefile.inc $(LIBVHDL_FLAGS_TO_PASS) GHDL=$(PWD)/ghdl_llvm$(EXEEXT) GHDL_FLAGS="--GHDL1=$(PWD)/ghdl1-debug$(EXEEXT) $(LIB_CFLAGS)" vhdl.libs.all libs.vhdl.standard -ghdl_llvm$(EXEEXT): version.ads force - $(GNATMAKE) $(GHDL_LLVM_INCFLAGS) -aI$(srcdir)/src/ghdldrv $(GNATFLAGS)\ - ghdl_llvm $(GNAT_BARGS) -largs $(LDFLAGS) $(GNAT_LARGS) +ghdl_llvm$(EXEEXT): version.ads $(GRT_SYNTH_OBJS) force + $(GNATMAKE) $(GHDL_LLVM_INCFLAGS) \ + -aI$(srcdir)/src/ghdldrv $(GNATFLAGS) \ + ghdl_llvm $(GNAT_BARGS) \ + -largs $(LDFLAGS) $(GRT_SYNTH_OBJS) $(GNAT_LARGS) ghdl1-llvm$(EXEEXT): version.ads force $(MAKE) -f $(srcdir)/src/ortho/$(llvm_be)/Makefile \ |