######################################################################
##
## This makefile configures the CorbaScript compilation for
##   - OS:  Sun Solaris
##   - C++: GNU GCC 2.95.1
##   - ORB: ORBacus 4.x
##   - 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 the C++ linker.
LD = $(CXX)

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

# 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, ORBacus need socket and nsl libraries.
ifdef ORB_IS_MULTITHREADED
ORB_NEEDED_LIBRARIES = -lJTC -lposix4 -lpthread -lsocket -lnsl
else
ORB_NEEDED_LIBRARIES = -lsocket -lnsl
endif

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

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

ORB_NAME = ORBacus4

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