utilities/serviceipcclient/serviceipcclient.pro
changeset 16 3c88a81ff781
equal deleted inserted replaced
14:6aeb7a756187 16:3c88a81ff781
       
     1 #
       
     2 # ============================================================================
       
     3 #  Name        : serviceipc.pro
       
     4 #  Part of     : Service Framework / IPC
       
     5 #  Description : Service Framework IPC
       
     6 #  Version     : %version: 1 % 
       
     7 #
       
     8 #  Copyright © 2009 Nokia.  All rights reserved.
       
     9 #  This material, including documentation and any related computer
       
    10 #  programs, is protected by copyright controlled by Nokia.  All
       
    11 #  rights are reserved.  Copying, including reproducing, storing,
       
    12 #  adapting or translating, any or all of this material requires the
       
    13 #  prior written consent of Nokia.  This material also contains
       
    14 #  confidential information which may not be disclosed to others
       
    15 #  without the prior written consent of Nokia.
       
    16 # ============================================================================
       
    17 #
       
    18 TEMPLATE = lib
       
    19 TARGET = brserviceipcclient
       
    20 
       
    21 QT -=gui
       
    22 
       
    23 ROOT_DIR = $$PWD/../..
       
    24 
       
    25 #Sources
       
    26 HEADERS += serviceipcdefs.h \
       
    27            serviceipc_p.h \
       
    28            serviceipc.h \ 
       
    29            serviceipcfactory.h \
       
    30            serviceipcsharedmem_p.h \
       
    31            serviceipcclient.h
       
    32 SOURCES += serviceipc.cpp \ 
       
    33            serviceipcfactory.cpp \
       
    34            serviceipcsharedmem.cpp \
       
    35            serviceipcclient.cpp
       
    36 
       
    37 DEFINES += QT_MAKE_IPC_DLL
       
    38 DEFINES+=QT_BEARER=1
       
    39 DEFINES+=MAEMO_QT_BEARER=0
       
    40 ###INCLUDEPATH += $$CWRT_INCLUDE 
       
    41 
       
    42 
       
    43 ### EXPORT_FILES = serviceipcdefs.h serviceipc.h serviceipcclient.h
       
    44 
       
    45 # Symbian Specifics
       
    46 symbian {
       
    47     TARGET.EPOCALLOWDLLDATA = 1
       
    48     TARGET.UID3 = 0x200267E0
       
    49     SYMBIAN_PUB_SDK = $$(SYMBIAN_PUB_SDK)
       
    50     isEmpty(SYMBIAN_PUB_SDK) {
       
    51         TARGET.VID = VID_DEFAULT
       
    52     } else {
       
    53         TARGET.VID = 0x00000000
       
    54     }
       
    55     TARGET.CAPABILITY = All -Tcb
       
    56     MMP_RULES += EXPORTUNFROZEN
       
    57 
       
    58     brserviceipcclientlibs.sources = brserviceipcclient.dll
       
    59     brserviceipcclientlibs.path = /sys/bin
       
    60     DEPLOYMENT += brserviceipcclientlibs
       
    61 
       
    62     HEADERS += ./platform/s60/serviceipcsymbian_p.h \
       
    63                ./platform/s60/serviceipcsymbiansession.h 
       
    64     SOURCES += ./platform/s60/serviceipcsymbian.cpp \
       
    65                ./platform/s60/serviceipcsymbiansession.cpp
       
    66     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE 
       
    67 }
       
    68 else {
       
    69     QT +=network
       
    70     HEADERS += ./platform/qt/serviceipclocalsocket_p.h
       
    71     SOURCES += ./platform/qt/serviceipclocalsocket.cpp
       
    72     INCLUDEPATH += $$PWD/platform/qt
       
    73     
       
    74     # Export headers on non-symbian systems
       
    75 ###    EXPORT_DIR = $$CWRT_INCLUDE
       
    76 }
       
    77 
       
    78 ###include($$WRT_DIR/cwrt-export.pri)