diff options
author | Tristan Gingold <tgingold@free.fr> | 2023-01-14 03:40:04 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2023-01-14 08:36:19 +0100 |
commit | 86f025cb0901a002b252acc9d35b23f28f7f0080 (patch) | |
tree | b5e930a94d63f0bda486000da1205d5f80f1ee29 /Makefile.in | |
parent | bea799a3c6e9f47e53ec8bedd66d780411e58937 (diff) | |
download | ghdl-86f025cb0901a002b252acc9d35b23f28f7f0080.tar.gz ghdl-86f025cb0901a002b252acc9d35b23f28f7f0080.tar.bz2 ghdl-86f025cb0901a002b252acc9d35b23f28f7f0080.zip |
Makefile.in: add dll_deps recipes to copy dll dependencies to prefix
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index c96670ec8..02b29e17a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -225,6 +225,11 @@ uninstall.mcode.program: install.mcode: install.mcode.program install.vhdllib +install.mcode.dll_deps: + for f in $$(ldd ghdl_mcode$(EXEEXT) | sed -n -e '/Windows/d' -e 's/.*=> \(.*\) .*/\1/p'); do \ + $(INSTALL_PROGRAM) -p $$f "$(DESTDIR)$(bindir)/"; \ + done + uninstall.mcode: uninstall.mcode.program uninstall.vhdllib test.mcode: ghdl_mcode$(EXEEXT) @@ -503,6 +508,11 @@ install.libghdl.true: install.libghdl.lib install.libghdl.include install.libghdl.false: install.libghdl: install.libghdl.$(enable_libghdl) +install.libghdl.dll_deps: + for f in $$(ldd lib/$(libghdl_name) | sed -n -e '/Windows/d' -e 's/.*=> \(.*\) .*/\1/p'); do \ + $(INSTALL_PROGRAM) -p $$f "$(DESTDIR)$(libdir)/"; \ + done + uninstall.libghdl: $(RM) $(DESTDIR)$(libdir)/$(libghdl_name) |