######################################################################
##
## This makefile configures the CorbaScript compilation for
##   - OS:  Sun Solaris
##   - C++: SUN C++ 4.2 compiler
##   - ORB: TAO 1.1
##
##  Update the following variables to your configuration.
##

# set the C++ compiler, here is SUN C++ 4.2 compiler.
CXX = CC

# set C++ compiler flags.
ifdef ORB_IS_MULTITHREADED
CXXFLAGS = -mt 
else
CXXFLAGS = 
endif
CXXFLAGS += -DACE_NDEBUG -features=castop -DACE_LACKS_RTTI -DACE_HAS_EXCEPTIONS

# set the C++ linker.
LD = $(CXX)

LDFLAGS= -xildoff

# set the C++ compiler flag to generate make dependencies.
CXXDEPENDFLAG = -xM

# The tool to create new archives.
AR = CC $(CXXFLAGS) -xar -o

# The tool (if needed) to ranlib archives.
RANLIB = :

# The system dynamic libraries needed by your ORB.
# on Solaris, TAO need socket and nsl libraries.
ifdef ORB_IS_MULTITHREADED
ORB_NEEDED_LIBRARIES = -lgen -lposix4 -lpthread -lsocket -lnsl
else
ORB_NEEDED_LIBRARIES = -lgen -lsocket -lnsl
endif

# The dynamic library for the dynamic linker (if needed).
SYSTEM_LD_LIBRARIES = -ldl

######################################################################
# don't modify ORB name.

ORB_NAME = TAO
ORB_DIR = TAO-1.1

######################################################################
##
## end of file 'config/platforms/TAO_1_1_SUN_CC'.
##
######################################################################
