######################################################################
##
## This makefile configures the CorbaScript compilation for
##   - OS:  Sun Solaris
##   - C++: GNU GCC 2.95.1 compiler
##   - ORB: VisiBroker 3.3
##
##  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, here exception handling.
CXXFLAGS = -Wall -Wno-unused # -fpermissive # -DSOLARIS

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

# The tool to create new archives.
AR = ar crv

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

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

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

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

ORB_NAME = VisiBroker3

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