######################################################################
##
## This makefile configures the CorbaScript compilation for
##   - OS:  OSF1 V4.0
##   - C++: DEC C++ 6.2-024
##   - ORB: ORBacus 4.x
##
##  Update the following variables to your configuration.
##

# set the C++ compiler.
CXX = cxx

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

# set C++ compiler flags.
CXXFLAGS = -msg_disable nostdlonglong -distinguish_nested_enums -msg_disable narrowptr -DCS_for_DECcxx

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

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

# The tool to create new archives.
AR = $(CXX) $(CXXFLAGS) $(EXTRA_LD_FLAGS) '-Wl,-expect_unresolved,*' -shared -o

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

# The system dynamic libraries needed by your ORB.
# on OSF, ORBacus need no OS libraries.
ifdef ORB_IS_MULTITHREADED
ORB_NEEDED_LIBRARIES = -lJTC -lrt -lpthread
CXXFLAGS += -pthread
else
ORB_NEEDED_LIBRARIES =
endif

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

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

ORB_NAME = ORBacus4

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