author | timothy.murphy@nokia.com |
Wed, 18 Nov 2009 21:50:36 +0000 | |
branch | wip |
changeset 8 | 34d87ffcc373 |
parent 3 | e1eecf4d390d |
child 9 | b211d87c390a |
permissions | -rw-r--r-- |
3 | 1 |
|
2 |
# Copyright (c) 2008-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 |
## |
|
16 |
||
17 |
||
18 |
SHELL:=bash |
|
19 |
||
8
34d87ffcc373
Automatic SBS_HOME detection for util making and installer.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
20 |
|
34d87ffcc373
Automatic SBS_HOME detection for util making and installer.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
21 |
SBS_HOME=$(abspath $(dir $(word 1,$(MAKEFILE_LIST)))/..) |
34d87ffcc373
Automatic SBS_HOME detection for util making and installer.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
22 |
export SBS_HOME |
34d87ffcc373
Automatic SBS_HOME detection for util making and installer.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
23 |
|
34d87ffcc373
Automatic SBS_HOME detection for util making and installer.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
24 |
$(info SBS_HOME=$(SBS_HOME)) |
34d87ffcc373
Automatic SBS_HOME detection for util making and installer.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
25 |
|
34d87ffcc373
Automatic SBS_HOME detection for util making and installer.
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
26 |
|
3 | 27 |
.PHONY:: all |
28 |
all:: |
|
29 |
||
30 |
include utilbuild.mk # need general settings e.g. INSTALLROOT |
|
31 |
||
32 |
ifeq ($(filter CLEAN,$(MAKECMDGOALS))$(filter clean,$(MAKECMDGOALS)),) |
|
33 |
||
34 |
include gccprogram.mk |
|
35 |
||
36 |
# Actual programs |
|
37 |
include descramble/Makefile |
|
38 |
||
39 |
include talon/Makefile |
|
40 |
||
41 |
include ransleep/Makefile |
|
42 |
||
43 |
# Some tools not built for windows |
|
44 |
ifneq ($(filter $(HOSTPLATFORM),win),win) |
|
45 |
ifeq ($(CLEANMODE),) |
|
46 |
include bash.mk |
|
47 |
||
48 |
include make.mk |
|
49 |
||
50 |
# Build pvm and pvmgmake later when they have been corrected |
|
51 |
#include pvmgmake.mk |
|
52 |
||
53 |
#include pvm.mk |
|
54 |
||
55 |
include python.mk |
|
56 |
||
57 |
include codewarrior.mk |
|
58 |
||
59 |
include bvcpp.mk |
|
60 |
||
61 |
include gccxml.mk |
|
62 |
||
63 |
include dialog.mk |
|
64 |
endif |
|
65 |
||
66 |
endif |
|
67 |
||
68 |
else |
|
69 |
||
70 |
||
71 |
clean: |
|
72 |
@echo "Cleaning" |
|
73 |
make $(MAKEFILE) CLEANMODE:=1 | grep '<file>' |sed -r 's#.*<file>(.*)</file>.*#\1#' | (read F; while [ $$? -eq 0 ]; do rm -f "$$F"; read F; done; true ) |
|
74 |
endif |