author | Stefan Karlsson <stefan.karlsson@nokia.com> |
Mon, 15 Mar 2010 11:38:03 +0000 | |
branch | wip |
changeset 367 | 28419e56ee8a |
parent 3 | e1eecf4d390d |
child 368 | 113d720d5a6c |
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 |
# ARMv5 LIB ABIv2 Function Like Makefile (FLM) |
|
15 |
# Build an e32 static library |
|
16 |
# |
|
17 |
# |
|
18 |
||
19 |
ifeq ($(TARGETTYPE),implib) |
|
20 |
include $(FLMHOME)/e32abiv2defaults.mk |
|
21 |
||
22 |
# What we need to build an import library |
|
23 |
POSTLINKFILETYPE:=dll |
|
24 |
# Determine what kind of entrypoint option to set |
|
25 |
IMPORTLIBRARYREQUIRED:=1 |
|
26 |
POSTLINKDEFFILE:=$(DEFFILE) |
|
27 |
SUPPORT_FREEZE:=1 |
|
28 |
||
29 |
# Import libraries are always built as .dso but |
|
30 |
# in their --linkas option they are meant to |
|
31 |
# "front" a dll. So: |
|
32 |
REQUESTEDTARGETEXT:=dll |
|
33 |
# if there is a LINKAS variable then this won't matter |
|
34 |
||
367
28419e56ee8a
Add support for MMP keyword EPOCNESTEDEXCEPTIONS
Stefan Karlsson <stefan.karlsson@nokia.com>
parents:
3
diff
changeset
|
35 |
STATIC_RUNTIME_LIB:= |
3 | 36 |
|
37 |
# We are appending to CDEFS but we don't want this to affect |
|
38 |
# other invocations so we are going to save it on a stack |
|
39 |
# and restore it afterwards |
|
40 |
$(call vsave,CDEFS) |
|
41 |
CDEFS:=$(CDEFS) __DLL__ |
|
42 |
include $(FLMHOME)/e32abiv2.flm |
|
43 |
$(call vrestore) |
|
44 |
||
45 |
else |
|
46 |
$(error $e32abiv2implib.flm called with wrong TARGETTYPE (should be 'implib' but is '$(TARGETTYPE)')) |
|
47 |
endif |