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 |
|
|
20 |
.PHONY:: all
|
|
21 |
all::
|
|
22 |
|
|
23 |
include utilbuild.mk # need general settings e.g. INSTALLROOT
|
|
24 |
|
|
25 |
ifeq ($(filter CLEAN,$(MAKECMDGOALS))$(filter clean,$(MAKECMDGOALS)),)
|
|
26 |
|
|
27 |
include gccprogram.mk
|
|
28 |
|
|
29 |
# Actual programs
|
|
30 |
include descramble/Makefile
|
|
31 |
|
|
32 |
include talon/Makefile
|
|
33 |
|
|
34 |
include ransleep/Makefile
|
|
35 |
|
|
36 |
# Some tools not built for windows
|
|
37 |
ifneq ($(filter $(HOSTPLATFORM),win),win)
|
|
38 |
ifeq ($(CLEANMODE),)
|
|
39 |
include bash.mk
|
|
40 |
|
|
41 |
include make.mk
|
|
42 |
|
|
43 |
# Build pvm and pvmgmake later when they have been corrected
|
|
44 |
#include pvmgmake.mk
|
|
45 |
|
|
46 |
#include pvm.mk
|
|
47 |
|
|
48 |
include python.mk
|
|
49 |
|
|
50 |
include codewarrior.mk
|
|
51 |
|
|
52 |
include bvcpp.mk
|
|
53 |
|
|
54 |
include gccxml.mk
|
|
55 |
|
|
56 |
include dialog.mk
|
|
57 |
endif
|
|
58 |
|
|
59 |
endif
|
|
60 |
|
|
61 |
else
|
|
62 |
|
|
63 |
|
|
64 |
clean:
|
|
65 |
@echo "Cleaning"
|
|
66 |
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 )
|
|
67 |
endif
|