Return to platform_SOLARIS_SPARC_CC.mak CVS log | Up to [Pegasus] / pegasus / mak |
File: [Pegasus] / pegasus / mak / platform_SOLARIS_SPARC_CC.mak
(download)
Revision: 1.6, Thu Aug 12 11:41:11 2004 UTC (19 years, 9 months ago) by karl Branch: MAIN Changes since 1.5: +0 -1 lines BUG#: 1849 TITLE: Modify make files so that PEGASUS_DEBUG becomes a common compiler DEFINE available through config.mak DESCRIPTION: This involved removing the setting of PEGASUS_DEBUG into a number of platform mak setup files and putting the DEFINE into config.mak. This means that PEGASUS_DEBUG now generally controls a) setting the debug options on compiles and links in general as it did before and is also available to any source code to compile diagnostics. However, since this is very general we are trying to reduce the use to those debug concepts that will not affect normal operation. Thus it is used to control the output of startup information to the console. PLEASE do not use it to control things like debug information output to the console. |
include $(ROOT)/mak/config-unix.mak OS = solaris ARCHITECTURE = sparc COMPILER = CC 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 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) CXX = CC SH = sh YACC = yacc COPY = cp MOVE = mv LIB_SUFFIX = .so PEGASUS_SUPPORTS_DYNLIB = yes
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |