common/commonExternals.pri
changeset 0 1450b09d0cfd
child 3 0954f5dd2cd0
equal deleted inserted replaced
-1:000000000000 0:1450b09d0cfd
       
     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 # Everything should be relative to ROOT_DIR (makes cut-and-paste safer).
       
    18 ROOT_DIR = $$PWD/../../../..
       
    19 
       
    20 
       
    21 #
       
    22 # set lib dirs and output dirs depending on debug or not
       
    23 symbian {
       
    24     CONFIG(release, debug|release) {
       
    25         APP_OUTPUT_DIR=$$PWD/../WrtBuild/Release
       
    26     }
       
    27     CONFIG(debug, debug|release) {
       
    28         APP_OUTPUT_DIR=$$PWD/../WrtBuild/Debug
       
    29     }
       
    30 } else {
       
    31     CONFIG(release, debug|release) {
       
    32         APP_OUTPUT_DIR=$$ROOT_DIR/WrtBuild/Release
       
    33     }
       
    34     CONFIG(debug, debug|release) {
       
    35         APP_OUTPUT_DIR=$$ROOT_DIR/WrtBuild/Debug
       
    36     }
       
    37 }
       
    38 OBJECTS_DIR = $$APP_OUTPUT_DIR/browser/tmp
       
    39 DESTDIR = $$APP_OUTPUT_DIR/bin
       
    40 DLLDIR = $$APP_OUTPUT_DIR/bin
       
    41 MOC_DIR=$$APP_OUTPUT_DIR/browser/tmp
       
    42 RCC_DIR=$$APP_OUTPUT_DIR/browser/tmp
       
    43 TEMPDIR=$$APP_OUTPUT_DIR/browser/build
       
    44 
       
    45 # use the stylesheets for demo UIs!
       
    46 !contains(DEFINES, WRT_USE_STYLE_SHEET=.): DEFINES += WRT_USE_STYLE_SHEET=1
       
    47 
       
    48 # no app bundle (for OSX)
       
    49 CONFIG -= app_bundle
       
    50 
       
    51 # create QMAKE_RPATHDIR, LIBDIR
       
    52 QMAKE_RPATHDIR = \
       
    53     $$DLLDIR \
       
    54     $$QMAKE_RPATHDIR
       
    55 
       
    56 QMAKE_LIBDIR = \
       
    57     $$DLLDIR \
       
    58     $$QMAKE_RPATHDIR
       
    59 
       
    60 # Import pre-built binary components.
       
    61 include($$ROOT_DIR/import/import.pri)
       
    62 
       
    63 # BedrockProvisioning
       
    64 INCLUDEPATH += $$ROOT_DIR/sf/app/browserui/bedrockProvisioning
       
    65 LIBS += -lBedrockProvisioning
       
    66 
       
    67 # Bookmarks
       
    68 #LIBS += -lBookMarksClient
       
    69 LIBS += -lbrowsercontentdll
       
    70 
       
    71 # Browsercore
       
    72 BROWSERCORE_DIR = $$ROOT_DIR/sf/app/browserui/browsercore
       
    73 INCLUDEPATH += $$BROWSERCORE_DIR/core
       
    74 INCLUDEPATH += $$BROWSERCORE_DIR/appfw/Common
       
    75 
       
    76 
       
    77 include($$BROWSERCORE_DIR/appfw/Api/Api.pri)
       
    78 LIBS += -lBrowserCore
       
    79 
       
    80 # Qt
       
    81 QT += xml network sql webkit