3
|
1 |
#
|
|
2 |
# Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
# All rights reserved.
|
|
4 |
# This component and the accompanying materials are made available
|
|
5 |
# under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
# which accompanies this distribution, and is available
|
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
#
|
|
9 |
# Initial Contributors:
|
|
10 |
# Nokia Corporation - initial contribution.
|
|
11 |
#
|
|
12 |
# Contributors:
|
|
13 |
#
|
|
14 |
# Description:
|
|
15 |
# Utility makefile
|
|
16 |
#
|
|
17 |
|
|
18 |
RAPTOR_PVM_VER:=3.4.5
|
|
19 |
|
|
20 |
PVM_TAR:=$(SBS_HOME)/util/ext/pvm$(RAPTOR_PVM_VER).tgz
|
|
21 |
PVM_SOURCEDIR:=$(INSTALLROOT)/pvm3
|
|
22 |
|
|
23 |
define b_pvm
|
|
24 |
.PHONY:: pvm
|
|
25 |
|
|
26 |
all:: pvm
|
|
27 |
|
|
28 |
pvm: $(INSTALLROOT)/pvm3/console/LINUX/pvm
|
|
29 |
|
|
30 |
$(INSTALLROOT)/pvm3/console/LINUX/pvm: $(PVM_TAR)
|
|
31 |
rm -rf $(PVM_SOURCEDIR) && \
|
|
32 |
cd $(INSTALLROOT) && \
|
|
33 |
tar -xzf $(PVM_TAR) && \
|
|
34 |
( \
|
|
35 |
cd $(PVM_SOURCEDIR) && \
|
|
36 |
PVM_ROOT=$(PVM_SOURCEDIR) && \
|
|
37 |
PVM_ARCH=LINUX && \
|
|
38 |
PVM_RSH=/usr/bin/ssh && \
|
|
39 |
export PVM_ROOT PVM_RSH PVM_ARCH && \
|
|
40 |
$(MAKE) && $(MAKE) install \
|
|
41 |
)
|
|
42 |
endef
|
|
43 |
|
|
44 |
$(eval $(b_pvm))
|