3
|
1 |
#
|
|
2 |
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
# All rights reserved.
|
|
4 |
# This component and the accompanying materials are made available
|
|
5 |
# under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
# which accompanies this distribution, and is available
|
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
#
|
|
9 |
# Initial Contributors:
|
|
10 |
# Nokia Corporation - initial contribution.
|
|
11 |
#
|
|
12 |
# Contributors:
|
|
13 |
#
|
|
14 |
# Description:
|
|
15 |
#
|
|
16 |
##
|
|
17 |
## Test 1 - build an ARM E32 EXE on Linux
|
|
18 |
## parameters relevant to the test.
|
|
19 |
##
|
|
20 |
|
|
21 |
|
|
22 |
## Purpose:
|
|
23 |
## to demonstrate use of 1 call to a basic flm with two input files
|
|
24 |
## postconditions:
|
|
25 |
## test2.exe is written to the output directory $OUTPUTPATH/test2/test2.exe
|
|
26 |
## test1.o and test2.o are generated in $OUTPUTPATH/test1/test1.o and $OUTPUTPATH/test2/test2.exe
|
|
27 |
|
|
28 |
|
|
29 |
# Pull tools
|
|
30 |
include $(FLMHOME)/flmtools.mk
|
|
31 |
|
|
32 |
$(call vsave,OUTPUTPATH SOURCEPATH CDEFS SYSTEMINCLUDE)
|
|
33 |
# Pull in defaults for building test executables
|
|
34 |
include $(FLMTESTHOME)/exeabiv2_defaults.mk
|
|
35 |
|
|
36 |
|
|
37 |
TARGET:=exeabiv2_2
|
|
38 |
CDEFS:=$(CDEFS) __TESTNAME__=\"exeabiv2_2\"
|
|
39 |
OUTPUTPATH:=$(OUTPUTPATH)/$(TARGET)
|
|
40 |
SOURCEPATH:=$(SOURCEPATH)/exeabiv2_2
|
|
41 |
SOURCEFILES:=$(SOURCEPATH)/test.cpp $(SOURCEPATH)/test_function.cpp
|
|
42 |
SYSTEMINCLUDE:=$(SYSTEMINCLUDE) $(FLMTESTHOME)/include
|
|
43 |
UID3:=0x000002
|
|
44 |
|
|
45 |
include $(FLMHOME)/$(FLM)
|
|
46 |
|
|
47 |
$(call vrestore)
|