diff -r 40a3f856b14d -r 41a7f70b3818 phonesettings/cpphonesettingsplugins/cptelephonyutils/cptelephonyutils.pro --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phonesettings/cpphonesettingsplugins/cptelephonyutils/cptelephonyutils.pro Tue Aug 31 15:14:29 2010 +0300 @@ -0,0 +1,75 @@ +# +# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +# All rights reserved. +# This component and the accompanying materials are made available +# under the terms of "Eclipse Public License v1.0" +# which accompanies this distribution, and is available +# at the URL "http://www.eclipse.org/legal/epl-v10.html". +# +# Initial Contributors: +# Nokia Corporation - initial contribution. +# +# Contributors: +# +# Description: +# + +TEMPLATE = lib +TARGET = cptelephonyutils +CONFIG += hb mobility +MOBILITY += systeminfo +MOC_DIR = moc + +INCLUDEPATH += inc +SOURCEPATH += src + +# Input +HEADERS += inc/cpplugincommon.h \ + inc/cpphonelocalisation.h + +SOURCES += src/cpphonelocalisation.cpp + +symbian: { + SOURCES += src/cpplugincommon.cpp + } +else: { + SOURCES += src/cpplugincommon_s.cpp + } + +TRANSLATIONS = telephone_cp.ts + +DEFINES += BUILD_CPTELEPHONYUTILS + +symbian: { + load(data_caging_paths) + INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE + INCLUDEPATH += ../../../inc + + LIBS += -lsssettings \ + -lphonesettings \ + -lxqsysinfo \ + -lxqsettingsmanager + + INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE + TARGET.EPOCALLOWDLLDATA = 1 + TARGET.CAPABILITY = CAP_GENERAL_DLL + TARGET.UID3 = 0X20029F1F + + defFiles = \ + "$${LITERAL_HASH}ifdef WINS" \ + "DEFFILE bwins/cptelephonyutils.def" \ + "$${LITERAL_HASH}else" \ + "DEFFILE eabi/cptelephonyutils.def" \ + "$${LITERAL_HASH}endif" + MMP_RULES += defFiles + + # For sis file + dllfile.sources = $${TARGET}.dll + dllfile.path = $$SHARED_LIB_DIR + DEPLOYMENT += dllfile +} else: { + INCLUDEPATH += ../../../../../mw/phonesrv/phonesrv_plat/phone_settings_api/inc + INCLUDEPATH += ../../../../../mw/gsprofilesrv/controlpanel/controlpanel_plat/inc + DESTDIR = c:\hb\lib + DLLDESTDIR = c:\hb\bin +}