sbsv2/raptor/util/gccxml.mk
author timothy.murphy@nokia.com
Sun, 28 Feb 2010 22:37:15 +0000
branchfix
changeset 282 99ac65572b14
parent 3 e1eecf4d390d
permissions -rw-r--r--
fix: use gethostname() to set host attribute as this works on a cluster whereas reading the COMPUTERNAME env var doesn't.

#
# 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 
#

GCCXML_TAR:=$(SBS_HOME)/util/ext/gccxml.tar.gz


define b_gccxml

.PHONY:: gccxml

all:: gccxml

gccxml: $(INSTALLROOT)/bin/gccxml_cc1plus
	
$(INSTALLROOT)/bin/gccxml_cc1plus: $(GCCXML_TAR)
	cd $(INSTALLROOT) && \
	tar -xzf $(GCCXML_TAR) 

endef

$(eval $(b_gccxml))