summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-17 16:02:00 +0000
committermidipix <writeonce@midipix.org>2024-03-17 16:02:00 +0000
commit4c3fb76f0341f4ac98f23a434fc741e1252d9627 (patch)
tree9c2bb699dc3866e3f2a397ab631431c272ab6673 /project
parent752cd9fff4d112e534cd137b30ddefb87b651b30 (diff)
downloadslibtool-4c3fb76f0341f4ac98f23a434fc741e1252d9627.tar.bz2
slibtool-4c3fb76f0341f4ac98f23a434fc741e1252d9627.tar.xz
slibtoolize mode: program skeleton, driver integration, and symlink extra.
Diffstat (limited to 'project')
-rw-r--r--project/common.mk2
-rw-r--r--project/extras.mk7
-rw-r--r--project/headers.mk1
3 files changed, 10 insertions, 0 deletions
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 \