|
1 # |
|
2 # Copyright (c) 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 "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 # Check if $CFG variable has been defined, if not, then it is always udeb |
|
18 # This is needed because some build operations are not urel/udeb specific, but |
|
19 # Mifconv must always have one specific, because in WINSCW we need to know the |
|
20 # correct target directory |
|
21 ifeq ($(strip $(CFG)),) |
|
22 CFG:=udeb |
|
23 endif |
|
24 |
|
25 # Parallel builds may cause 'overriding commands for target...' warnings. |
|
26 # This is caused by multiple configurations having same targets. |
|
27 # To avoid those warnings, let's take the initial configuration and build |
|
28 # dependencies only for it. |
|
29 ifeq ($(strip $(INIT_CFG)),) |
|
30 INIT_CFG:=$(PLATFORM)$(CFG) |
|
31 endif |
|
32 |
|
33 # Icon BMP bitmap depth mask additional name parts: |
|
34 MASK_OPTION_1:=_mask |
|
35 MASK_OPTION_8:=_mask_soft |
|
36 |
|
37 # Binary conversion tools: |
|
38 SVGTBINENCODE:=$(EPOCROOT)epoc32$/tools$/svgtbinencode |
|
39 MIFCONV:=$(EPOCROOT)epoc32$/tools$/mifconv |
|
40 |
|
41 # SVG and BMP icon bitmap searching directories, depends on a platform: |
|
42 VECTORSOURCEDIR:=$(EPOCROOT)epoc32$/s60$/icons |
|
43 BITMAPSOURCEDIR:=$(EPOCROOT)epoc32$/s60$/bitmaps |
|
44 |
|
45 # Default target directories: |
|
46 WINS_TARGETDIR:=$(EPOCROOT)epoc32$/release$/wins$/$(CFG)$/z$/resource$/apps |
|
47 WINSCW_TARGETDIR:=$(EPOCROOT)epoc32$/release$/winscw$/$(CFG)$/z$/resource$/apps |
|
48 TARGETDIR:=$(EPOCROOT)epoc32$/data$/z$/resource$/apps |
|
49 HEADERDIR:=$(EPOCROOT)epoc32$/include |