summaryrefslogtreecommitdiff
path: root/sysinfo/os/darwin.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sysinfo/os/darwin.mk')
-rw-r--r--sysinfo/os/darwin.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysinfo/os/darwin.mk b/sysinfo/os/darwin.mk
new file mode 100644
index 0000000..abc9bc7
--- /dev/null
+++ b/sysinfo/os/darwin.mk
@@ -0,0 +1,18 @@
+OS = darwin
+OS_APP_PREFIX =
+OS_APP_SUFFIX =
+OS_LIB_PREFIX = lib
+OS_LIB_SUFFIX = .dylib
+OS_IMPLIB_EXT = .invalid
+OS_LIBDEF_EXT = .invalid
+OS_ARCHIVE_EXT = .a
+OS_SONAME = symlink
+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)