From 4c3fb76f0341f4ac98f23a434fc741e1252d9627 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 17 Mar 2024 16:02:00 +0000 Subject: slibtoolize mode: program skeleton, driver integration, and symlink extra. --- project/common.mk | 2 ++ project/extras.mk | 7 +++++++ project/headers.mk | 1 + 3 files changed, 10 insertions(+) (limited to 'project') diff --git a/project/common.mk b/project/common.mk index e7d687a..a87d577 100644 --- a/project/common.mk +++ b/project/common.mk @@ -39,6 +39,7 @@ API_SRCS = \ src/logic/slbt_exec_execute.c \ src/logic/slbt_exec_install.c \ src/logic/slbt_exec_link.c \ + src/logic/slbt_exec_stoolie.c \ src/logic/slbt_exec_uninstall.c \ src/logic/linkcmd/slbt_linkcmd_archive.c \ src/logic/linkcmd/slbt_linkcmd_argv.c \ @@ -58,6 +59,7 @@ API_SRCS = \ src/skin/slbt_skin_ar.c \ src/skin/slbt_skin_default.c \ src/skin/slbt_skin_install.c \ + src/skin/slbt_skin_stoolie.c \ src/skin/slbt_skin_uninstall.c \ FALLBACK_SRCS = \ diff --git a/project/extras.mk b/project/extras.mk index da2faaf..5118914 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -15,6 +15,7 @@ RAPUNZEL = rlibtool RAPUNCEL = rclibtool RAPUNDEL = rdlibtool RAPUNJEL = rdclibtool +STOOLIE = slibtoolize install-app-extras: mkdir -p $(DESTDIR)$(BINDIR) @@ -38,6 +39,8 @@ install-app-extras: rm -f bin/$(RAPUNDEL)$(OS_APP_SUFFIX).tmp rm -f bin/$(RAPUNJEL)$(OS_APP_SUFFIX).tmp + rm -f bin/$(STOOLIE)$(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/$(NICKNAME)-ar$(OS_APP_SUFFIX).tmp @@ -57,6 +60,8 @@ install-app-extras: ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(RAPUNDEL)$(OS_APP_SUFFIX).tmp ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(RAPUNJEL)$(OS_APP_SUFFIX).tmp + ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(STOOLIE)$(OS_APP_SUFFIX).tmp + 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/$(NICKNAME)-ar$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(NICKNAME)-ar$(OS_APP_SUFFIX) @@ -75,3 +80,5 @@ install-app-extras: mv bin/$(RAPUNCEL)$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(RAPUNCEL)$(OS_APP_SUFFIX) mv bin/$(RAPUNDEL)$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(RAPUNDEL)$(OS_APP_SUFFIX) mv bin/$(RAPUNJEL)$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(RAPUNJEL)$(OS_APP_SUFFIX) + + mv bin/$(STOOLIE)$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(STOOLIE)$(OS_APP_SUFFIX) diff --git a/project/headers.mk b/project/headers.mk index b986ec2..f57eaae 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -23,6 +23,7 @@ INTERNAL_HEADERS = \ $(PROJECT_DIR)/src/internal/$(PACKAGE)_realpath_impl.h \ $(PROJECT_DIR)/src/internal/$(PACKAGE)_snprintf_impl.h \ $(PROJECT_DIR)/src/internal/$(PACKAGE)_spawn_impl.h \ + $(PROJECT_DIR)/src/internal/$(PACKAGE)_stoolie_impl.h \ $(PROJECT_DIR)/src/internal/$(PACKAGE)_symlink_impl.h \ $(PROJECT_DIR)/src/internal/$(PACKAGE)_uninstall_impl.h \ $(PROJECT_DIR)/src/internal/$(PACKAGE)_visibility_impl.h \ -- cgit v1.2.3