qcpix/qcpixsearchclient.pro
changeset 13 fcb2a58c181b
parent 11 7c6f43cd91cf
child 14 8bd192d47aaa
equal deleted inserted replaced
11:7c6f43cd91cf 13:fcb2a58c181b
     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 TEMPLATE = lib
       
    18 TARGET = qcpixsearchclient 
       
    19 QT        += core
       
    20 QT        -= gui 
       
    21 
       
    22 INCLUDEPATH += ../s60/searchclient/inc
       
    23 INCLUDEPATH += ../cfg
       
    24 
       
    25 HEADERS   += ../searchsrv_plat/cpix_search_api/inc/qcpixcommon.h \
       
    26              ../searchsrv_plat/cpix_search_api/inc/qcpixdocument.h \
       
    27              ../searchsrv_plat/cpix_search_api/inc/qcpixdocumentfield.h \
       
    28              ../searchsrv_plat/cpix_search_api/inc/qcpixsearcher.h 
       
    29 
       
    30 SOURCES   += src/qcpixdocument.cpp \ 
       
    31              src/qcpixdocumentfield.cpp \
       
    32              src/qcpixsearcher.cpp
       
    33 
       
    34 DEFINES += BUILD_DLL
       
    35 
       
    36 symbian{
       
    37     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    38     TARGET.EPOCALLOWDLLDATA = 1
       
    39     TARGET.UID3 = 0xE3B89364
       
    40     TARGET.VID = VID_DEFAULT
       
    41     VERSION = 1.0.0
       
    42     LIBS += -leuser -lcpixsearchclient
       
    43     
       
    44     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    45     
       
    46     HEADERS +=  src/platform/s60/inc/qcpixdocumentprivate.h \
       
    47                 src/platform/s60/inc/qcpixdocumentfieldprivate.h \
       
    48                 src/platform/s60/inc/qcpixsearcherprivate.h \
       
    49                 src/platform/s60/inc/qcpixutils.h 
       
    50         
       
    51     SOURCES +=  src/platform/s60/src/qcpixdocumentfieldprivate.cpp \
       
    52                 src/platform/s60/src/qcpixsearcherprivate.cpp \
       
    53                 src/platform/s60/src/qcpixutils.cpp
       
    54     
       
    55     qcpixsearchclient.sources += /epoc32/release/armv5/urel/qcpixsearchclient.dll
       
    56     qcpixsearchclient.path = /sys/bin
       
    57     DEPLOYMENT += qcpixsearchclient
       
    58     
       
    59     defFileBlock =                    \
       
    60     "$${LITERAL_HASH}if defined(WINSCW)"    \
       
    61     "DEFFILE bwins/"                        \
       
    62     "$${LITERAL_HASH}else"                  \
       
    63     "DEFFILE eabi/"                         \
       
    64     "$${LITERAL_HASH}endif"                 \
       
    65     
       
    66     MMP_RULES += defFileBlock
       
    67 
       
    68 }