sbsv2/raptor/lib/flm/e32abiv2var2.flm
branchfix
changeset 230 3d05ccc51d1a
parent 22 072f869b0bc5
equal deleted inserted replaced
229:b719d614d652 230:3d05ccc51d1a
     1 # Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 # Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 # All rights reserved.
     2 # All rights reserved.
     3 # This component and the accompanying materials are made available
     3 # This component and the accompanying materials are made available
     4 # under the terms of the License "Eclipse Public License v1.0"
     4 # under the terms of the License "Eclipse Public License v1.0"
     5 # which accompanies this distribution, and is available
     5 # which accompanies this distribution, and is available
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
    16 # 
    16 # 
    17 #
    17 #
    18 
    18 
    19 ifeq ($(TARGETTYPE),var2)
    19 ifeq ($(TARGETTYPE),var2)
    20 include $(FLMHOME)/e32abiv2defaults.mk
    20 include $(FLMHOME)/e32abiv2defaults.mk
    21 
       
    22 # What we need to build a DLL
       
    23 # May need a dso e.g. ecust.dll
       
    24 ifeq ($(NOEXPORTLIBRARY),)
       
    25 IMPORTLIBRARYREQUIRED:=1
       
    26 endif
       
    27 POSTLINKDEFFILE:=$(DEFFILE)
       
    28 SUPPORT_FREEZE:=1
       
    29 
    21 
    30 # Determine what kind of entrypoint option to set
    22 # Determine what kind of entrypoint option to set
    31 LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/evar.lib
    23 LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/evar.lib
    32 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Dll $(LINKER_ENTRYPOINT_DECORATION)$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/evar.lib$(LINKER_ENTRYPOINT_ADORNMENT))
    24 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Dll $(LINKER_ENTRYPOINT_DECORATION)$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/evar.lib$(LINKER_ENTRYPOINT_ADORNMENT))
    33 
    25 
    53 AUTOEXPORTS:=VariantInitialise,1;
    45 AUTOEXPORTS:=VariantInitialise,1;
    54 
    46 
    55 # No exception support for kernel code?
    47 # No exception support for kernel code?
    56 EXCEPTIONS:=$(NO_EXCEPTIONS)
    48 EXCEPTIONS:=$(NO_EXCEPTIONS)
    57 
    49 
    58 
    50 # Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file
       
    51 ifneq ($(DEFFILEKEYWORD),)
       
    52 POSTLINKDEFFILE:=$(DEFFILE)
       
    53 SUPPORT_FREEZE:=1
       
    54 ifeq ($(NOEXPORTLIBRARY),)
       
    55 IMPORTLIBRARYREQUIRED:=1
       
    56 endif
       
    57 endif
    59 
    58 
    60 # We are appending to CDEFS but we don't want this to affect
    59 # We are appending to CDEFS but we don't want this to affect
    61 # other invocations so we are going to save it on a stack
    60 # other invocations so we are going to save it on a stack
    62 # and restore it afterwards
    61 # and restore it afterwards
    63 $(call vsave,CDEFS SYSTEMINCLUDE)
    62 $(call vsave,CDEFS SYSTEMINCLUDE)