From: Nishi Date: Sat, 12 Oct 2024 01:04:13 +0000 (+0000) Subject: stuff X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=91bc9a550206839f5475941f76a2e247453f588e;p=rbuild.git stuff git-svn-id: file:///raid/svn-personal/rbuild/trunk@21 c68d3453-7f82-0740-9748-1d72386a946b --- diff --git a/Makefile b/Makefile index 0605252..5176967 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,12 @@ FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) all: ./Common ./Server ./Client src-archive: clean + rm -f *.tar.gz + rm -f /tmp/rbuild-*.tar.gz mkdir -p /tmp/rbuild-`grep "define RBUILD_VERSION" config.h | sed 's/#define RBUILD_VERSION //' | sed 's/"//g'` cp -rf * /tmp/rbuild-`grep "define RBUILD_VERSION" config.h | sed 's/#define RBUILD_VERSION //' | sed 's/"//g'`/ cd /tmp && tar --exclude .svn -czvf rbuild-`grep "define RBUILD_VERSION" rbuild-*/config.h | sed 's/#define RBUILD_VERSION //' | sed 's/"//g'`.tar.gz rbuild-`grep "define RBUILD_VERSION" rbuild-*/config.h | sed 's/#define RBUILD_VERSION //' | sed 's/"//g'`/ + rm -rf /tmp/rbuild-`grep "define RBUILD_VERSION" config.h | sed 's/#define RBUILD_VERSION //' | sed 's/"//g'` mv /tmp/rbuild-`grep "define RBUILD_VERSION" config.h | sed 's/#define RBUILD_VERSION //' | sed 's/"//g'`.tar.gz ./ get-version: diff --git a/Platform/unixware.mk b/Platform/unixware.mk new file mode 100644 index 0000000..80ce59d --- /dev/null +++ b/Platform/unixware.mk @@ -0,0 +1,8 @@ +# $Id$ + +CC = cc +AR = ar +CFLAGS = -I $(PWD)/Common -DHAS_PLAIN_AUTH -DHAS_NONE_AUTH -DHAS_CRYPT_AUTH +LDFLAGS = +LIBS = -lcrypt +EXEC = diff --git a/Server/server.c b/Server/server.c index 8353c66..d79ad69 100644 --- a/Server/server.c +++ b/Server/server.c @@ -8,19 +8,21 @@ #include "rbs_auth.h" #include "rbs_task.h" +#include #include #include #include #include #include +#include #ifdef __MINGW32__ #define WINSOCK #include #include #else -#include #include +#include #include #include #include