1 # Misc useful definitions
3 space:= $(empty) $(empty)
6 # the point of this is to build the string e.g. H1=../bank/H1_bank.cache,L1=../bank/L1_bank.cache
7 BANK_CACHE_PREFIX = $(empty)
8 BANK_CACHE_SUFFIX = _split_bank.cache
9 BANK_CACHE_FILES = $(addsuffix $(BANK_CACHE_SUFFIX),$(IFOS))
10 BANK_CACHE_STRING:= $(addprefix $(BANK_CACHE_PREFIX),$(IFOS))
11 BANK_CACHE_STRING:= $(addprefix =,$(BANK_CACHE_STRING))
12 BANK_CACHE_STRING:= $(addsuffix $(BANK_CACHE_SUFFIX),$(BANK_CACHE_STRING))
13 BANK_CACHE_STRING:= $(join $(IFOS),$(BANK_CACHE_STRING))
14 BANK_CACHE_STRING:= $(strip $(BANK_CACHE_STRING))
15 BANK_CACHE_STRING:= $(subst $(space),$(comma),$(BANK_CACHE_STRING))
18 segments_suffix := _segmentspadded.xml
19 SEGMENTS_FILES := $(addsuffix $(segments_suffix),$(IFOS))
21 # Frame cache file names
22 frame_suffix := _frame.cache
23 FRAME_CACHE_FILES := $(addsuffix $(frame_suffix),$(IFOS))
25 # Injection file names
26 injections:=--injections $(space)
27 far_injections:=--far-injections $(space)
28 INJECTION_LIST := $(subst $(space), $(injections), $(INJECTIONS))
29 FAR_INJECTION_LIST := $(subst $(space), $(far_injections), $(FAR_INJECTIONS))