From 1d5e0d23f1f97276282c8468b617d782a2aff58b Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 10 Nov 2018 11:46:40 -0500 Subject: build system: host flavors: support suffixed library extensions. 'cause you cannot eat your Apfel and eat it two. --- sysinfo/os/any-os.mk | 4 ++++ sysinfo/os/bsd.mk | 4 ++++ sysinfo/os/cygwin.mk | 4 ++++ sysinfo/os/darwin.mk | 4 ++++ sysinfo/os/linux.mk | 4 ++++ sysinfo/os/midipix.mk | 4 ++++ sysinfo/os/mingw.mk | 4 ++++ sysinfo/os/msys.mk | 4 ++++ 8 files changed, 32 insertions(+) (limited to 'sysinfo') diff --git a/sysinfo/os/any-os.mk b/sysinfo/os/any-os.mk index cf8ec00..6c5a2af 100644 --- a/sysinfo/os/any-os.mk +++ b/sysinfo/os/any-os.mk @@ -10,3 +10,7 @@ OS_SONAME = symlink OS_BINFMT = ELF .PHONY: $(IMPLIB_DEF) $(IMPLIB_VER) $(IMPLIB_SONAME) $(IMPLIB_SOLINK) + +# dso suffix notation +OS_LIB_PREFIXED_SUFFIX = $(OS_LIB_SUFFIX) +OS_LIB_SUFFIXED_SUFFIX = diff --git a/sysinfo/os/bsd.mk b/sysinfo/os/bsd.mk index 6e8fac0..61a3a05 100644 --- a/sysinfo/os/bsd.mk +++ b/sysinfo/os/bsd.mk @@ -10,3 +10,7 @@ OS_SONAME = symlink OS_BINFMT = ELF .PHONY: $(IMPLIB_DEF) $(IMPLIB_VER) $(IMPLIB_SONAME) $(IMPLIB_SOLINK) + +# dso suffix notation +OS_LIB_PREFIXED_SUFFIX = $(OS_LIB_SUFFIX) +OS_LIB_SUFFIXED_SUFFIX = diff --git a/sysinfo/os/cygwin.mk b/sysinfo/os/cygwin.mk index 21cb1a1..290aa0d 100644 --- a/sysinfo/os/cygwin.mk +++ b/sysinfo/os/cygwin.mk @@ -11,3 +11,7 @@ OS_BINFMT = PE OS_IMPLIB_TOOL = dlltool CFLAGS_PIC = + +# dso suffix notation +OS_LIB_PREFIXED_SUFFIX = $(OS_LIB_SUFFIX) +OS_LIB_SUFFIXED_SUFFIX = diff --git a/sysinfo/os/darwin.mk b/sysinfo/os/darwin.mk index 5a0b99e..abc9bc7 100644 --- a/sysinfo/os/darwin.mk +++ b/sysinfo/os/darwin.mk @@ -12,3 +12,7 @@ OS_BINFMT = MACHO CFLAGS_OS += -D_DARWIN_C_SOURCE .PHONY: $(IMPLIB_DEF) $(IMPLIB_VER) $(IMPLIB_SONAME) $(IMPLIB_SOLINK) + +# dso suffix notation +OS_LIB_PREFIXED_SUFFIX = +OS_LIB_SUFFIXED_SUFFIX = $(OS_LIB_SUFFIX) diff --git a/sysinfo/os/linux.mk b/sysinfo/os/linux.mk index 082026b..fffe324 100644 --- a/sysinfo/os/linux.mk +++ b/sysinfo/os/linux.mk @@ -10,3 +10,7 @@ OS_SONAME = symlink OS_BINFMT = ELF .PHONY: $(IMPLIB_DEF) $(IMPLIB_VER) $(IMPLIB_SONAME) $(IMPLIB_SOLINK) + +# dso suffix notation +OS_LIB_PREFIXED_SUFFIX = $(OS_LIB_SUFFIX) +OS_LIB_SUFFIXED_SUFFIX = diff --git a/sysinfo/os/midipix.mk b/sysinfo/os/midipix.mk index b2d7096..d23d387 100644 --- a/sysinfo/os/midipix.mk +++ b/sysinfo/os/midipix.mk @@ -9,3 +9,7 @@ OS_ARCHIVE_EXT = .a OS_SONAME = symlink OS_BINFMT = PE OS_IMPLIB_TOOL = mdso + +# dso suffix notation +OS_LIB_PREFIXED_SUFFIX = $(OS_LIB_SUFFIX) +OS_LIB_SUFFIXED_SUFFIX = diff --git a/sysinfo/os/mingw.mk b/sysinfo/os/mingw.mk index 53fe2d6..1a352ba 100644 --- a/sysinfo/os/mingw.mk +++ b/sysinfo/os/mingw.mk @@ -12,3 +12,7 @@ OS_IMPLIB_TOOL = dlltool CFLAGS_PIC = CFLAGS_OS += -U__STRICT_ANSI__ + +# dso suffix notation +OS_LIB_PREFIXED_SUFFIX = $(OS_LIB_SUFFIX) +OS_LIB_SUFFIXED_SUFFIX = diff --git a/sysinfo/os/msys.mk b/sysinfo/os/msys.mk index 27482e0..70fcd68 100644 --- a/sysinfo/os/msys.mk +++ b/sysinfo/os/msys.mk @@ -12,3 +12,7 @@ OS_IMPLIB_TOOL = dlltool CFLAGS_PIC = CFLAGS_OS += -U__STRICT_ANSI__ + +# dso suffix notation +OS_LIB_PREFIXED_SUFFIX = $(OS_LIB_SUFFIX) +OS_LIB_SUFFIXED_SUFFIX = -- cgit v1.2.3