1 # |
|
2 # Copyright (c) 2010 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 # Connection Settings Shim project file. |
|
16 # |
|
17 |
|
18 TEMPLATE = lib |
|
19 TARGET = connection_settings_shim |
|
20 TARGET.CAPABILITY = ALL -TCB |
|
21 |
|
22 #BUILD_DLL macro is used to define export macro |
|
23 DEFINES += BUILD_CONNECTIONSETTINGSSHIMDLL_DLL |
|
24 DEPENDPATH += . |
|
25 |
|
26 # Temporary solution to fix tracecompiler |
|
27 # When tracecompiler is fixed, this can be removed |
|
28 symbian: { |
|
29 MMP_RULES += "USERINCLUDE traces" |
|
30 } |
|
31 |
|
32 #Store generated files to their own directory |
|
33 MOC_DIR = build |
|
34 RCC_DIR = build |
|
35 |
|
36 symbian*::LIBS += -lcmmanager |
|
37 |
|
38 # Sources |
|
39 HEADERS += \ |
|
40 ../../ipcm_plat/connection_settings_shim_api/inc/cmconnectionmethod_shim.h \ |
|
41 inc/cmconnectionmethod_shim_s60_p.h \ |
|
42 ../../ipcm_plat/connection_settings_shim_api/inc/cmdestination_shim.h \ |
|
43 inc/cmdestination_shim_s60_p.h \ |
|
44 ../../ipcm_plat/connection_settings_shim_api/inc/cmmanager_shim.h \ |
|
45 inc/cmmanager_shim_s60_p.h \ |
|
46 ../../ipcm_plat/connection_settings_shim_api/inc/cmmanagerdefines_shim.h \ |
|
47 traces/OstTraceDefinitions.h |
|
48 |
|
49 SOURCES += \ |
|
50 src/cmconnectionmethod_shim.cpp \ |
|
51 src/cmconnectionmethod_shim_s60.cpp \ |
|
52 src/cmdestination_shim.cpp \ |
|
53 src/cmdestination_shim_s60.cpp \ |
|
54 src/cmmanager_shim.cpp \ |
|
55 src/cmmanager_shim_s60.cpp |
|
56 |
|
57 # Temporary export directory definition |
|
58 # This can be removed when the default has changed to "." from ".." |
|
59 mmpRuleDeffile = \ |
|
60 "$${LITERAL_HASH}ifdef WINSCW" \ |
|
61 "DEFFILE ./bwins/connection_settings_shim.def" \ |
|
62 "$${LITERAL_HASH}else" \ |
|
63 "DEFFILE ./eabi/connection_settings_shim.def" \ |
|
64 "$${LITERAL_HASH}endif" |
|
65 |
|
66 symbian: |
|
67 { |
|
68 TARGET.EPOCALLOWDLLDATA = 1 |
|
69 TARGET.UID3 = 0x2002E6D1 |
|
70 MMP_RULES += mmpRuleDeffile |
|
71 BLD_INF_RULES.prj_exports += "rom/connection_settings_shim.iby CORE_MW_LAYER_IBY_EXPORT_PATH(connection_settings_shim.iby)" |
|
72 } |
|