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

File: [Pegasus] / pegasus / mak / platform_SOLARIS_SPARC_CC.mak (download)
Revision: 1.11, Fri Apr 15 13:25:55 2005 UTC (19 years, 1 month ago) by david.dillard
Branch: MAIN
Changes since 1.10: +2 -0 lines
BUG#: 2442
TITLE: Changed so that CC is used to compile C files.

DESCRIPTION:

include $(ROOT)/mak/config-unix.mak

OS = solaris

ARCHITECTURE = sparc

COMPILER = CC

CC = CC

CXX = CC

SH = sh

YACC = yacc

RM = rm -f

DIFF = diff

SORT = sort

COPY = cp

MOVE = mv

LIB_SUFFIX = .so

PEGASUS_SUPPORTS_DYNLIB = yes

SYS_INCLUDES = 

DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D_POSIX_PTHREAD_SEMANTICS

DEFINES += -DPEGASUS_OS_SOLARIS

DEFINES += -DPEGASUS_SNIA_INTEROP_TEST

DEFINES += -DPEGASUS_HAS_SIGNALS

# "READBUG" forces fstream.read to read 1 char at a time to
# overcome a bug in Wshop 6.2
# There are patches for this now.
#
# DEFINES += -DPEGASUS_OS_SOLARIS_READBUG

SUNOS_VERSION = $(shell uname -r)

ifeq ($(SUNOS_VERSION), 5.6)
DEFINES += -DSUNOS_5_6
endif

ifdef PEGASUS_DEBUG
FLAGS = -g -pto -KPIC -mt -xs -xildoff
else
FLAGS = -O -pto -KPIC -mt -xildoff -s -xipo=1
endif

SYS_LIBS = -lpthread -ldl -lsocket -lnsl -lxnet

ifeq ($(SUNOS_VERSION), 5.6)
SYS_LIBS += -lposix4
else
SYS_LIBS += -lrt
endif

SYS_LIBS += $(EXTRA_LIBRARIES)

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2