(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 += -DPEGASUS_OS_SOLARIS
14                  
15                  DEFINES += -DPEGASUS_SNIA_INTEROP_TEST
16                  
17 tony         1.5 DEFINES += -DPEGASUS_HAS_SIGNALS
18                  
19 keith.petley 1.1 # "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                  #
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 else
34 keith.petley 1.2 FLAGS = -O -pto -KPIC -mt -xildoff
35 keith.petley 1.1 endif
36                  
37                  SYS_LIBS = -lpthread -ldl -lsocket -lnsl -lxnet
38                  
39                  ifeq ($(SUNOS_VERSION), 5.6)
40                  SYS_LIBS += -lposix4
41                  else
42                  SYS_LIBS += -lrt
43                  endif
44                  
45                  SYS_LIBS += $(EXTRA_LIBRARIES)
46                  
47                  CXX = CC
48                  
49                  SH = sh
50                  
51                  YACC = yacc
52                  
53                  COPY = cp
54                  
55                  MOVE = mv
56 keith.petley 1.1 
57                  LIB_SUFFIX = .so
58                  
59                  PEGASUS_SUPPORTS_DYNLIB = yes
60 tony         1.5 
61 keith.petley 1.1 

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2