]> Nishi Git Mirror - tewi.git/commitdiff
add darwin
authorNishi <nishi@nishi.boats>
Thu, 31 Oct 2024 15:31:42 +0000 (15:31 +0000)
committerNishi <nishi@nishi.boats>
Thu, 31 Oct 2024 15:31:42 +0000 (15:31 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@399 8739d7e6-ffea-ec47-b151-bdff447c6205

Platform/darwin.mk [new file with mode: 0644]
README
README.tmpl
Server/version.c

diff --git a/Platform/darwin.mk b/Platform/darwin.mk
new file mode 100644 (file)
index 0000000..cf10dd4
--- /dev/null
@@ -0,0 +1,10 @@
+# $Id$
+
+CC = cc
+AR = ar
+CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -fPIC
+LDFLAGS =
+LIBS =
+EXEC =
+SHARED = -dynamiclib
+LIBSUF = .dylib
diff --git a/README b/README
index b749b19f0cc475821d12cb7b03744d8128d4784b..d8f5c36f4ab59595fb9aee87e6f79b8f126d1fc2 100644 (file)
--- a/README
+++ b/README
@@ -47,6 +47,7 @@ Haiku                    Working
 Minix                    Working
 UnixWare                 Working on 7.1.1
 OS/2                     Working
+Darwin                   Working on 8.0.1
 NetWare                  Working on 6.5 SP8, missing module support
 DOS                      Working, missing module support and multi-threading
 NeXTSTEP                 Working, missing module support
index be77fd5fccd1a6765df20881efe6427b4eba1b50..ea02fa651aa68af71a4316a25eec3cea94dfc270 100644 (file)
@@ -47,6 +47,7 @@ Haiku                    Working
 Minix                    Working
 UnixWare                 Working on 7.1.1
 OS/2                     Working
+Darwin                   Working on 8.0.1
 NetWare                  Working on 6.5 SP8, missing module support
 DOS                      Working, missing module support and multi-threading
 NeXTSTEP                 Working, missing module support
index 71687e7f43f2aba80dc04059c1e7a996aba1d791..cea7d64d34ceec6867afbeb14fb1d475ca22b579 100644 (file)
@@ -35,6 +35,8 @@ const char* tw_platform =
     "Windows-Watcom"
 #elif defined(__HAIKU__)
     "Haiku"
+#elif defined(__APPLE__)
+    "Darwin"
 #elif defined(__CYGWIN__)
     "Cygwin"
 #elif defined(_PSP)