diff -r b719d614d652 -r 3d05ccc51d1a sbsv2/raptor/lib/flm/e32abiv2var.flm --- a/sbsv2/raptor/lib/flm/e32abiv2var.flm Mon Feb 15 15:17:20 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2var.flm Wed Feb 17 12:58:38 2010 +0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +# Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of the License "Eclipse Public License v1.0" @@ -19,14 +19,6 @@ ifeq ($(TARGETTYPE),var) include $(FLMHOME)/e32abiv2defaults.mk -# What we need to build a DLL -# May need a dso e.g. ecust.dll -ifeq ($(NOEXPORTLIBRARY),) -IMPORTLIBRARYREQUIRED:=1 -endif -POSTLINKDEFFILE:=$(DEFFILE) -SUPPORT_FREEZE:=1 - # Determine what kind of entrypoint option to set LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/evar.lib LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Dll $(LINKER_ENTRYPOINT_DECORATION)$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/evar.lib$(LINKER_ENTRYPOINT_ADORNMENT)) @@ -55,7 +47,14 @@ # No exception support for kernel code? EXCEPTIONS:=$(NO_EXCEPTIONS) - +# Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file +ifneq ($(DEFFILEKEYWORD),) +POSTLINKDEFFILE:=$(DEFFILE) +SUPPORT_FREEZE:=1 +ifeq ($(NOEXPORTLIBRARY),) +IMPORTLIBRARYREQUIRED:=1 +endif +endif # We are appending to CDEFS but we don't want this to affect # other invocations so we are going to save it on a stack