#include LIB_NAME = dbSQL /**************************************************************************/ /* Include files for SDDAS */ /**************************************************************************/ INCLUDES = -I. $(SDDAS_WINCLUDE) $(SDDAS_INCLUDE) $(MYSQL_INCLUDE) #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'INCLUDES=$(INCLUDES)' SRCS = GetDataKey.c KeyToStrings.c GetIDFSFile.c CfgItem.c MakeFileName.c \ VirtualName.c HierarchyString.c Hierarchy.c compat.c \ GetFirstVIDFTimes.c mainSQLiteWrap.C mainMySQLWrap.c \ sqliteCommon.c libdbWrapper.c OBJS = GetDataKey.o KeyToStrings.o GetIDFSFile.o CfgItem.o MakeFileName.o \ VirtualName.o HierarchyString.o Hierarchy.o compat.o \ GetFirstVIDFTimes.o mainSQLiteWrap.o mainMySQLWrap.o \ sqliteCommon.o libdbWrapper.o SOURCES.h = libdbSQL.h libdb.h Time_t.h OTHER_HEADERS = local.h SDDAS_LIBS = -lCfg -lant $(SDDAS_WLIBS) $(SDDAS_LIBDIR) SYS_LIBRARIES = -lm SDMakeSharedLibrary ($(LIB_NAME),$(OBJS),1) SDReleaseLib($(LIB_NAME)) SDBetaRelease ($(SDDAS_TEST_DIR)/lib$(LIB_NAME),$(SRCS) $(SOURCES.h) $(OTHER_HEADERS) Imakefile) SDTestingRelease ($(SDDAS_TEST_DIR)/lib$(LIB_NAME)) AllTarget (test$(EXTENSION)) NormalProgramTarget (test,test.o,libdbSQL.a,-L. -ldbSQL $(MYSQL_LIB) $(SDDAS_LIBS),NullParameter) DependTarget ()