# $Id$ CC = cc SHCC = cc AR = ar YACC = yacc LEX = lex AR_ARGS = rcs \$$@ RANLIB = ranlib WINDRES = windres STDC99 = -std=c99 CFLAGS = -g $(STDC99) -D_DEFAULT_SOURCE $(DEBUGFLAGS) LDFLAGS = -L`pwd`/Library $(MORE_LDFLAGS) YFLAGS = -d -t -y LFLAGS = --nounistd LIBS = PIC = -fPIC INSTALLER_LANGUAGE = English LIB_PREFIX = lib LIB_SUFFIX = .so STATICLIB_PREFIX = lib STATICLIB_SUFFIX = .a EXEC_SUFFIX = PLATFORM_M = `uname -m` PLATFORM_P = `uname -p | sed -E "s/[ \\(\\)]/-/g"` LINK_LIB = ../Library/$(STATICLIB_PREFIX)dataworks$(STATICLIB_SUFFIX) INDEP = base INDEP_TO = utf-8 PC98 = SERVER = ./Server RCLI = ./RemoteClient INSTALLER = SERVER_MODULE = tcpip.o RCLI_MODULE = tcpip.o MD5SUM = md5sum 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)" RCLI_MODULE="$(RCLI_MODULE)" RCLILINK_LIB="$(RCLILINK_LIB)" INDEP="$(INDEP)" INDEP_TO="$(INDEP_TO)" PIC="$(PIC)" VERSION="$(VERSION)"