sbsv2/raptor/lib/flm/e32abiv2plugin.flm
branchfix
changeset 274 c72bd1c6fd4e
parent 234 5350032783e4
child 367 28419e56ee8a
equal deleted inserted replaced
273:13a4a1d2ef17 274:c72bd1c6fd4e
    14 # ARMv5 EXE/DLL ABIv2 Function Like Makefile (FLM)
    14 # ARMv5 EXE/DLL ABIv2 Function Like Makefile (FLM)
    15 # Build an ECOM plugin
    15 # Build an ECOM plugin
    16 # 
    16 # 
    17 #
    17 #
    18 
    18 
    19 ifeq ($(TARGETTYPE),plugin)
    19 ifneq ($(filter plugin plugin3,$(TARGETTYPE)),)
    20 include $(FLMHOME)/e32abiv2defaults.mk
    20 include $(FLMHOME)/e32abiv2defaults.mk
    21 
    21 
    22 # Default Linker settings for this target type
    22 # Default Linker settings for this target type
    23 LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/edll.lib
    23 LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/edll.lib
    24 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Dll $(LINKER_ENTRYPOINT_DECORATION)$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/edll.lib$(LINKER_ENTRYPOINT_ADORNMENT))
    24 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Dll $(LINKER_ENTRYPOINT_DECORATION)$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/edll.lib$(LINKER_ENTRYPOINT_ADORNMENT))
    48 endif
    48 endif
    49 
    49 
    50 # We could check the UID rather than forcing it
    50 # We could check the UID rather than forcing it
    51 # but there seems to be no point in that.
    51 # but there seems to be no point in that.
    52 UID2:=10009D8D
    52 UID2:=10009D8D
       
    53 ifeq ($(TARGETTYPE),plugin3)
       
    54 UID2:=10009D93
       
    55 POSTLINKTARGETTYPE:=PLUGIN3
       
    56 endif
    53 
    57 
    54 
    58 
    55 RESOURCEPATH:=Resource/Plugins
    59 RESOURCEPATH:=Resource/Plugins
    56 
    60 
    57 # Use the general EABI FLM 
    61 # Use the general EABI FLM 
    62 CDEFS:=$(CDEFS) __DLL__
    66 CDEFS:=$(CDEFS) __DLL__
    63 include $(FLMHOME)/e32abiv2.flm
    67 include $(FLMHOME)/e32abiv2.flm
    64 $(call vrestore)
    68 $(call vrestore)
    65 
    69 
    66 else
    70 else
    67 $(error $e32abiv2plugin.flm called with wrong TARGETTYPE (should be 'plugin' but is '$(TARGETTYPE)'))
    71 $(error $e32abiv2plugin.flm called with wrong TARGETTYPE (should be 'plugin' or 'plugin3' but is '$(TARGETTYPE)'))
    68 endif
    72 endif