- Timestamp:
- Oct 17, 2024, 9:37:10 AM (4 weeks ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Koakumafile
r354 r361 51 51 RunCommand "doas cp tewidist.zip /raid/f/g/tewi/os2/tewidistos2-[exec make get-version]-nossl.zip" 52 52 RunCommand "doas cp tewidist.zip /raid/ftp/pub/tewi/os2/tewidistos2-[exec make get-version]-nossl.zip" 53 return 54 } elseif { "$project_name" == "Tewi-NetWare" } { 55 set ::env(WATCOM) "/usr/watcom" 56 set ::env(NOVELLNDK) "/usr/novell/clib" 57 set ::env(PATH) "$::env(PATH):/usr/watcom/binl64" 58 RunCommand "rm -rf netware" 59 RunCommand "make PLATFORM=netware" 60 RunCommand "make PLATFORM=netware install DESTDIR=netware/" 61 cd netware/SYS: 62 RunCommand "zip -rv ../../tewidist.zip Tewi" 63 cd ../.. 64 RunCommand "doas mkdir -p /raid/f/g/tewi/netware" 65 RunCommand "doas mkdir -p /raid/ftp/pub/tewi/netware" 66 RunCommand "doas cp tewidist.zip /raid/f/g/tewi/netware/tewidistnw-[exec make get-version]-nossl.zip" 67 RunCommand "doas cp tewidist.zip /raid/ftp/pub/tewi/os2/tewidistnw-[exec make get-version]-nossl.zip" 53 68 return 54 69 } elseif { "$project_name" == "Tewi-PSP" } { -
trunk/Platform/netware.mk
r356 r361 7 7 AR = wlib 8 8 AR_FLAGS = -q -b -n -fo 9 CFLAGS = -b netware_clib_lite -I $(NOVELLNDK)/include -I $(NOVELLNDK)/include/nlm -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I ../Common -I ../VC6Compat -fPIC -D__WATCOM_LFN__ -Duint64_t=uint32_t 9 CFLAGS = -b netware_clib_lite -I $(NOVELLNDK)/include -I $(NOVELLNDK)/include/nlm -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I ../Common -I ../VC6Compat -fPIC -D__WATCOM_LFN__ -Duint64_t=uint32_t -DN_PLAT_NLM 10 10 LDFLAGS = -b netware_clib_lite 11 11 LIBS = -
trunk/README
r359 r361 47 47 UnixWare Working on 7.1.1 48 48 OS/2 Working 49 NetWare Working on 6.5 SP8 49 50 DOS Working, missing module support and multi-threading 50 51 NeXTSTEP Working, missing module support … … 58 59 I sometimes check they do compile, but does not work: 59 60 60 NetWare Cannot run fopen somehow61 61 PlayStation 2 Does not boot -
trunk/README.tmpl
r359 r361 47 47 UnixWare Working on 7.1.1 48 48 OS/2 Working 49 NetWare Working on 6.5 SP8 49 50 DOS Working, missing module support and multi-threading 50 51 NeXTSTEP Working, missing module support … … 58 59 I sometimes check they do compile, but does not work: 59 60 60 NetWare Cannot run fopen somehow61 61 PlayStation 2 Does not boot -
trunk/Server/http.c
r359 r361 29 29 #endif 30 30 #elif defined(__NETWARE__) 31 #include <sys/bsdskt.h> 31 32 #include <sys/socket.h> 32 33 #else -
trunk/Server/main.c
r359 r361 42 42 #include <windows.h> 43 43 #elif defined(__NETWARE__) 44 #include <nwnamspc.h> 45 #include <nwthread.h> 46 #include <nwconio.h> 44 47 #endif 45 48 … … 549 552 #ifdef __NETWARE__ 550 553 struct arg_struct* parg = malloc(sizeof(*parg)); 554 SetCurrentNameSpace(NW_NS_LONG); 551 555 parg->argc = argc; 552 556 parg->argv = argv; 553 thread_stuff(parg); 557 DestroyScreen(GetCurrentScreen()); 558 SetCurrentScreen(CreateScreen("Tewi Console", 0)); 559 BeginThread(thread_stuff, NULL, 0, parg); 560 ThreadSwitch(); 554 561 return 0; 555 562 } -
trunk/Server/server.c
r359 r361 64 64 typedef int socklen_t; 65 65 #elif defined(__NETWARE__) 66 #include <sys/bsdskt.h> 66 67 #include <sys/socket.h> 67 68 68 69 #define IPPROTO_TCP 0 69 70 #define INADDR_ANY 0 70 #define htons(x) x71 71 #include "strptime.h" 72 72 typedef int socklen_t; 73 74 uint16_t htons(uint16_t n) { return ((n >> 8) & 0xff) | ((n << 8) & 0xff00); } 73 75 #elif defined(__DOS__) 74 76 #include <netinet/tcp.h> … … 1011 1013 struct timeval tv; 1012 1014 #endif 1013 #if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)1015 #if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__NETWARE__)) 1014 1016 struct thread_entry threads[2048]; 1015 1017 for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++) { … … 1084 1086 _beginthread(tw_server_pass, 0, 0, e); 1085 1087 #elif defined(__NETWARE__) 1086 tw_server_pass(e);1088 BeginThread(tw_server_pass, NULL, 0, e); 1087 1089 #elif defined(__DOS__) 1088 1090 tw_server_pass(e);
Note:
See TracChangeset
for help on using the changeset viewer.