qtms/qtmsapi.pro
branchGCC_SURGE
changeset 47 f3d2589f22d6
parent 44 d141fc1ad77b
child 51 e61a04404bdf
equal deleted inserted replaced
36:3b7506f63335 47:f3d2589f22d6
     1 #
     1 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
     2 # All rights reserved.
     4 # This component and the accompanying materials are made available
     3 # This component and the accompanying materials are made available
     5 # under the terms of "Eclipse Public License v1.0"
     4 # under the terms of "Eclipse Public License v1.0"
     6 # which accompanies this distribution, and is available
     5 # which accompanies this distribution, and is available
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     9 # Initial Contributors:
     8 # Initial Contributors:
    10 # Nokia Corporation - initial contribution.
     9 # Nokia Corporation - initial contribution.
    11 #
    10 #
    12 # Contributors:
    11 # Contributors:
    13 #
    12 #
    14 # Description: 
    13 # Description:  QTMS API project description
    15 #
    14 #
    16 
    15 
    17 TEMPLATE = lib
    16 TEMPLATE = lib
    18 TARGET   = qtmsapi
    17 TARGET   = qtmsapi
    19 CONFIG  += dll
    18 CONFIG  += dll
    20 DEFINES += BUILD_TMS_WRAPPER_DLL
    19 DEFINES += BUILD_TMS_WRAPPER_DLL
    21 
    20 
    22 QT 			= core
    21 QT = core
    23 CONFIG -= gui
    22 CONFIG -= gui
    24 
    23 
       
    24 DEFINES += SYMBIAN
       
    25 TARGET.CAPABILITY = All -tcb
       
    26 TARGET.EPOCALLOWDLLDATA	= 1
       
    27 TARGET.UID2 = 0x10009D8D
       
    28 TARGET.UID3 = 0x10207CA5
    25 
    29 
    26     DEFINES += SYMBIAN
       
    27     TARGET.CAPABILITY = All -tcb
       
    28     TARGET.EPOCALLOWDLLDATA	= 1
       
    29     TARGET.UID2 = 0x10009D8D
       
    30     TARGET.UID3 = 0x10207CA5
       
    31 
       
    32     
       
    33 BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \
    30 BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \
    34                              "rom/qtms.iby  CORE_MW_LAYER_IBY_EXPORT_PATH(qtms.iby)" \
    31                              "rom/qtms.iby CORE_MW_LAYER_IBY_EXPORT_PATH(qtms.iby)" \
    35                              "data/qtmsapi_stub.sis /epoc32/data/z/system/install/qtmsapi_stub.sis"
    32                              "data/qtmsapi_stub.sis /epoc32/data/z/system/install/qtmsapi_stub.sis"
    36 
    33 
    37                                       
       
    38 DEPENDPATH += . inc
    34 DEPENDPATH += . inc
    39 INCLUDEPATH += . \
    35 INCLUDEPATH += . \
    40                .\inc
    36                .\inc
    41 
    37 
    42 
    38 defBlock = \
    43 
    39            "$${LITERAL_HASH}if defined(EABI)" \
    44 qtmsDefFiles = \
    40            "DEFFILE  eabi/qtms.def" \
    45         "$${LITERAL_HASH}ifdef WINSCW" \
    41            "$${LITERAL_HASH}else" \
    46         "DEFFILE bwins/qtms.def" \
    42            "DEFFILE  bwins/qtms.def" \
    47         "$${LITERAL_HASH}else" \
    43            "$${LITERAL_HASH}endif"
    48         "DEFFILE eabi/qtms.def" \
    44 MMP_RULES += defBlock
    49         "$${LITERAL_HASH}endif"
       
    50 
       
    51 MMP_RULES += qtmsDefFiles
       
    52 
    45 
    53 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE \
    46 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE \
    54                $$OS_LAYER_LIBC_SYSTEMINCLUDE \
    47                $$OS_LAYER_LIBC_SYSTEMINCLUDE \
    55                $$OS_LAYER_GLIB_SYSTEMINCLUDE
    48                $$OS_LAYER_GLIB_SYSTEMINCLUDE
    56 
       
    57 
    49 
    58 LIBS +=	-ltmsfactory \
    50 LIBS +=	-ltmsfactory \
    59         -ltmsapi \
    51         -ltmsapi \
    60         -ltmsutility \
    52         -ltmsutility \
    61         -llibglib \
    53         -llibglib \
    62         -llibgobject \
    54         -llibgobject \
    63         -llibgmodule \
    55         -llibgmodule \
    64         -llibstdcpp
    56         -llibstdcpp
    65 
       
    66 
    57 
    67 # $$_PRO_FILE_PWD_ points to the directory of the pro file
    58 # $$_PRO_FILE_PWD_ points to the directory of the pro file
    68 MOC_DIR = ./tmp
    59 MOC_DIR = ./tmp
    69 
    60 
    70 INCLUDEPATH += . \
    61 INCLUDEPATH += . \
    98            qtmsmicsource.h \
    89            qtmsmicsource.h \
    99            qtmsringtone.h \
    90            qtmsringtone.h \
   100            qtmsdtmf.h \
    91            qtmsdtmf.h \
   101            qtmsinbandtone.h
    92            qtmsinbandtone.h
   102 
    93 
   103 
       
   104 
       
   105 # Source
    94 # Source
   106 SOURCES += qtmsfactory.cpp \
    95 SOURCES += qtmsfactory.cpp \
   107            qtmsfactoryimpl.cpp \
    96            qtmsfactoryimpl.cpp \
       
    97            qtmsbufferimpl.cpp \
   108            qtmsmembuffer.cpp \
    98            qtmsmembuffer.cpp \
   109            qtmsbufferimpl.cpp \
       
   110            qtmscall.cpp \
    99            qtmscall.cpp \
   111            qtmscallimpl.cpp \
   100            qtmscallimpl.cpp \
   112            qtmsstream.cpp \
   101            qtmsstream.cpp \
   113            qtmsstreamimpl.cpp \
   102            qtmsstreamimpl.cpp \
   114            qtmsclientsource.cpp \
   103            qtmsclientsource.cpp \
   150            qtmsdtmfimpl.cpp \
   139            qtmsdtmfimpl.cpp \
   151            qtmsinbandtone.cpp \
   140            qtmsinbandtone.cpp \
   152            qtmsinbandtoneimpl.cpp
   141            qtmsinbandtoneimpl.cpp
   153 
   142 
   154 SYMBIAN_PLATFORMS = DEFAULT
   143 SYMBIAN_PLATFORMS = DEFAULT
       
   144