• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révisionc95bd9111ee75556a4a6ba51603856cee0afef2b (tree)
l'heure2022-11-05 22:28:14
AuteurMike Frysinger <vapier@gent...>
CommiterMike Frysinger

Message de Log

sim: use libtool to install programs

Now that we use libtool to link, we have to use it to install instead
of keeping the manual logic so we don't install wrapper shell scripts.

Change Summary

Modification

--- a/sim/Makefile.am
+++ b/sim/Makefile.am
@@ -214,7 +214,8 @@ install-exec-local: installdirs $(SIM_INSTALL_EXEC_LOCAL_DEPS)
214214 if [ -e $$d/run$(EXEEXT) ]; then \
215215 n="$$run"; \
216216 [ "$(SIM_PRIMARY_TARGET)" = "$$d" ] || n="$$n-$$d"; \
217- $(INSTALL_PROGRAM) $$d/run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT) || exit 1; \
217+ $(LIBTOOL) --mode=install \
218+ $(INSTALL_PROGRAM) $$d/run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT) || exit 1; \
218219 fi; \
219220 done
220221
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -3271,7 +3271,7 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo
32713271 @SIM_ENABLE_ARCH_erc32_TRUE@sim-%D-install-exec-local: installdirs
32723272 @SIM_ENABLE_ARCH_erc32_TRUE@ $(AM_V_at)$(MKDIR_P) $(DESTDIR)$(bindir)
32733273 @SIM_ENABLE_ARCH_erc32_TRUE@ n=`echo sis | sed '$(program_transform_name)'`; \
3274-@SIM_ENABLE_ARCH_erc32_TRUE@ $(INSTALL_PROGRAM) erc32/sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
3274+@SIM_ENABLE_ARCH_erc32_TRUE@ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) erc32/run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
32753275 @SIM_ENABLE_ARCH_erc32_TRUE@sim-erc32-uninstall-local:
32763276 @SIM_ENABLE_ARCH_erc32_TRUE@ rm -f $(DESTDIR)$(bindir)/sis
32773277
@@ -3530,7 +3530,8 @@ install-exec-local: installdirs $(SIM_INSTALL_EXEC_LOCAL_DEPS)
35303530 if [ -e $$d/run$(EXEEXT) ]; then \
35313531 n="$$run"; \
35323532 [ "$(SIM_PRIMARY_TARGET)" = "$$d" ] || n="$$n-$$d"; \
3533- $(INSTALL_PROGRAM) $$d/run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT) || exit 1; \
3533+ $(LIBTOOL) --mode=install \
3534+ $(INSTALL_PROGRAM) $$d/run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT) || exit 1; \
35343535 fi; \
35353536 done
35363537
--- a/sim/erc32/local.mk
+++ b/sim/erc32/local.mk
@@ -39,7 +39,7 @@ SIM_INSTALL_EXEC_LOCAL_DEPS += sim-%D-install-exec-local
3939 sim-%D-install-exec-local: installdirs
4040 $(AM_V_at)$(MKDIR_P) $(DESTDIR)$(bindir)
4141 n=`echo sis | sed '$(program_transform_name)'`; \
42- $(INSTALL_PROGRAM) %D%/sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
42+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) %D%/run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
4343
4444 SIM_UNINSTALL_LOCAL_DEPS += sim-%D%-uninstall-local
4545 sim-%D%-uninstall-local: