sdkcreationmw/sdkruntimes/xrpcrt/group/xrpcrt.mk
author Shabe Razvi <shaber@symbian.org>
Thu, 04 Nov 2010 17:22:05 +0000
changeset 4 b3b823debf08
parent 0 b26acd06ea60
permissions -rw-r--r--
Workaround for Bug 3917 - CWinsockInterface::DataSent calls NotifyDataSent which is not implemented.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     1
#
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     2
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     3
# All rights reserved.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     4
# This component and the accompanying materials are made available
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     5
# under the terms of "Eclipse Public License v1.0"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     6
# which accompanies this distribution, and is available
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     8
#
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     9
# Initial Contributors:
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    11
#
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    12
# Contributors:
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    13
#
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    14
# Description: 
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    15
#
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    16
# ============================================================================
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    17
#
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    18
#  $Id: xrpcrt.mk,v 1.1 2005/04/06 05:36:41 slava Exp $
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    19
#
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    20
#  Makefile for compiling xrpcrt.dll
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    21
#
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    22
#  It is not possible to compile this component using standard Symbian 
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    23
#  development tools.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    24
#
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    25
# ============================================================================
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    26
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    27
!IF "$(PLATFORM)" != "WINS" && "$(PLATFORM)" != "WINSCW"  && "$(PLATFORM)" != "VC6"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    28
!ERROR "Not a WINS or WINSCW build!"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    29
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    30
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    31
OutDir = build
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    32
DebugDir = $(OutDir)\debug
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    33
ReleaseDir = $(OutDir)\release
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    34
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    35
TargetName = xrpcrt
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    36
TargetExe = $(TargetName).dll
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    37
TargetLib = $(TargetName).lib
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    38
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    39
Workspace = xrpcrt.dsw
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    40
DebugTarget= "xrpcrt - Win32 Debug"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    41
ReleaseTarget = "xrpcrt - Win32 Release"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    42
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    43
WinsDebugExe = $(EPOCROOT)epoc32\release\wins\udeb\$(TargetExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    44
WinsDebugLib = $(EPOCROOT)epoc32\release\wins\udeb\$(TargetLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    45
WinsReleaseExe = $(EPOCROOT)epoc32\release\wins\urel\$(TargetExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    46
WinsReleaseLib = $(EPOCROOT)epoc32\release\wins\urel\$(TargetLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    47
WinsCwDebugExe = $(EPOCROOT)epoc32\release\winscw\udeb\$(TargetExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    48
WinsCwDebugLib = $(EPOCROOT)epoc32\release\winscw\udeb\$(TargetLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    49
WinsCwReleaseExe = $(EPOCROOT)epoc32\release\winscw\urel\$(TargetExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    50
WinsCwReleaseLib = $(EPOCROOT)epoc32\release\winscw\urel\$(TargetLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    51
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    52
!IFNDEF EpocRoot
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    53
EpocRoot = \
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    54
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    55
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    56
# Targets
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    57
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    58
RELEASABLES:
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    59
!IF "$(PLATFORM)" == "WINS"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    60
!IF "$(CFG)" != "UREL"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    61
    @echo $(WinsDebugExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    62
    @echo $(WinsDebugLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    63
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    64
!IF "$(CFG)" != "UDEB"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    65
    @echo $(WinsReleaseExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    66
    @echo $(WinsReleaseLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    67
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    68
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    69
!IF "$(PLATFORM)" == "WINSCW"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    70
!IF "$(CFG)" != "UREL"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    71
    @echo $(WinsCwDebugExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    72
    @echo $(WinsCwDebugLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    73
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    74
!IF "$(CFG)" != "UDEB"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    75
    @echo $(WinsCwReleaseExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    76
    @echo $(WinsCwReleaseLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    77
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    78
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    79
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    80
CLEAN:
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    81
!IF "$(PLATFORM)" == "WINS" && "$(CFG)" == "UDEB"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    82
    if exist $(WinsDebugExe) del /F $(WinsDebugExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    83
    if exist $(WinsDebugLib) del /F $(WinsDebugLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    84
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    85
!IF "$(PLATFORM)" == "WINS" && "$(CFG)" == "UREL"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    86
    if exist $(WinsReleaseExe) del /F $(WinsReleaseExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    87
    if exist $(WinsReleaseLib) del /F $(WinsReleaseLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    88
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    89
!IF "$(PLATFORM)" == "WINSCW" && "$(CFG)" == "UDEB"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    90
    if exist $(WinsCwDebugExe) del /F $(WinsCwDebugExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    91
    if exist $(WinsCwDebugLib) del /F $(WinsCwDebugLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    92
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    93
!IF "$(PLATFORM)" == "WINSCW" && "$(CFG)" == "UREL"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    94
    if exist $(WinsCwReleaseExe) del /F $(WinsCwReleaseExe)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    95
    if exist $(WinsCwReleaseLib) del /F $(WinsCwReleaseLib)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    96
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    97
    msdev $(Workspace) /MAKE $(ReleaseTarget) /USEENV /CLEAN
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    98
    if exist $(ReleaseDir) rd /q /s $(ReleaseDir)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    99
!IF "$(CFG)" != "UREL"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   100
    msdev $(Workspace) /MAKE $(DebugTarget) /USEENV /CLEAN
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   101
    if exist $(DebugTarget) rd /q /s $(DebugTarget)
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   102
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   103
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   104
BLD:
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   105
!IF "$(CFG)" != "UREL"
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   106
    msdev $(Workspace) /MAKE $(DebugTarget) /USEENV
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   107
!ENDIF
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   108
    msdev $(Workspace) /MAKE $(ReleaseTarget) /USEENV
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   109
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   110
MAKMAKE FINAL FREEZE LIB CLEANLIB RESOURCE SAVESPACE : 
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
   111
    @rem donothing