|
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 pdl ABIv2 Function Like Makefile (FLM) |
|
15 # Build an e32 pdl (Printer Device) |
|
16 # |
|
17 # |
|
18 |
|
19 ifeq ($(TARGETTYPE),pdl) |
|
20 include $(FLMHOME)/e32abiv2defaults.mk |
|
21 |
|
22 # What we need to build a Printer Device |
|
23 CANHAVEEXPORTS:=1 |
|
24 POSTLINKTARGETTYPE:=PDL |
|
25 POSTLINKFILETYPE:=pdl |
|
26 DOPOSTLINK:=1 |
|
27 AUTOEXPORTS:=_Z17NewPrinterDeviceLv,1; |
|
28 |
|
29 # Determine what kind of entrypoint option to set |
|
30 LINKER_ENTRYPOINT_LIBDEP:=$(STATIC_RUNTIME_DIR)/edll.lib |
|
31 LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRY_OPTION) _E32Dll $(LINKER_ENTRYPOINT_DECORATION) $(call dblquote,$(STATIC_RUNTIME_DIR)/edll.lib$(LINKER_ENTRYPOINT_ADORNMENT)) |
|
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 BASELIBS:= |
|
42 UID2:=10003b1c |
|
43 RESOURCEPATH:=Resource\Printers |
|
44 |
|
45 # We are appending to CDEFS but we don't want this to affect |
|
46 # other invocations so we are going to save it on a stack |
|
47 # and restore it afterwards |
|
48 $(call vsave,CDEFS) |
|
49 CDEFS:=$(CDEFS) __DLL__ |
|
50 include $(FLMHOME)/e32abiv2.flm |
|
51 $(call vrestore) |
|
52 |
|
53 else |
|
54 $(error $e32abiv2pdl.flm called with wrong TARGETTYPE (should be 'pdl' but is '$(TARGETTYPE)')) |
|
55 endif |
|
56 |