phonesettings/cpphonesettingsplugins/cptelephonyutils/cptelephonyutils.pro
changeset 21 92ab7f8d0eab
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
       
     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 TEMPLATE = lib
       
    18 TARGET = cptelephonyutils
       
    19 CONFIG += hb
       
    20 MOC_DIR = moc
       
    21 
       
    22 INCLUDEPATH += inc
       
    23 SOURCEPATH += src
       
    24 
       
    25 # Input
       
    26 HEADERS += inc/cpplugincommon.h inc/cpphonenotes.h
       
    27 SOURCES += src/cpphonenotes.cpp
       
    28 symbian: {
       
    29     SOURCES += src/cpplugincommon.cpp 
       
    30     }
       
    31 else: {
       
    32     SOURCES += src/cpplugincommon_s.cpp
       
    33     }
       
    34 
       
    35 TRANSLATIONS = telephone_cp.ts
       
    36 
       
    37 DEFINES += BUILD_CPTELEPHONYUTILS
       
    38 
       
    39 symbian: {
       
    40     load(data_caging_paths)
       
    41     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    42     
       
    43     LIBS += -lsssettings    \
       
    44             -lphonesettings \
       
    45             -lxqsysinfo \
       
    46             -lxqsettingsmanager \
       
    47             -lcpframework
       
    48 
       
    49     INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    50     TARGET.EPOCALLOWDLLDATA = 1 
       
    51     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    52     TARGET.UID3 = 0X20029F1F
       
    53 
       
    54     # For sis file
       
    55     dllfile.sources = $${TARGET}.dll
       
    56     dllfile.path = $$SHARED_LIB_DIR
       
    57     DEPLOYMENT += dllfile
       
    58 } else: {
       
    59     INCLUDEPATH += ../../../../../mw/phonesrv/phonesrv_plat/phone_settings_api/inc
       
    60     INCLUDEPATH += ../../../../../mw/gsprofilesrv/controlpanel/controlpanel_plat/inc
       
    61     DESTDIR = c:\hb\lib
       
    62     DLLDESTDIR = c:\hb\bin
       
    63 }