author | Mike Kinghan <mikek@symbian.org> |
Thu, 25 Nov 2010 14:35:45 +0000 | |
branch | GCC_SURGE |
changeset 305 | 1ba12ef4ef89 |
parent 200 | 73ea206103e6 |
child 257 | 3e88ff8f41d5 |
child 293 | 0659d0e1a03c |
permissions | -rw-r--r-- |
0 | 1 |
# |
2 |
# Copyright (c) 2009 Nokia Ltd. All rights reserved. |
|
3 |
# |
|
4 |
||
5 |
GDIR:=gen |
|
6 |
||
7 |
SRC:=dllt.h dllt.cpp dllt.cia dlltifc.h exet.cpp exetifc.h \ |
|
8 |
exetifc.cpp t_ldrtst.h t_ldrtst.cpp t_ldrtst2.cpp t_ldrtst.mmp t_sfhash.cpp t_hash.h |
|
9 |
||
10 |
SOURCE_FILES:=$(addprefix $(TO_BLDINF)/,$(SRC)) |
|
11 |
DEST_FILES:=$(addprefix $(TO_BLDINF)/$(GDIR)/,$(SRC)) |
|
12 |
||
13 |
||
14 |
define ldrtest_buildcode |
|
15 |
# Use guard to ensure only generate and build the source once |
|
16 |
ifeq ($(f32test_loader_dlltree_$(call sanitise,$(PROJECT_META))),) |
|
17 |
f32test_loader_dlltree_$(call sanitise,$(PROJECT_META)):=1 |
|
18 |
||
19 |
$(DEST_FILES): $(TO_BLDINF)/$(GDIR)/% : $(TO_BLDINF)/% $(TO_BLDINF)/$(GDIR)/generated |
|
20 |
cp -u $$(filter-out %generated,$$^) $$@ |
|
21 |
||
22 |
$(TO_BLDINF)/$(GDIR)/generated: $(TO_BLDINF)/dlltree.pl $(TO_BLDINF)/dlltree.txt |
|
200
73ea206103e6
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
23 |
perl $(TO_BLDINF)/dlltree.pl $(TO_BLDINF)/dlltree.txt $(TO_BLDINF)/$(GDIR) raptor |
0 | 24 |
touch $$@ |
25 |
endif |
|
26 |
||
27 |
ALL :: $(DEST_FILES) $(TO_BLDINF)/$(GDIR)/generated |
|
28 |
$(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) |
|
29 |
||
30 |
endef |
|
31 |
||
32 |
$(eval $(ldrtest_buildcode)) |
|
33 |