phonesettings/cpphonesettingsplugins/cptelephonyutils/cptelephonyutils.pro
changeset 37 ba76fc04e6c2
child 45 6b911d05207e
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     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 \
       
    27            inc/cpphonenotes.h \
       
    28            inc/cpphonelocalisation.h
       
    29            
       
    30 SOURCES += src/cpphonenotes.cpp \
       
    31            src/cpphonelocalisation.cpp 
       
    32            
       
    33 symbian: {
       
    34     SOURCES += src/cpplugincommon.cpp 
       
    35     }
       
    36 else: {
       
    37     SOURCES += src/cpplugincommon_s.cpp
       
    38     }
       
    39 
       
    40 TRANSLATIONS = telephone_cp.ts
       
    41 
       
    42 DEFINES += BUILD_CPTELEPHONYUTILS
       
    43 
       
    44 symbian: {
       
    45     load(data_caging_paths)
       
    46     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    47     
       
    48     LIBS += -lsssettings    \
       
    49             -lphonesettings \
       
    50             -lxqsysinfo \
       
    51             -lxqsettingsmanager
       
    52 
       
    53     INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    54     TARGET.EPOCALLOWDLLDATA = 1 
       
    55     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    56     TARGET.UID3 = 0X20029F1F
       
    57 
       
    58     # For sis file
       
    59     dllfile.sources = $${TARGET}.dll
       
    60     dllfile.path = $$SHARED_LIB_DIR
       
    61     DEPLOYMENT += dllfile
       
    62 } else: {
       
    63     INCLUDEPATH += ../../../../../mw/phonesrv/phonesrv_plat/phone_settings_api/inc
       
    64     INCLUDEPATH += ../../../../../mw/gsprofilesrv/controlpanel/controlpanel_plat/inc
       
    65     DESTDIR = c:\hb\lib
       
    66     DLLDESTDIR = c:\hb\bin
       
    67 }