--- a/configure Mon Dec 31 00:07:52 2012 +0100 +++ b/configure Tue Jan 01 13:32:04 2013 +0100 @@ -46,21 +46,29 @@ INSTALL_DIR = $INSTALL_DIR HOST = $HOST -# make variables __EOF__ # platform + if [ $OS = SunOS ]; then -echo "SUNOS = true" >> config.mk +CCONF=suncc.mk +PLATFORM=solaris.mk fi if [ $OS = Linux ]; then -echo "LINUX = true" >> config.mk +CCONF=gcc.mk +PLATFORM=linux.mk fi if [ $OS = Darwin ]; then -echo "OSX = true" >> config.mk +CCONF=gcc.mk + fi +echo " +include \$(BUILD_ROOT)/make/$CCONF +include \$(BUILD_ROOT)/make/$PLATFORM +" >> config.mk +