utilities/serviceipcserver/serviceipcserver.pro
changeset 16 3c88a81ff781
equal deleted inserted replaced
14:6aeb7a756187 16:3c88a81ff781
       
     1 #
       
     2 # ============================================================================
       
     3 #  Name        : serviceipcserver.pro
       
     4 #  Part of     : Service Framework / IPC Server
       
     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 = brserviceipcserver
       
    20 QT -= gui
       
    21 
       
    22 ROOT_DIR = $$PWD/../..
       
    23 ###WRT_DIR = $$ROOT_DIR/wrt
       
    24 
       
    25 ###include($$WRT_DIR/cwrt.pri)
       
    26 
       
    27 #Sources
       
    28 HEADERS += serviceipcserverfactory.h \
       
    29            serviceipcserver.h \
       
    30            serviceipcserver_p.h \ 
       
    31            serviceipcobserver.h \
       
    32            serviceipcserversession.h \
       
    33            serviceipcrequest.h \
       
    34            sessionidtable.h
       
    35 
       
    36 SOURCES += serviceipcserverfactory.cpp \
       
    37            serviceipcserver.cpp \
       
    38            serviceipcserversession.cpp \
       
    39            serviceipcrequest.cpp \
       
    40            sessionidtable.cpp
       
    41            
       
    42 DEFINES += QT_MAKE_IPC_SERVER_DLL
       
    43 ###INCLUDEPATH += $$CWRT_INCLUDE
       
    44 
       
    45 EXPORT_FILES = serviceipcserver.h \
       
    46     serviceipcobserver.h \
       
    47     serviceipcserversession.h \
       
    48     serviceipcrequest.h \
       
    49     clientinfo.h
       
    50 
       
    51 # Symbian Specifics
       
    52 symbian {
       
    53     TARGET.EPOCALLOWDLLDATA = 1
       
    54     TARGET.UID3 = 0x102829E8
       
    55     SYMBIAN_PUB_SDK = $$(SYMBIAN_PUB_SDK)
       
    56     isEmpty(SYMBIAN_PUB_SDK) {
       
    57         TARGET.VID = VID_DEFAULT
       
    58     } else {
       
    59         TARGET.VID = 0x00000000
       
    60     }
       
    61     TARGET.CAPABILITY = All -Tcb
       
    62     MMP_RULES += EXPORTUNFROZEN
       
    63 
       
    64     brserviceipcserverlibs.sources = brserviceipcserver.dll
       
    65     brserviceipcserverlibs.path = /sys/bin
       
    66     DEPLOYMENT += brserviceipcserverlibs
       
    67 
       
    68     HEADERS += ./platform/s60/serviceipcserversymbianserver_p.h \
       
    69                ./platform/s60/serviceipcserversymbiansession.h
       
    70     SOURCES += ./platform/s60/serviceipcserversymbianserver.cpp \
       
    71                ./platform/s60/serviceipcserversymbiansession.cpp
       
    72 
       
    73     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE ../serviceipcclient
       
    74 }
       
    75 else {
       
    76 # Export headers on non-symbian systems
       
    77     QT +=network
       
    78     #Export directory    
       
    79 ###    EXPORT_DIR = $$CWRT_INCLUDE
       
    80     
       
    81     HEADERS += ./platform/qt/serviceipcserverlocalsocket_p.h \
       
    82                ./platform/qt/serviceipclocalsocketsession.h
       
    83     SOURCES += ./platform/qt/serviceipcserverlocalsocket.cpp \
       
    84                ./platform/qt/serviceipclocalsocketsession.cpp
       
    85     
       
    86     INCLUDEPATH += $$PWD/platform/qt
       
    87 }
       
    88 
       
    89 ###include($$WRT_DIR/cwrt-export.pri)
       
    90