2003-01-15 23:42:41 +00:00
|
|
|
PLATFORM="sparc-sunos57-static"
|
|
|
|
CURSES_LIBRARY="/usr/lib/libcurses.a"
|
|
|
|
FORM_LIBRARY="/usr/lib/libform.a"
|
2003-08-11 21:36:02 +00:00
|
|
|
CC="cc"
|
|
|
|
CXX="CC"
|
2003-01-15 23:42:41 +00:00
|
|
|
|
|
|
|
# Write entries into the cache file before building cmake.
|
|
|
|
write_cache()
|
|
|
|
{
|
|
|
|
BINDIR=`pwd`
|
|
|
|
|
|
|
|
cat > UserMakeRules.cmake <<EOF
|
2003-08-11 21:36:02 +00:00
|
|
|
SET(CMAKE_DL_LIBS "-Bdynamic -ldl -Bstatic")
|
2003-01-15 23:42:41 +00:00
|
|
|
EOF
|
|
|
|
|
|
|
|
cat > CMakeCache.txt <<EOF
|
2003-01-24 16:41:37 +00:00
|
|
|
BUILD_TESTING:BOOL=ON
|
2003-08-11 21:36:02 +00:00
|
|
|
CMAKE_EXE_LINKER_FLAGS:STRING=-Bstatic
|
2003-01-15 23:42:41 +00:00
|
|
|
CMAKE_USER_MAKE_RULES_OVERRIDE:STRING=${BINDIR}/UserMakeRules.cmake
|
|
|
|
CMAKE_SKIP_RPATH:BOOL=1
|
2003-01-24 19:40:07 +00:00
|
|
|
CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE
|
2003-01-15 23:42:41 +00:00
|
|
|
CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
|
|
|
|
FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
|
|
|
|
EOF
|
|
|
|
}
|