|
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 = app |
|
18 TARGET = BookMarkServer |
|
19 |
|
20 # establish relative root dir |
|
21 ROOT_DIR = $$PWD/../.. |
|
22 |
|
23 include($$ROOT_DIR/browser.pri) |
|
24 |
|
25 QT += core network xml sql |
|
26 QT -= gui |
|
27 |
|
28 HEADERS += $$PWD/inc/bookmarkserver.h \ |
|
29 $$PWD/../commoninclude/bookmarkscommonengine.h |
|
30 SOURCES += $$PWD/src/servermain.cpp \ |
|
31 $$PWD/src/bookmarkserver.cpp |
|
32 |
|
33 |
|
34 isEmpty(BEDROCK_OUTPUT_DIR): { |
|
35 symbian { |
|
36 CONFIG(release,release|debug):BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR=$$PWD/../../WrtBuild/Release |
|
37 CONFIG(debug,release|debug):BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR=$$PWD/../../WrtBuild/Debug |
|
38 |
|
39 else { |
|
40 CONFIG(release,release|debug):BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR=$$PWD/../../../../../WrtBuild/Release |
|
41 CONFIG(debug,release|debug):BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR=$$PWD/../../../../../WrtBuild/Debug |
|
42 } |
|
43 } else { |
|
44 BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR=$$BEDROCK_OUTPUT_DIR |
|
45 } |
|
46 |
|
47 QMAKE_RPATHDIR += $$BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR/bin |
|
48 QMAKE_LIBDIR += $$BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR/bin |
|
49 |
|
50 |
|
51 INCLUDEPATH += $$PWD/inc $$PWD/../commoninclude $$PWD/../../ipc/serviceipc $$PWD/../../ipc/serviceipcserver |
|
52 |
|
53 # Use IPC components from import directory. |
|
54 include($$PWD/../../../../../import/import.pri) |
|
55 LIBS += -lwrtserviceipcserver |
|
56 |
|
57 CONFIG(gcov) { |
|
58 LIBS += -lgcov |
|
59 QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage |
|
60 message( "building for coverage statics" ) |
|
61 } |
|
62 |
|
63 |
|
64 OBJECTS_DIR = $$BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR/BookMarkServer/tmp |
|
65 DESTDIR = $$BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR/bin |
|
66 MOC_DIR = $$BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR/BookMarkServer/tmp |
|
67 RCC_DIR = $$BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR/BookMarkServer/tmp |
|
68 TEMPDIR = $$BOOKMARK_DATAMODEL_SERVER_OUTPUT_DIR/BookMarkServer/build |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 CONFIG (maemo) { |
|
74 include(../../../../cwrt-maemo.pri) |
|
75 } |
|
76 |
|
77 symbian: { |
|
78 TARGET.EPOCHEAPSIZE = 0x20000 0x1000000 // Min 128kb, Max 16Mb |
|
79 TARGET.UID3 = 0x200267E7 |
|
80 TARGET.VID = VID_DEFAULT |
|
81 TARGET.EPOCALLOWDLLDATA=1 |
|
82 TARGET.CAPABILITY = All -TCB -DRM -AllFiles |
|
83 CONFIG +=no_icon |
|
84 } |
|
85 |
|
86 symbian: { |
|
87 INCLUDEPATH += $$PWD $$MW_LAYER_SYSTEMINCLUDE $$APP_LAYER_SYSTEMINCLUDE |
|
88 } |