1 # Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 # Copyright (c) 2007-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". |
26 POSTLINKFILETYPE:=exe |
26 POSTLINKFILETYPE:=exe |
27 DOPOSTLINK:=1 |
27 DOPOSTLINK:=1 |
28 # Determine what kind of entrypoint option to set |
28 # Determine what kind of entrypoint option to set |
29 LINKER_STUB_LIBRARY:= |
29 LINKER_STUB_LIBRARY:= |
30 LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/eexe.lib |
30 LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/eexe.lib |
31 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION) _E32Startup $(LINKER_ENTRYPOINT_DECORATION) $(call dblquote,$(STATIC_RUNTIME_DIR)/eexe.lib$(LINKER_ENTRYPOINT_ADORNMENT)) |
31 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Startup $(LINKER_ENTRYPOINT_DECORATION)$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/eexe.lib$(LINKER_ENTRYPOINT_ADORNMENT)) |
32 DEFAULT_NEWLIB:=$(DEFAULT_STDCPP_NEWLIB) |
32 DEFAULT_NEWLIB:=$(DEFAULT_STDCPP_NEWLIB) |
33 |
33 |
34 ifeq ("$(NEED_ENTRYPOINT_LIBRARY)","True") |
34 ifeq ("$(NEED_ENTRYPOINT_LIBRARY)","True") |
35 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRYPOINT_SETTING) $(LINKER_ENTRYPOINT_LIBDEP) |
35 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRYPOINT_SETTING) $(LINKER_ENTRYPOINT_LIBDEP) |
36 endif |
36 endif |
37 |
37 |
38 STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) |
38 ifeq ($(EPOCNESTEDEXCEPTIONS),) |
|
39 STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) |
|
40 else |
|
41 STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB_NESTED_EXCEPTIONS) |
|
42 endif |
|
43 |
39 NAMEDSYMLKUP:=1 |
44 NAMEDSYMLKUP:=1 |
40 LIBRARY:=$(LIBRARY) euser.dso |
45 LIBRARY:=$(LIBRARY) euser.dso |
41 |
|
42 MAKEDEFFILE:= |
|
43 |
46 |
44 $(call vsave,CDEFS SYSTEMINCLUDE STATICLIBRARY) |
47 $(call vsave,CDEFS SYSTEMINCLUDE STATICLIBRARY) |
45 |
48 |
46 # STDEXEs need the c runtime library |
49 # STDEXEs need the c runtime library |
47 ifneq ($(WCHARENTRYPOINT),) |
50 ifneq ($(WCHARENTRYPOINT),) |