From 80255cc7d18c4e037f1e4206ea7ea7d9d362724a Mon Sep 17 00:00:00 2001 From: Nishi Date: Thu, 31 Oct 2024 15:31:42 +0000 Subject: [PATCH] add darwin git-svn-id: file:///raid/svn-personal/tewi/trunk@399 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Platform/darwin.mk | 10 ++++++++++ README | 1 + README.tmpl | 1 + Server/version.c | 2 ++ 4 files changed, 14 insertions(+) create mode 100644 Platform/darwin.mk diff --git a/Platform/darwin.mk b/Platform/darwin.mk new file mode 100644 index 0000000..cf10dd4 --- /dev/null +++ b/Platform/darwin.mk @@ -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 b749b19..d8f5c36 100644 --- 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 diff --git a/README.tmpl b/README.tmpl index be77fd5..ea02fa6 100644 --- a/README.tmpl +++ b/README.tmpl @@ -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 diff --git a/Server/version.c b/Server/version.c index 71687e7..cea7d64 100644 --- a/Server/version.c +++ b/Server/version.c @@ -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) -- 2.43.0