Update contrib.
2 # Copyright (c) 2009 Nokia Ltd. All rights reserved.
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
10 SOURCE_FILES:=$(addprefix $(TO_BLDINF)/,$(SRC))
11 DEST_FILES:=$(addprefix $(TO_BLDINF)/$(GDIR)/,$(SRC))
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
19 $(DEST_FILES): $(TO_BLDINF)/$(GDIR)/% : $(TO_BLDINF)/% $(TO_BLDINF)/$(GDIR)/generated
20 cp -u $$(filter-out %generated,$$^) $$@
22 $(TO_BLDINF)/$(GDIR)/generated: $(TO_BLDINF)/dlltree.pl $(TO_BLDINF)/dlltree.txt
23 perl $(TO_BLDINF)/dlltree.pl $(TO_BLDINF)/dlltree.txt $(TO_BLDINF)/$(GDIR)
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)
32 $(eval $(ldrtest_buildcode))