summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Schleifer <js@heap.zone>2018-05-06 04:15:51 +0200
committerJonathan Schleifer <js@heap.zone>2018-05-06 04:15:51 +0200
commit4736b3c162c7827aac35b38c2db42287578025fb (patch)
tree2a7bfd14c91333f20f8ade6cbab7892d154fd223
parent77f95cc9d87565ab17f8fc0b87b28da3218aebe4 (diff)
Install Amiga libraries
-rw-r--r--buildsys.mk.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/buildsys.mk.in b/buildsys.mk.in
index 6586e35..2e92d89 100644
--- a/buildsys.mk.in
+++ b/buildsys.mk.in
@@ -85,6 +85,7 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
+amigalibdir ?= ${prefix}/libs
plugindir ?= ${libdir}/${PACKAGE_NAME}
datarootdir = @datarootdir@
datadir = @datadir@
@@ -703,6 +704,16 @@ install: all install-extra
fi \
done
+ for i in "" ${AMIGA_LIB}; do \
+ test x"$$i" = x"" && continue; \
+ ${INSTALL_STATUS}; \
+ if ${MKDIR_P} ${DESTDIR}${amigalibdir} && ${INSTALL} -m 755 $$i ${DESTDIR}${amigalibdir}/$$i; then \
+ ${INSTALL_OK}; \
+ else \
+ ${INSTALL_FAILED}; \
+ fi \
+ done
+
for i in "" ${STATIC_LIB} ${STATIC_PIC_LIB}; do \
test x"$$i" = x"" && continue; \
${INSTALL_STATUS}; \