]> Nishi Git Mirror - dataworks.git/commitdiff
add stuff
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Thu, 13 Jun 2024 01:54:51 +0000 (01:54 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Thu, 13 Jun 2024 01:54:51 +0000 (01:54 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@284 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

Makefiles/common-decl.mk
RemoteClient/Makefile [new file with mode: 0644]

index 6c99d475b0f47925a3d2bcfd81803b62b2f37055..fbde8f3c330dfa6cede4bc28c5fcfcd40954602f 100644 (file)
@@ -23,6 +23,7 @@ PLATFORM_P = `uname -p | sed -E "s/[ \\(\\)]/-/g"`
 LINK_LIB = ../Library/$(STATICLIB_PREFIX)dataworks$(STATICLIB_SUFFIX)
 SERVER = ./Server
 SERVER_MODULE = tcpip.o
+RCLI_MODULE = tcpip.o
 VERSION = `cat Library/dataworks.c | grep " dataworks_version " | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)?'`
 
-COMPILE_FLAGS = CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" LIB_PREFIX="$(LIB_PREFIX)" LIB_SUFFIX="$(LIB_SUFFIX)" EXEC_SUFFIX="$(EXEC_SUFFIX)" PLATFORM_M="$(PLATFORM_M)" PLATFORM_P="$(PLATFORM_P)" STATICLIB_PREFIX="$(STATICLIB_PREFIX)" STATICLIB_SUFFIX="$(STATICLIB_SUFFIX)" AR="$(AR)" RANLIB="$(RANLIB)" SHCC="$(SHCC)" LINK_LIB="$(LINK_LIB)" AR_ARGS="$(AR_ARGS)" WINDRES="$(WINDRES)" YACC="$(YACC)" LEX="$(LEX)" LFLAGS="$(LFLAGS)" YFLAGS="$(YFLAGS)" SERVER_MODULE="$(SERVER_MODULE)" SERVLINK_LIB="$(SERVLINK_LIB)"
+COMPILE_FLAGS = CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" LIB_PREFIX="$(LIB_PREFIX)" LIB_SUFFIX="$(LIB_SUFFIX)" EXEC_SUFFIX="$(EXEC_SUFFIX)" PLATFORM_M="$(PLATFORM_M)" PLATFORM_P="$(PLATFORM_P)" STATICLIB_PREFIX="$(STATICLIB_PREFIX)" STATICLIB_SUFFIX="$(STATICLIB_SUFFIX)" AR="$(AR)" RANLIB="$(RANLIB)" SHCC="$(SHCC)" LINK_LIB="$(LINK_LIB)" AR_ARGS="$(AR_ARGS)" WINDRES="$(WINDRES)" YACC="$(YACC)" LEX="$(LEX)" LFLAGS="$(LFLAGS)" YFLAGS="$(YFLAGS)" SERVER_MODULE="$(SERVER_MODULE)" SERVLINK_LIB="$(SERVLINK_LIB)" RCLI_MODULE="$(RCLI_MODULE)" RCLILINK_LIB="$(RCLILINK_LIB)"
diff --git a/RemoteClient/Makefile b/RemoteClient/Makefile
new file mode 100644 (file)
index 0000000..1bdaf00
--- /dev/null
@@ -0,0 +1,20 @@
+# $Id: Makefile 251 2024-06-12 05:57:04Z nishi $
+
+.PHONY: all clean
+.SUFFIXES: .c .o
+
+OBJS = rcli.o $(RCLI_MODULE)
+
+all: dataworks_server$(EXEC_SUFFIX)
+
+dataworks_remote_client$(EXEC_SUFFIX): $(OBJS) $(LINK_LIB)
+       $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(LINK_LIB) $(RCLILINK_LIB)
+
+dataworks.res: ../Client/dataworks.rc ../Binary/dataworks.ico
+       $(WINDRES) ../Client/dataworks.rc -O coff -o ./dataworks.res
+
+.c.o:
+       $(CC) $(CFLAGS) -I../Library -c -o $@ $<
+
+clean:
+       rm -f *.o *.so *.dll *.exe *.com dataworks_remote_client *.a *.lib *.res