7 TARGET_OS ?= $(shell
uname)
12 ifneq (,$(
filter Windows%,$(TARGET_OS)))
13 LIBLZ4 = liblz4-$(LIBVER_MAJOR)
14 LIBLZ4_EXP = liblz4.lib
17 LIBLZ4_EXP = liblz4.dll.
a
18 ifneq (,$(
filter MINGW%,$(TARGET_OS)))
22 ifneq (,$(
filter MSYS%,$(TARGET_OS)))
23 LIBLZ4 = msys-
lz4-$(LIBVER_MAJOR)
26 ifneq (,$(
filter CYGWIN%,$(TARGET_OS)))
27 LIBLZ4 = cyglz4-$(LIBVER_MAJOR)
30 LIBLZ4 = liblz4.$(SHARED_EXT_VER)
38 ifeq ($(WINBASED),yes)
43 #determine if dev/nul based on host environment
44 ifneq (,$(
filter MINGW% MSYS% CYGWIN%,$(shell
uname)))
54 ifneq (,$(
filter Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku MidnightBSD MINGW% CYGWIN% MSYS%,$(shell
uname)))
60 # Avoid symlinks when targetting Windows or building on a Windows host
61 ifeq ($(WINBASED),yes)
65 ifneq (,$(
filter MINGW% MSYS% CYGWIN%,$(shell
uname)))
85 INSTALL_PROGRAM ?= $(INSTALL) -
m 755
86 INSTALL_DATA ?= $(INSTALL) -
m 644
87 INSTALL_DIR ?= $(INSTALL) -
d -
m 755
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc static sig const char static mode static oldfd struct tms static buf static getgid static geteuid const char static filename static arg static mask dev
static const char struct stat static buf struct stat static buf static vhangup int struct rusage static rusage struct sysinfo static info unsigned static __unused uname
#define V(handle, symbol)