## Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).# All rights reserved.# This component and the accompanying materials are made available# under the terms of the License "Eclipse Public License v1.0"# which accompanies this distribution, and is available# at the URL "http://www.eclipse.org/legal/epl-v10.html".## Initial Contributors:# Nokia Corporation - initial contribution.## Contributors:## Description: # Utility makefile #CHAR_BLANK:=CHAR_SPACE:=$(CHAR_BLANK) $(CHAR_BLANK)HOSTPLATFORM:=$(shell $(SBS_HOME)/bin/gethost.sh)HOSTPLATFORM_DIR:=$(shell $(SBS_HOME)/bin/gethost.sh -d)ifeq ($(filter $(HOSTPLATFORM),win),win)PROGRAMEXT:=.exeHOSTMACROS:=-DHOST_WIN -DHOST_DIR=$(HOSTPLATFORM_DIR)elsePROGRAMEXT:=HOSTMACROS:=-DHOST_LINUX -DHOST_DIR=$(HOSTPLATFORM_DIR)endifGCCTUNE:=ifeq ($(filter $(HOSTPLATFORM),x86_64),x86_64)elseGCCTUNE:=-mtune=i686endifBUILDDIR:=$(subst \,/,$(SBS_HOME))/util/buildINSTALLROOT:=$(subst \,/,$(SBS_HOME))/$(HOSTPLATFORM_DIR)BINDIR:=$(INSTALLROOT)/binOUTPUTPATH:=$(BUILDDIR)/$(HOSTPLATFORM_DIR)define cleanlogifneq ($(CLEANMODE),)$$(info <clean>)$$(foreach O,$$(CLEANFILES),$$(info <file>$$(O)</file>)) $$(info </clean>)endifendef