sbsv2/raptor/lib/flm/e32abiv2ani.flm
changeset 0 044383f39525
child 3 e1eecf4d390d
child 590 360bd6b35136
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 # Copyright (c) 2007-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 the License "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 # ARMv5 EXE/DLL ABIv2 Function Like Makefile (FLM)
       
    15 # Build a window server animation DLL. 
       
    16 # 
       
    17 #
       
    18 
       
    19 ifeq ($(TARGETTYPE),ani)
       
    20 include $(FLMHOME)/e32abiv2defaults.mk
       
    21 
       
    22 # What we need to build a DLL
       
    23 CANHAVEEXPORTS:=1
       
    24 POSTLINKTARGETTYPE:=ANI
       
    25 POSTLINKFILETYPE:=ani
       
    26 DOPOSTLINK:=1
       
    27 AUTOEXPORTS:=_Z15CreateCAnimDllLv,1;
       
    28 DEFFILE:=
       
    29 
       
    30 # Determine what kind of entrypoint option to set
       
    31 LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/edll.lib
       
    32 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION) _E32Dll $(LINKER_ENTRYPOINT_DECORATION) $(call dblquote,$(STATIC_RUNTIME_DIR)/edll.lib$(LINKER_ENTRYPOINT_ADORNMENT))
       
    33 
       
    34 ifeq ("$(NEED_ENTRYPOINT_LIBRARY)","True")
       
    35 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRYPOINT_SETTING) $(LINKER_ENTRYPOINT_LIBDEP)
       
    36 endif
       
    37 
       
    38 LINKER_STUB_LIBRARY:=$(STATIC_RUNTIME_DIR)/edllstub.lib
       
    39 STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB)
       
    40 CANIGNORENONCALLABLE:=1
       
    41 
       
    42 UID2:=10003b22
       
    43 
       
    44 
       
    45 # We are appending to CDEFS but we don't want this to affect
       
    46 # other invocations so we are going to save it on a stack
       
    47 # and restore it afterwards
       
    48 $(call vsave,CDEFS)
       
    49 CDEFS:=$(CDEFS) __DLL__
       
    50 include $(FLMHOME)/e32abiv2.flm
       
    51 $(call vrestore)
       
    52 
       
    53 else
       
    54 $(error $e32abiv2dll.flm called with wrong TARGETTYPE (should be 'ani' but is '$(TARGETTYPE)'))
       
    55 endif
       
    56