OpenIndiana and Solaris port

This commit is contained in:
Ulrich Wilkens
2014-10-28 19:46:43 +01:00
committed by Jon Trulson
parent 42e891d9e7
commit 01d6c363fa
296 changed files with 1049 additions and 1091 deletions

View File

@@ -1,14 +1,14 @@
XCOMM $TOG: Imakefile /main/14 1997/09/05 11:32:36 samborn $
DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
DEPEND_DEFINES = $(DEPENDDEFINES)
NormalCplusplusObjectRule()
INCLUDES=$(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
INCLUDES=$(CXXDEPENDINCLUDES) $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
DEFINES=-DCDE_NEXT
#if defined(CplusplusCompilerMajorVersion) && (CplusplusCompilerMajorVersion == 4)
#if defined(CplusplusCompilerMajorVersion) && (CplusplusCompilerMajorVersion > 3)
TEMPLATE_OBJS=
#else
TEMPLATE_OBJS=$(OLIAS)/mmdb/StyleSheet/SSTemplates.o
@@ -148,7 +148,7 @@ DTI_CC_OBJS = \
$(MMDB_DIR)/dti_cc/CC_String.o $(MMDB_DIR)/dti_cc/CC_Tokenizer.o \
$(MMDB_DIR)/dti_cc/CC_Stack.o $(MMDB_DIR)/dti_cc/CC_Slist.o
#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion != 4)
#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion < 4)
EXTRA_HARDCOPY_OBJS = $(MMDB_DIR)/HardCopy/TemplatesAutoNumber.o
#endif
@@ -157,7 +157,7 @@ HARDCOPY_OBJS = \
$(MMDB_DIR)/HardCopy/autoNumber.o $(MMDB_DIR)/HardCopy/autoNumberFP.o \
$(EXTRA_HARDCOPY_OBJS)
#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion != 4)
#if defined(HPArchitecture) || !defined(CplusplusCompilerMajorVersion) || (CplusplusCompilerMajorVersion < 4)
EXTRA_STYLESHEET_OBJS = $(MMDB_DIR)/StyleSheet/SSTemplates.o
#endif
@@ -191,7 +191,7 @@ ALL_MMDB_OBJS = $(API_OBJS) $(BTREE_OBJS) \
#ifdef AIXArchitecture
Libs= $(STATIC) $(ALL_MMDB_OBJS) $(MATH_LIB) $(DTSVC_LIBRARY) $(TTLIB) $(SYS_LIBRARIES)
#elif defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
#elif defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
Libs= $(STATIC) -L../../../mmdb -lMMDB -lMMDBTemplates $(MATH_LIB) $(SYS_LIBRARIES)
#else
Libs= $(STATIC) -L../../../mmdb -lMMDB $(MATH_LIB) $(SYS_LIBRARIES)

View File

@@ -1,10 +1,12 @@
XCOMM $TOG: Imakefile /main/11 1997/12/31 09:07:38 bill $
DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
DEPEND_DEFINES = $(DEPENDDEFINES)
NormalLibraryObjectRule()
INCLUDES = -I.. $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
NormalCplusplusObjectRule()
INCLUDES = $(CXXDEPENDINCLUDES) -I.. $(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
CINCLUDES = -I..
@@ -196,7 +198,8 @@ Libs_C_API = $(MMDB_LIBS_C_API) $(DTSVCLIB) $(TTLIB) $(XLIB) $(MATH_LIB)
SimpleCPlusPlusProgram(dbdrv,main.o,$(Libs))
SimpleCPlusPlusProgram(restore,restore.o,$(Libs))
#if defined(USLArchitecture) || defined(LinuxArchitecture) || defined(BSDArchitecture)
#if defined(USLArchitecture) || defined(LinuxArchitecture) || \
defined(BSDArchitecture) || defined(SunArchitecture)
SimpleCPlusPlusProgram(dbdrv_c_api,main_c_api.o,$(Libs_C_API))
#else
SimpleCProgram(dbdrv_c_api,main_c_api.o,$(Libs_C_API))