# # $Id$ # # configuration file DEC cxx on DEC OSF # ############################################################################## CXX = cxx CCVER := $(shell $(CXX) -V 2>&1 | awk '{ print $$3 }') CXXFLAGS = -x cxx -nocxxstd -std strict_ansi_errors WARNFLAGS = -w1 -msg_disable 450 DEPENDFLAGS = -M -noimplicit_include PICFLAGS = PRELINKFLAGS = CPPFLAGS = LDFLAGS = -nocxxstd LDSOFLAGS = -shared ifeq ($(OSNAME),OSF1) # link with libiconv only on AIX (and not on Linux) LDFLAGS += -liconv endif # use a unique template repository for each program # (makefiles will append '=' followed by the name of the repository) CXX_REPOSITORY = -ptr # The flag(s) to use to embed a library search path into generated executables. RPATH = -rpath # debug/optimization options DEBUG_CXXFLAGS = -g DEBUG_CPPFLAGS = OPTMZ_CXXFLAGS = -O2 OPTMZ_CPPFLAGS = # shared/static library option SHARED_CXXFLAGS = SHARED_CPPFLAGS = -D_RWSTD_SHARED_LIB SHARED_LDFLAGS = STATIC_CXXFLAGS = STATIC_CPPFLAGS = STATIC_LDFLAGS = # multi/single thread options; -pthread option defines _REENTRANT MULTI_CPPFLAGS_POSIX = -pthread MULTI_CPPFLAGS_SOLARIS = MULTI_CPPFLAGS_DCE = -threads MULTI_LDFLAGS_POSIX = -pthread MULTI_LDFLAGS_SOLARIS = MULTI_LDFLAGS_DCE = -threads # Posix MULTI_CPPFLAGS = $(MULTI_CPPFLAGS_POSIX) MULTI_LDFLAGS = $(MULTI_LDFLAGS_POSIX) SINGL_CPPFLAGS = SINGL_LDFLAGS =