author | Iain Williamson <iain.williamson@nokia.com> |
Tue, 19 Jan 2010 19:32:36 +0000 | |
branch | fix |
changeset 164 | c597353e69c5 |
parent 34 | caba71c57a0f |
child 230 | 3d05ccc51d1a |
permissions | -rw-r--r-- |
3 | 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 |
# e32abiv2textnotifier.flm |
|
15 |
# ARMv5 EXE/DLL ABIv2 Function Like Makefile (FLM) |
|
16 |
# Build an e32 textnotifier DLL |
|
17 |
# |
|
18 |
# |
|
19 |
||
20 |
ifeq ($(TARGETTYPE),textnotifier2) |
|
21 |
include $(FLMHOME)/e32abiv2defaults.mk |
|
22 |
||
23 |
# What we need to build a DLL |
|
24 |
CANHAVEEXPORTS:=1 |
|
25 |
POSTLINKTARGETTYPE:=TEXTNOTIFIER2 |
|
26 |
POSTLINKFILETYPE:=dll |
|
27 |
DOPOSTLINK:=1 |
|
28 |
AUTOEXPORTS:=_Z13NotifierArrayv,1; |
|
29 |
# Determine what kind of entrypoint option to set |
|
30 |
LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/edll.lib |
|
34
caba71c57a0f
Remove spurious bracket that's causing failures in TEXTNOTIFIER2 ARM links.
jchatten
parents:
22
diff
changeset
|
31 |
LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION)=_E32Dll $(LINKER_ENTRYPOINT_DECORATION)$(LINKER_SEPARATOR)$(call dblquote,$(STATIC_RUNTIME_DIR)/edll.lib$(LINKER_ENTRYPOINT_ADORNMENT)) |
3 | 32 |
|
33 |
ifeq ("$(NEED_ENTRYPOINT_LIBRARY)","True") |
|
34 |
LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRYPOINT_SETTING) $(LINKER_ENTRYPOINT_LIBDEP) |
|
35 |
endif |
|
36 |
||
37 |
LINKER_STUB_LIBRARY:=$(STATIC_RUNTIME_DIR)/edllstub.lib |
|
38 |
STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) |
|
39 |
CANIGNORENONCALLABLE:=1 |
|
40 |
||
41 |
RESOURCEPATH:=System/Notifiers |
|
42 |
UID2:=101fe38b |
|
43 |
POSTLINKDEFFILE:=$(DEFFILE) |
|
44 |
SUPPORT_FREEZE:=1 |
|
45 |
||
46 |
# We are appending to CDEFS but we don't want this to affect |
|
47 |
# other invocations so we are going to save it on a stack |
|
48 |
# and restore it afterwards |
|
49 |
$(call vsave,CDEFS) |
|
50 |
CDEFS:=$(CDEFS) __DLL__ |
|
51 |
include $(FLMHOME)/e32abiv2.flm |
|
52 |
$(call vrestore) |
|
53 |
||
54 |
else |
|
55 |
$(error $e32abiv2textnotifier.flm called with wrong TARGETTYPE (should be 'textnotifier2' but is '$(TARGETTYPE)')) |
|
56 |
endif |
|
57 |