######################################################################
##
## This makefile configures the CorbaScript compilation for
##   - OS:  Sun Solaris
##   - C++: GNU GCC 2.95.x
##   - ORB: TAO between 1.1.17 and 1.2.
##   - 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 -D_REENTRANT \
  -W -Wall -Wpointer-arith -Wno-unused -Wno-uninitialized -fno-implicit-templates \
  -fPIC 

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

# set C++ linker flags.
LDFLAGS=

# 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) $(EXTRA_LD_FLAGS) -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 =
else
ORB_NEEDED_LIBRARIES =
endif

# The dynamic library for the dynamic linker (if needed).
SYSTEM_LD_LIBRARIES = -lsocket -ldl -lgen -lnsl -lposix4 -lthread

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

ORB_NAME = TAO
ORB_DIR = TAO-1.2

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