telutils/dialpad/dialpad.pro
branchRCL_3
changeset 19 7d48bed6ce0c
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
       
     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 
       
    18 TEMPLATE = lib
       
    19 TARGET = dialpad
       
    20 CONFIG += hb
       
    21 HB += hbinput
       
    22 
       
    23 INCLUDEPATH += . inc ../../inc
       
    24 
       
    25 HEADERS += ../../phonesrv_plat/dialpad_api/inc/dialpad.h \
       
    26            ../../phonesrv_plat/dialpad_api/inc/dialpadkeyhandler.h \
       
    27            ../../phonesrv_plat/dialpad_api/inc/dialpadvtkeyhandler.h \
       
    28            inc/dialpadbutton.h \
       
    29            inc/dialpadinputfield.h \
       
    30            inc/dialpadkeypad.h \
       
    31            inc/dialpadmultitaphandler.h\
       
    32            inc/dialpadsymbianwrapper.h \
       
    33            inc/dialpadbackground.h \
       
    34            inc/dialpadvoicemailboxeventfilter.h \
       
    35            inc/dialpadbluetootheventfilter.h \
       
    36            inc/dialpadkeysequenceeventfilter.h \
       
    37            inc/dialpadvideomailboxeventfilter.h \
       
    38            inc/dialpadmailboxeventfilterbase.h \
       
    39            inc/dialpademergencycalleventfilter.h \
       
    40            inc/dialpadhasheventfilter.h \
       
    41            inc/dialpadnumericbutton.h
       
    42 
       
    43 SOURCES += src/dialpad.cpp \
       
    44            src/dialpadbutton.cpp \
       
    45            src/dialpadinputfield.cpp \
       
    46            src/dialpadkeypad.cpp \
       
    47            src/dialpadmultitaphandler.cpp\
       
    48            src/dialpadkeyhandler.cpp \
       
    49            src/dialpadsymbianwrapper.cpp \
       
    50            src/dialpadbackground.cpp \
       
    51            src/dialpadvoicemailboxeventfilter.cpp \
       
    52            src/dialpadbluetootheventfilter.cpp \
       
    53            src/dialpadkeysequenceeventfilter.cpp \
       
    54            src/dialpadvideomailboxeventfilter.cpp \
       
    55            src/dialpadmailboxeventfilterbase.cpp \
       
    56            src/dialpademergencycalleventfilter.cpp \
       
    57            src/dialpadvtkeyhandler.cpp \
       
    58            src/dialpadhasheventfilter.cpp \
       
    59 	   src/dialpadnumericbutton.cpp
       
    60 
       
    61 RESOURCES += dialpad.qrc
       
    62 
       
    63 symbian {    
       
    64     TARGET.EPOCALLOWDLLDATA = 1
       
    65     TARGET.CAPABILITY = ALL -TCB
       
    66     TARGET.UID3 = 0x102078ED
       
    67     
       
    68     defFiles = \
       
    69         "$${LITERAL_HASH}ifdef WINS" \
       
    70             "DEFFILE bwins/dialpad.def" \
       
    71         "$${LITERAL_HASH}else" \
       
    72             "DEFFILE eabi/dialpad.def" \
       
    73         "$${LITERAL_HASH}endif"
       
    74     
       
    75     MMP_RULES += defFiles
       
    76     
       
    77     HEADERS += inc/dialpadsymbianwrapper_p.h
       
    78     SOURCES += src/dialpadsymbianwrapper_p.cpp
       
    79     
       
    80     BLD_INF_RULES.prj_exports += \
       
    81     "$${LITERAL_HASH}include <platform_paths.hrh>" \
       
    82     "./rom/dialpad.iby    CORE_MW_LAYER_IBY_EXPORT_PATH(dialpad.iby)" 
       
    83     
       
    84     LIBS += -lxqservice \
       
    85             -lxqserviceutil \
       
    86             -lvmbxengine \
       
    87             -lfeatmgr \
       
    88             -lphoneclient \
       
    89             -lcentralrepository \
       
    90             -lxqsettingsmanager
       
    91 }
       
    92 else:win32 { 
       
    93     HEADERS += inc/dialpadsymbianwrapper_p_stub.h
       
    94     SOURCES += src/dialpadsymbianwrapper_p_stub.cpp
       
    95     
       
    96     # Put it to Hb/lib because it is in path
       
    97     DESTDIR = c:/hb/lib
       
    98     DLLDESTDIR = c:/hb/bin
       
    99     INCLUDEPATH += ../../phonesrv_plat/dialpad_api/inc \
       
   100         c:/hb/include/hbcore \
       
   101         c:/hb/include/hbwidgets \
       
   102         c:/hb/include/hbtools \
       
   103         c:/hb/include/hbinput
       
   104     INCLUDEPATH += ../xqtelephonyservice/inc
       
   105 }
       
   106 
       
   107 DEFINES += BUILD_DIALPAD \
       
   108            BUILD_DIALPADKEYHANDLER