summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 57b761a..f80adca 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -8,15 +8,19 @@ src/driver/slbt_driver_ctx.o: CFLAGS += $(CFLAGS_MACHINE)
src/driver/slbt_driver_ctx.lo: CFLAGS += $(CFLAGS_MACHINE)
install-app-extras: app
+install-app-extras: DBGNAME = dlibtool
install-app-extras:
mkdir -p $(DESTDIR)$(BINDIR)
+ rm -f bin/$(DBGNAME)$(OS_APP_SUFFIX).tmp
rm -f bin/$(NICKNAME)-shared$(OS_APP_SUFFIX).tmp
rm -f bin/$(NICKNAME)-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
+ 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)