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

 1 keith.petley 1.1 include $(ROOT)/mak/config-unix.mak
 2                  
 3                  OS = solaris
 4                  
 5                  ARCHITECTURE = sparc
 6                  
 7                  COMPILER = CC
 8                  
 9                  SYS_INCLUDES = 
10                  
11                  DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D_POSIX_PTHREAD_SEMANTICS
12                  
13                  DEFINES += -DDISABLE_KILLING_HUNG_THREADS
14                  
15                  DEFINES += -DPEGASUS_OS_SOLARIS
16                  
17                  DEFINES += -DPEGASUS_SNIA_INTEROP_TEST
18                  
19                  # "READBUG" forces fstream.read to read 1 char at a time to
20                  # overcome a bug in Wshop 6.2
21                  # There are patches for this now.
22 keith.petley 1.1 #
23                  # DEFINES += -DPEGASUS_OS_SOLARIS_READBUG
24                  
25                  SUNOS_VERSION = $(shell uname -r)
26                  
27                  ifeq ($(SUNOS_VERSION), 5.6)
28                  DEFINES += -DSUNOS_5_6
29                  endif
30                  
31                  ifdef PEGASUS_DEBUG
32 keith.petley 1.2 FLAGS = -g -pto -KPIC -mt -xs -xildoff
33 keith.petley 1.1 DEFINES += -DPEGASUS_DEBUG
34                  else
35 keith.petley 1.2 FLAGS = -O -pto -KPIC -mt -xildoff
36 keith.petley 1.1 endif
37                  
38                  SYS_LIBS = -lpthread -ldl -lsocket -lnsl -lxnet
39                  
40                  ifeq ($(SUNOS_VERSION), 5.6)
41                  SYS_LIBS += -lposix4
42                  else
43                  SYS_LIBS += -lrt
44                  endif
45                  
46                  SYS_LIBS += $(EXTRA_LIBRARIES)
47                  
48                  CXX = CC
49                  
50                  SH = sh
51                  
52                  YACC = yacc
53                  
54                  COPY = cp
55                  
56                  MOVE = mv
57 keith.petley 1.1 
58                  LIB_SUFFIX = .so
59                  
60                  PEGASUS_SUPPORTS_DYNLIB = yes
61                  
62                  SUNWS_CACHE = SunWS_cache
63                  
64                  SOLARIS_COMPILER_PATH = /opt/SUNWspro/WS6U2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2