qcpix/cpixsearch.pro
changeset 13 fcb2a58c181b
child 19 e3c09e9691e0
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 = cpixsearch 
       
    19 QT        += core
       
    20 QT        -= gui 
       
    21 
       
    22 INCLUDEPATH += ../s60/searchclient/inc
       
    23 INCLUDEPATH += ../cfg
       
    24 
       
    25 HEADERS   += ../searchsrv_plat/cpix_search_api/inc/cpixcommon.h \
       
    26              ../searchsrv_plat/cpix_search_api/inc/cpixdocument.h \
       
    27              ../searchsrv_plat/cpix_search_api/inc/cpixdocumentfield.h \
       
    28              ../searchsrv_plat/cpix_search_api/inc/cpixsearcher.h 
       
    29 
       
    30 SOURCES   += src/cpixdocument.cpp \ 
       
    31              src/cpixdocumentfield.cpp \
       
    32              src/cpixsearcher.cpp
       
    33 
       
    34 DEFINES += BUILD_DLL
       
    35 
       
    36 symbian{
       
    37     TARGET.CAPABILITY = CAP_GENERAL_DLL -DRM
       
    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/cpixdocumentprivate.h \
       
    47                 src/platform/s60/inc/cpixdocumentfieldprivate.h \
       
    48                 src/platform/s60/inc/cpixsearcherprivate.h \
       
    49                 src/platform/s60/inc/cpixutils.h 
       
    50         
       
    51     SOURCES +=  src/platform/s60/src/cpixdocumentfieldprivate.cpp \
       
    52                 src/platform/s60/src/cpixsearcherprivate.cpp \
       
    53                 src/platform/s60/src/cpixutils.cpp
       
    54     
       
    55     qcpixsearchclient.sources += /epoc32/release/armv5/urel/cpixsearch.dll
       
    56     qcpixsearchclient.path = /sys/bin
       
    57     DEPLOYMENT += cpixsearch
       
    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 }