obex/obexprotocol/group/obexprotocol.iby
changeset 57 f6055a57ae18
equal deleted inserted replaced
54:4dc88a4ac6f4 57:f6055a57ae18
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Obex
       
    15 // obexprotocol.iby
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef  __OBEXPROTOCOL_IBY__
       
    20 #define  __OBEXPROTOCOL_IBY__
       
    21 
       
    22 REM If __OBEX_DEBUG__ is defined pull in debug versions of the
       
    23 REM OBEX DLLs and transport controllers regardless of the ROM type
       
    24 #ifdef __OBEX_DEBUG__
       
    25 define OBEX_DIR UDEB
       
    26 #define OBEX_PLUGIN ECOM_PLUGIN_UDEB
       
    27 #else
       
    28 define OBEX_DIR BUILD_DIR
       
    29 #define OBEX_PLUGIN ECOM_PLUGIN
       
    30 #endif
       
    31 
       
    32 REM *** The following iby files are always included, whether obex is
       
    33 REM *** supported by the device or not.
       
    34 
       
    35 #include <ecom.iby>
       
    36 
       
    37 #if defined(_DEBUG) || defined (__OBEX_DEBUG__)
       
    38 #include <commsdebugutility.iby>
       
    39 #endif
       
    40 
       
    41 REM *** The following dlls are client side dlls. They are always included
       
    42 REM *** in the ROM, whether obex is supported by the device or not, so
       
    43 REM *** that client applications can link against them regardless.
       
    44 
       
    45 file=ABI_DIR\OBEX_DIR\obex.dll	sys\bin\OBEX.dll
       
    46 REM Alias new obex.dll to also appear as irobex.dll to support legacy apps
       
    47 alias sys\bin\obex.dll			sys\bin\irobex.dll
       
    48 
       
    49 file=ABI_DIR\OBEX_DIR\obexcommontransport.dll 	System\Libs\obexcommontransport.dll
       
    50 
       
    51 #ifdef SYMBIAN_INCLUDE_OBEX_EXTENSIONAPIS
       
    52 file=ABI_DIR\OBEX_DIR\obexextensionapis.dll	sys\bin\obexextensionapis.dll
       
    53 #endif
       
    54 
       
    55 REM *** Now for things which should only be included if the device
       
    56 REM *** supports OBEX, to save ROM space...
       
    57 
       
    58 #ifdef SYMBIAN_EXCLUDE_OBEX
       
    59 REM Feature OBEX is not in this ROM
       
    60 #else
       
    61 
       
    62 
       
    63 REM *** Now for things which should only be included if the device
       
    64 REM *** supports USB, to save ROM space...
       
    65 
       
    66 #ifndef __USB
       
    67 REM OBEX USB transport is not included in this ROM as it depends on USB
       
    68 #else
       
    69 OBEX_PLUGIN(obexusbtransportcontroller.dll,1020de87.rsc)
       
    70 #endif
       
    71 
       
    72 REM *** Now for things which should only be included if the device
       
    73 REM *** supports bluetooth, to save ROM space...
       
    74 
       
    75 #ifndef __BT
       
    76 REM OBEX Bluetooth transport is not included in this ROM as it depends on BLUETOOTH
       
    77 #else
       
    78 OBEX_PLUGIN(obexbtrfcommtransportcontroller.dll,1020e043.rsc)
       
    79 #endif
       
    80 
       
    81 #endif // SYMBIAN_EXCLUDE_OBEX
       
    82 
       
    83 #endif //  __OBEXPROTOCOL_IBY__