summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-03 14:58:48 -0400
committermidipix <writeonce@midipix.org>2016-05-03 15:47:37 -0400
commit60f67c14f97429647a45c02255c3aab12d0133b1 (patch)
tree3dc83b6cbd596c836aeb1a5c17706f0748d31046
parentd15d16d8555e701b5293e92fd4992ca4537718bd (diff)
downloadslibtool-60f67c14f97429647a45c02255c3aab12d0133b1.tar.bz2
slibtool-60f67c14f97429647a45c02255c3aab12d0133b1.tar.xz
project: added installation of legabits symlinks.
-rw-r--r--project/extras.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/project/extras.mk b/project/extras.mk
index f80adca..f21467b 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -9,6 +9,7 @@ src/driver/slbt_driver_ctx.lo: CFLAGS += $(CFLAGS_MACHINE)
install-app-extras: app
install-app-extras: DBGNAME = dlibtool
+install-app-extras: LEGABITS = clibtool
install-app-extras:
mkdir -p $(DESTDIR)$(BINDIR)
@@ -17,10 +18,22 @@ install-app-extras:
rm -f bin/$(NICKNAME)-shared$(OS_APP_SUFFIX).tmp
rm -f bin/$(NICKNAME)-static$(OS_APP_SUFFIX).tmp
+ rm -f bin/$(LEGABITS)$(OS_APP_SUFFIX).tmp
+ rm -f bin/$(LEGABITS)-shared$(OS_APP_SUFFIX).tmp
+ rm -f bin/$(LEGABITS)-static$(OS_APP_SUFFIX).tmp
+
ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(DBGNAME)$(OS_APP_SUFFIX).tmp
ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(NICKNAME)-shared$(OS_APP_SUFFIX).tmp
ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(NICKNAME)-static$(OS_APP_SUFFIX).tmp
+ ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(LEGABITS)$(OS_APP_SUFFIX).tmp
+ ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(LEGABITS)-shared$(OS_APP_SUFFIX).tmp
+ ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(LEGABITS)-static$(OS_APP_SUFFIX).tmp
+
mv bin/$(DBGNAME)$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(DBGNAME)$(OS_APP_SUFFIX)
mv bin/$(NICKNAME)-shared$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(NICKNAME)-shared$(OS_APP_SUFFIX)
mv bin/$(NICKNAME)-static$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(NICKNAME)-static$(OS_APP_SUFFIX)
+
+ mv bin/$(LEGABITS)$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(LEGABITS)$(OS_APP_SUFFIX)
+ mv bin/$(LEGABITS)-shared$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(LEGABITS)-shared$(OS_APP_SUFFIX)
+ mv bin/$(LEGABITS)-static$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(LEGABITS)-static$(OS_APP_SUFFIX)