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

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

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

# set C++ compiler flags.
ifdef ORB_IS_MULTITHREADED
CXXFLAGS = -pta -mt -D_REENTRANT
else
CXXFLAGS = -pta
endif

# 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, Orbix2000 need socket and nsl libraries.
ORB_NEEDED_LIBRARIES = -lthread -lsocket -lnsl

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

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

ORB_NAME = Orbix2000

ORBIX_ART_COMPILER_TYPE =

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