summaryrefslogtreecommitdiffhomepage
path: root/sysinfo
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-24 12:52:34 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:41 -0500
commitcc1c9b2fc3a6ff29e89a2673b1a1a4d19558c6d4 (patch)
tree46a9aed4abeb66a78203c31ff0f7d37c439ad744 /sysinfo
parent2c085c30bcd15dbbcf29a78b49a1654f52b6de8a (diff)
downloadperk-cc1c9b2fc3a6ff29e89a2673b1a1a4d19558c6d4.tar.bz2
perk-cc1c9b2fc3a6ff29e89a2673b1a1a4d19558c6d4.tar.xz
build system: added library version support.
Diffstat (limited to 'sysinfo')
-rw-r--r--sysinfo/os/any-os.mk1
-rw-r--r--sysinfo/os/bsd.mk1
-rw-r--r--sysinfo/os/darwin.mk1
-rw-r--r--sysinfo/os/linux.mk1
-rw-r--r--sysinfo/os/midipix.mk1
-rw-r--r--sysinfo/os/mingw.mk1
6 files changed, 6 insertions, 0 deletions
diff --git a/sysinfo/os/any-os.mk b/sysinfo/os/any-os.mk
index 0aa0a75..c052f31 100644
--- a/sysinfo/os/any-os.mk
+++ b/sysinfo/os/any-os.mk
@@ -6,5 +6,6 @@ OS_LIB_SUFFIX = .so
OS_IMPLIB_EXT = .invalid
OS_LIBDEF_EXT = .invalid
OS_ARCHIVE_EXT = .a
+OS_SONAME = symlink
.PHONY: $(SHARED_IMPLIB)
diff --git a/sysinfo/os/bsd.mk b/sysinfo/os/bsd.mk
index 1b29c90..694c54f 100644
--- a/sysinfo/os/bsd.mk
+++ b/sysinfo/os/bsd.mk
@@ -6,5 +6,6 @@ OS_LIB_SUFFIX = .so
OS_IMPLIB_EXT = .invalid
OS_LIBDEF_EXT = .invalid
OS_ARCHIVE_EXT = .a
+OS_SONAME = symlink
.PHONY: $(SHARED_IMPLIB)
diff --git a/sysinfo/os/darwin.mk b/sysinfo/os/darwin.mk
index f16b1f1..7ccdfde 100644
--- a/sysinfo/os/darwin.mk
+++ b/sysinfo/os/darwin.mk
@@ -6,6 +6,7 @@ OS_LIB_SUFFIX = .dylib
OS_IMPLIB_EXT = .invalid
OS_LIBDEF_EXT = .invalid
OS_ARCHIVE_EXT = .a
+OS_SONAME = symlink
CFLAGS_OS += -D_DARWIN_C_SOURCE
diff --git a/sysinfo/os/linux.mk b/sysinfo/os/linux.mk
index 2bd6329..e2dcd2e 100644
--- a/sysinfo/os/linux.mk
+++ b/sysinfo/os/linux.mk
@@ -6,5 +6,6 @@ OS_LIB_SUFFIX = .so
OS_IMPLIB_EXT = .invalid
OS_LIBDEF_EXT = .invalid
OS_ARCHIVE_EXT = .a
+OS_SONAME = symlink
.PHONY: $(SHARED_IMPLIB)
diff --git a/sysinfo/os/midipix.mk b/sysinfo/os/midipix.mk
index d1cc534..098ac68 100644
--- a/sysinfo/os/midipix.mk
+++ b/sysinfo/os/midipix.mk
@@ -6,6 +6,7 @@ OS_LIB_SUFFIX = .so
OS_IMPLIB_EXT = .lib.a
OS_LIBDEF_EXT = .so.def
OS_ARCHIVE_EXT = .a
+OS_SONAME = copy
LDFLAGS_CONFIG += -mout-implib
diff --git a/sysinfo/os/mingw.mk b/sysinfo/os/mingw.mk
index be3c106..a40239f 100644
--- a/sysinfo/os/mingw.mk
+++ b/sysinfo/os/mingw.mk
@@ -6,6 +6,7 @@ OS_LIB_SUFFIX = .dll
OS_IMPLIB_EXT = .dll.a
OS_LIBDEF_EXT = .def
OS_ARCHIVE_EXT = .a
+OS_SONAME = copy
CFLAGS_PIC =
LDFLAGS_CONFIG += -Wl,--out-implib,$(SHARED_IMPLIB)