PLATFORM="hpux-static"
CC="cc"
CXX="aCC"
CFLAGS="+DAportable"
CXXFLAGS="-Wl,+vnocompatwarnings +W740,749 +DAportable -D__HPACC_STRICTER_ANSI__"
MAKE="gmake"
CMAKE="/accounts/kitware/Dashboards/CMake-aCC/bin/cmake"
PATH=/usr/local/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/opt/upgrade/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/atok/bin:/opt/asx/bin/X11:/opt/xdevice/bin:/opt/egb/bin:/opt/vje/bin:/opt/resmon/bin:/opt/hparray/bin:/opt/langtools/bin:/opt/imake/bin:/opt/aCC/bin
DISPLAY=:0.0

# Write entries into the cache file before building ParaView.
write_cache()
{
    BINDIR=`pwd`

    cat > UserMakeRules.cmake <<EOF
SET(CMAKE_DL_LIBS "")
EOF

    write_standard_cache &&
    cat >> CMakeCache.txt <<EOF
CMAKE_EXE_LINKER_FLAGS:STRING=-ldld -Wl,-a,archive_shared
CMAKE_USER_MAKE_RULES_OVERRIDE:STRING=${BINDIR}/UserMakeRules.cmake
EOF
}
