|
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 # |
|
16 |
|
17 TEMPLATE = lib |
|
18 TARGET = BedrockProvisioning |
|
19 QT += core webkit |
|
20 |
|
21 ROOT_DIR = $$PWD/.. |
|
22 include($$ROOT_DIR/browserui.pri) |
|
23 |
|
24 #This is used to toggle behaviour of BEDROCKPROVISION_EXPORT |
|
25 #between Q_DECL_EXPORT and Q_DECL_IMPORT |
|
26 DEFINES+= BUILDING_BEDROCK_PROVISIONING |
|
27 |
|
28 symbian: { |
|
29 TARGET.EPOCALLOWDLLDATA=1 |
|
30 TARGET.CAPABILITY = All -TCB -DRM -AllFiles |
|
31 TARGET.UID3 = 0x200267EA |
|
32 TARGET.VID = VID_DEFAULT |
|
33 |
|
34 bedrockprovisioning.sources = BedrockProvisioning.dll |
|
35 bedrockprovisioning.path = /sys/bin |
|
36 provisioningtemplate.sources = ./template/200267EA.ini |
|
37 provisioningtemplate.path = /data/.config/Nokia |
|
38 |
|
39 DEPLOYMENT += bedrockprovisioning provisioningtemplate |
|
40 LIBS += -lefsrv |
|
41 |
|
42 isEmpty(BEDROCK_OUTPUT_DIR): { |
|
43 CONFIG(release, debug|release):BEDROCKPROVISIONING_OUTPUT_DIR=$$PWD/../WrtBuild/Release |
|
44 CONFIG(debug, debug|release):BEDROCKPROVISIONING_OUTPUT_DIR=$$PWD/../WrtBuild/Debug |
|
45 } else { |
|
46 BEDROCKPROVISIONING_OUTPUT_DIR=$$BEDROCK_OUTPUT_DIR |
|
47 } |
|
48 |
|
49 } else { |
|
50 |
|
51 isEmpty(BEDROCK_OUTPUT_DIR): { |
|
52 CONFIG(release, debug|release):BEDROCKPROVISIONING_OUTPUT_DIR=$$PWD/../../../../WrtBuild/Release |
|
53 CONFIG(debug, debug|release):BEDROCKPROVISIONING_OUTPUT_DIR=$$PWD/../../../../WrtBuild/Debug |
|
54 } else { |
|
55 BEDROCKPROVISIONING_OUTPUT_DIR=$$BEDROCK_OUTPUT_DIR |
|
56 } |
|
57 } |
|
58 |
|
59 contains(what, plat_101 ) { |
|
60 DEFINES += PLAT_101 |
|
61 } |
|
62 |
|
63 OBJECTS_DIR = $$BEDROCKPROVISIONING_OUTPUT_DIR/BedrockProvisioning/tmp |
|
64 DESTDIR = $$BEDROCKPROVISIONING_OUTPUT_DIR/bin |
|
65 MOC_DIR = $$BEDROCKPROVISIONING_OUTPUT_DIR/BedrockProvisioning/ |
|
66 RCC_DIR = $$BEDROCKPROVISIONING_OUTPUT_DIR/BedrockProvisioning/ |
|
67 TEMPDIR = $$BEDROCKPROVISIONING_OUTPUT_DIR/BedrockProvisioning/build |
|
68 |
|
69 INCLUDEPATH += $$PWD/ |
|
70 |
|
71 CONFIG += dll |
|
72 |
|
73 # |
|
74 # Our headers, source |
|
75 # |
|
76 HEADERS += $$PWD/bedrockprovisioning.h \ |
|
77 $$PWD/bedrockprovisioningglobal.h |
|
78 SOURCES += $$PWD/bedrockprovisioning.cpp |
|
79 |
|
80 CONFIG(gcov) { |
|
81 LIBS += -lgcov |
|
82 QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage |
|
83 message( "building for coverage statics" ) |
|
84 } |