diff options
author | midipix <writeonce@midipix.org> | 2016-05-01 12:27:36 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-05-01 12:34:05 -0400 |
commit | 928cf1f414b5665c50f4e926f40fc39806345729 (patch) | |
tree | 06911f2ec2448f7972a467a10e4e393f399c4af9 | |
parent | e4f9330b708b17badf3f1f851f4ae5417301afdb (diff) | |
download | slibtool-928cf1f414b5665c50f4e926f40fc39806345729.tar.bz2 slibtool-928cf1f414b5665c50f4e926f40fc39806345729.tar.xz |
project: added installation of debug mode symlink.
-rw-r--r-- | project/extras.mk | 4 |
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) |