author | timothy.murphy@nokia.com |
Thu, 25 Mar 2010 13:43:28 +0000 | |
branch | fix |
changeset 408 | a819f9223567 |
parent 29 | ee00c00df073 |
permissions | -rw-r--r-- |
3 | 1 |
# Copyright (c) 2006-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 |
# Function-Like Makefile to build a TOOLS2 LIB with gcc |
|
15 |
# |
|
16 |
# |
|
17 |
||
18 |
## Outputs - externally relevant targets that this FLM generates |
|
19 |
LIBTARGET:=$(RELEASEPATH)/$(TARGET).a |
|
20 |
||
21 |
## Target groups |
|
29
ee00c00df073
Catchup to Perforce WIP with timing, python24
timothy.murphy@nokia.com
parents:
3
diff
changeset
|
22 |
RELEASABLES:=$(LIBTARGET) |
3 | 23 |
TARGETS:=$(LIBTARGET) |
24 |
||
25 |
## Common build steps (compiling) |
|
26 |
include $(FLMHOME)/tools2common.flm |
|
27 |
||
28 |
## Create library archive |
|
29 |
# get OBJECTFILES from tools2common |
|
30 |
define tools2lib |
|
31 |
$(LIBTARGET): $(OBJECTFILES) |
|
32 |
$(call startrule,tools2lib) \ |
|
33 |
$(ARCHIVER) $(AFLAGS) $(LIBTARGET) $(OBJECTFILES) && \ |
|
34 |
$(RANLIB) $(LIBTARGET) \ |
|
35 |
$(if $(SAVESPACE),; $(GNURM) -rf $(OUTPUTPATH); true,) \ |
|
36 |
$(call endrule,tools2lib) |
|
37 |
||
38 |
endef |
|
39 |
||
40 |
$(eval $(call tools2lib)) |
|
41 |
||
42 |
## Global target |
|
43 |
LIBRARY:: $(LIBTARGET) |
|
44 |
||
45 |
## The End |