(file) Return to platform_SOLARIS_XXX_CC.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak / Attic

Diff for /pegasus/mak/Attic/platform_SOLARIS_XXX_CC.mak between version 1.1.2.2 and 1.1.2.2.2.1

version 1.1.2.2, 2008/06/30 14:28:42 version 1.1.2.2.2.1, 2008/07/01 19:28:00
Line 32 
Line 32 
 include $(ROOT)/mak/config-unix.mak include $(ROOT)/mak/config-unix.mak
  
 OS = solaris OS = solaris
   
 COMPILER = CC COMPILER = CC
  
 CC = cc CC = cc
Line 39 
Line 40 
 CXX = CC CXX = CC
  
 SH = sh SH = sh
   
 YACC = yacc YACC = yacc
   
 RM = rm -f RM = rm -f
   
 DIFF = diff DIFF = diff
   
 SORT = sort SORT = sort
   
 COPY = cp COPY = cp
   
 MOVE = mv MOVE = mv
   
 LIB_SUFFIX = .so LIB_SUFFIX = .so
   
 PEGASUS_SUPPORTS_DYNLIB = yes PEGASUS_SUPPORTS_DYNLIB = yes
   
 SYS_INCLUDES = SYS_INCLUDES =
  
   ##==============================================================================
   ##
   ## DEFINES
   ##
   ##==============================================================================
   
 DEFINES += -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) DEFINES += -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM)
 DEFINES += -D_POSIX_PTHREAD_SEMANTICS DEFINES += -D_POSIX_PTHREAD_SEMANTICS
 DEFINES += -DPEGASUS_OS_SOLARIS DEFINES += -DPEGASUS_OS_SOLARIS
  
 #  ##==============================================================================
 # This is needed for SPARC.  It shouldn't be needed for x86  ##
 # or x86-64 if a port is ever done for Solaris on those  ## FLAGS
 # platforms.  ##
 #  ##==============================================================================
 DEFINES += -DTYPE_CONV  
   
 SUNOS_VERSION = $(shell uname -r)  
   
 # Pegasus requires the kernel LWP thread model.  
 # It doesn't exist on SunOS 5.6 or 5.7 so thery are no longer supported.  
 #  
 ifeq ($(SUNOS_VERSION), 5.6)  
   DEFINES += -DSUNOS_5_6  
   $(error SunOS version 5.6 is not supportted)  
 endif  
   
 # Pegasus requires the kernel LWP thread model.  
 # It doesn't exist on SunOS 5.6 or 5.7 so thery are no longer supported.  
 #  
 ifeq ($(SUNOS_VERSION), 5.7)  
   DEFINES += -DSUNOS_5_7  
   $(error SunOS version 5.7 is not supportted)  
 endif  
   
 ifeq ($(SUNOS_VERSION), 5.8)  
   DEFINES += -DSUNOS_5_8  
 endif  
  
 ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
   FLAGS = -g -xs   FLAGS = -g -xs
 else else
   FLAGS = -O4 -s -xipo=1    FLAGS = -O2 -s
 endif endif
  
 FLAGS += +w -KPIC -mt -xildoff  
   
 ifdef PEGASUS_SOLARIS_NEED_PTO ifdef PEGASUS_SOLARIS_NEED_PTO
   FLAGS += -pto   FLAGS += -pto
 endif endif
  
   FLAGS += +w -KPIC -mt -xildoff
   
 ##============================================================================== ##==============================================================================
 ## ##
 ## COMMON_SYS_LIBS ## COMMON_SYS_LIBS
 ## ##
 ##     Build the common list of libraries used in linking both libraries and  
 ##     programs.  
 ##  
 ##============================================================================== ##==============================================================================
  
 COMMON_SYS_LIBS = -lpthread -ldl -lsocket -lnsl -lxnet -lCstd  COMMON_SYS_LIBS = -lpthread -ldl -lsocket -lnsl -lxnet -lCstd -lrt
   
 ifeq ($(SUNOS_VERSION), 5.6)  
   COMMON_SYS_LIBS += -lposix4  
 else  
   COMMON_SYS_LIBS += -lrt  
 endif  
   
 # on SunOS 5.8 use the alternate (kernel LWP) thread model that is standard on  
 # SunOS 5.9 and 5.10  
 #  
 ifeq ($(SUNOS_VERSION), 5.8)  
   COMMON_SYS_LIBS += -R /usr/lib/lwp  
 endif  
  
 ##============================================================================== ##==============================================================================
 ## ##


Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.2.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2