summaryrefslogtreecommitdiff
path: root/sysinfo/os/darwin.mk
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-14 07:12:25 -0500
committermidipix <writeonce@midipix.org>2018-12-18 20:38:37 -0500
commit5dc983925380bb06a4d6d0d660e2c8b80a71eac4 (patch)
tree9d911e9c7bbd9c827671c340fb030094036547b5 /sysinfo/os/darwin.mk
parent44fb9401c79069da6944a85f22e063a116ec73ce (diff)
downloadsbpython3-5dc983925380bb06a4d6d0d660e2c8b80a71eac4.tar.bz2
sbpython3-5dc983925380bb06a4d6d0d660e2c8b80a71eac4.tar.xz
build system: created skeleton.
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)