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 |
|
|
19 |
# Build dialog for SBSv2 installer
|
|
20 |
|
|
21 |
RAPTOR_DIALOG_VER:=1.1-20080819
|
|
22 |
|
|
23 |
DIALOG_SOURCEDIR:=$(OUTPUTPATH)/dialog-$(RAPTOR_DIALOG_VER)
|
|
24 |
DIALOG_TAR:=$(SBS_HOME)/util/ext/dialog-$(RAPTOR_DIALOG_VER).tar.gz
|
|
25 |
|
|
26 |
|
|
27 |
define b_dialog
|
|
28 |
|
|
29 |
.PHONY:: dialog
|
|
30 |
|
|
31 |
all:: dialog
|
|
32 |
|
|
33 |
dialog: $(INSTALLROOT)/bin/dialog
|
|
34 |
|
|
35 |
$(INSTALLROOT)/bin/dialog: $(DIALOG_TAR)
|
|
36 |
rm -rf $(DIALOG_SOURCEDIR) && \
|
|
37 |
cd $(OUTPUTPATH) && \
|
|
38 |
tar -xzf $(DIALOG_TAR) && \
|
|
39 |
( \
|
|
40 |
cd $(DIALOG_SOURCEDIR) && \
|
|
41 |
CFLAGS="-O3 $(GCCTUNE) -s" ./configure --prefix=$(INSTALLROOT) && \
|
|
42 |
$(MAKE) -j8 && $(MAKE) install \
|
|
43 |
)
|
|
44 |
endef
|
|
45 |
|
|
46 |
$(eval $(b_dialog))
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|