Import deployed 203 server source and external build dependencies

This commit is contained in:
shen
2026-10-14 19:18:21 -07:00
commit 4577d869fd
14839 changed files with 3058983 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
#CXX = distcc i386-obrien-freebsd5-g++
CXX = clang++-devel
PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1)
GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3 | cut -d'.' -f1)
BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)
SVN_VERSION = $(shell svnversion -n -c . | cut -d':' -f2)
BIN = ./libserverkey.a
# ifeq ($(GCC_VERSION), 4)
IFLAGS =
CFLAGS = $(IFLAGS) -Wall -O2 -pipe -m32 -std=c++2b -D_THREAD_SAFE -fno-exceptions
# else
# IFLAGS =
# CFLAGS = $(IFLAGS) -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions
# endif
LIBS =
OBJFILES = base64_ssl.o RSACrypto.o
default:
$(MAKE) $(BIN)
$(BIN): $(OBJFILES)
ar cru $(BIN) $(OBJFILES) $(LIBS)
ranlib $(BIN)
chmod 700 $(BIN)
clean:
rm -f *.o
rm -f $(BIN)
dep:
touch Depend
$(CXX) $(CFLAGS) -MM *.cpp > Depend
$(OBJFILES):
$(CXX) $(CFLAGS) -c $<
sinclude Depend