2003-01-16 02:42:41 +03:00
|
|
|
PLATFORM="sparc-sunos57-static"
|
|
|
|
CURSES_LIBRARY="/usr/lib/libcurses.a"
|
|
|
|
FORM_LIBRARY="/usr/lib/libform.a"
|
2003-08-12 01:36:02 +04:00
|
|
|
CC="cc"
|
|
|
|
CXX="CC"
|
2003-01-16 02:42:41 +03:00
|
|
|
# Write entries into the cache file before building cmake.
|
|
|
|
write_cache()
|
|
|
|
{
|
|
|
|
BINDIR=`pwd`
|
|
|
|
|
|
|
|
cat > UserMakeRules.cmake <<EOF
|
2003-08-12 01:36:02 +04:00
|
|
|
SET(CMAKE_DL_LIBS "-Bdynamic -ldl -Bstatic")
|
2003-01-16 02:42:41 +03:00
|
|
|
EOF
|
|
|
|
|
2003-08-28 00:08:11 +04:00
|
|
|
write_standard_cache
|
|
|
|
|
|
|
|
cat >> CMakeCache.txt <<EOF
|
2003-08-12 01:36:02 +04:00
|
|
|
CMAKE_EXE_LINKER_FLAGS:STRING=-Bstatic
|
2003-01-16 02:42:41 +03:00
|
|
|
CMAKE_USER_MAKE_RULES_OVERRIDE:STRING=${BINDIR}/UserMakeRules.cmake
|
|
|
|
CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
|
|
|
|
FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
|
|
|
|
EOF
|
|
|
|
}
|