293
|
1 |
# Copyright (c) 2009-2010 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".
|
0
|
7 |
#
|
293
|
8 |
# Initial Contributors:
|
|
9 |
# Nokia Corporation - initial contribution.
|
|
10 |
#
|
|
11 |
# Contributors:
|
|
12 |
#
|
|
13 |
# Description:
|
|
14 |
# f32test/loader/ldrtst.flm
|
0
|
15 |
#
|
|
16 |
|
|
17 |
GDIR:=gen
|
|
18 |
|
|
19 |
SRC:=dllt.h dllt.cpp dllt.cia dlltifc.h exet.cpp exetifc.h \
|
|
20 |
exetifc.cpp t_ldrtst.h t_ldrtst.cpp t_ldrtst2.cpp t_ldrtst.mmp t_sfhash.cpp t_hash.h
|
|
21 |
|
|
22 |
SOURCE_FILES:=$(addprefix $(TO_BLDINF)/,$(SRC))
|
|
23 |
DEST_FILES:=$(addprefix $(TO_BLDINF)/$(GDIR)/,$(SRC))
|
|
24 |
|
|
25 |
|
|
26 |
define ldrtest_buildcode
|
|
27 |
# Use guard to ensure only generate and build the source once
|
|
28 |
ifeq ($(f32test_loader_dlltree_$(call sanitise,$(PROJECT_META))),)
|
|
29 |
f32test_loader_dlltree_$(call sanitise,$(PROJECT_META)):=1
|
|
30 |
|
|
31 |
$(DEST_FILES): $(TO_BLDINF)/$(GDIR)/% : $(TO_BLDINF)/% $(TO_BLDINF)/$(GDIR)/generated
|
|
32 |
cp -u $$(filter-out %generated,$$^) $$@
|
|
33 |
|
|
34 |
$(TO_BLDINF)/$(GDIR)/generated: $(TO_BLDINF)/dlltree.pl $(TO_BLDINF)/dlltree.txt
|
148
|
35 |
perl $(TO_BLDINF)/dlltree.pl $(TO_BLDINF)/dlltree.txt $(TO_BLDINF)/$(GDIR) raptor
|
0
|
36 |
touch $$@
|
|
37 |
endif
|
|
38 |
|
|
39 |
ALL :: $(DEST_FILES) $(TO_BLDINF)/$(GDIR)/generated
|
|
40 |
$(SBS_HOME)/bin/sbs -b $(TO_BLDINF)/$(GDIR)/dlltree.inf -m $(EPOCBLD)/f32test_loader_dlltree.mk -f $(EPOCBLD)/f32test_loader_dlltree.log -c $(SBS_CONFIGURATION)
|
|
41 |
|
|
42 |
endef
|
|
43 |
|
|
44 |
$(eval $(ldrtest_buildcode))
|
|
45 |
|