######################################################################
##
## This makefile configures the CorbaScript compilation for
##   - OS:  Sun Solaris
##   - C++: GNU GCC 2.95.1
##   - ORB: TAO 1.1
##   - generating shared libraries.
##
##  Update the following variables to your configuration.
##

CS_WITH_GCC = yes

# set the C++ compiler, here is GNU C++.
CXX = g++

# set C++ compiler flags.
CXXFLAGS += -DACE_NDEBUG -DACE_HAS_EXCEPTIONS \
  -Wall -Wno-unused -fPIC

# Here are TAO used flags, do we need them?
# -W -Wno-uninitialized -fno-implicit-templates -Wpointer-arith -Wno-return-type

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

LDFLAGS= # -xildoff is not needed?

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

# The library file extension, here is for shared libraries.
CS_LIB_EXT= .so

# The tool to create new archives.
AR = $(CXX) -shared -o

# The tool (if needed) to ranlib archives.
RANLIB = @echo done building

# 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 -lthread -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_GCC295'.
##
######################################################################
