1 BUNDLES += http://planet-lab.eu:12345/@sfa-ple-reg
2 BUNDLES += http://planet-lab.eu:12346/@sfa-ple-am
3 BUNDLES += http://planet-lab.eu:12347/@sfa-ple-sa
4 BUNDLES += http://planet-lab.org:12345/@sfa-plc-reg
5 BUNDLES += http://planet-lab.org:12346/@sfa-plc-am
6 BUNDLES += http://planet-lab.org:12347/@sfa-plc-sa
7 BUNDLES += http://planet-lab.kr:12345/@sfa-ppk-reg
8 BUNDLES += http://planet-lab.kr:12346/@sfa-ppk-am
9 BUNDLES += http://planet-lab.kr:12347/@sfa-ppk-sa
10 BUNDLES += http://planet-lab.jp:12345/@sfa-plj-reg
11 BUNDLES += http://planet-lab.jp:12346/@sfa-plj-am
12 BUNDLES += http://planet-lab.jp:12347/@sfa-plj-sa
13 BUNDLES += http://geni-myvini.umkc.gpeni.net:12345/@sfa-gpeni-reg
14 BUNDLES += http://geni-myvini.umkc.gpeni.net:12346/@sfa-gpeni-am
15 BUNDLES += http://geni-myvini.umkc.gpeni.net:12347/@sfa-gpeni-sa
16 BUNDLES += http://198.248.241.100:12345/@sfa-glc-reg
17 BUNDLES += http://198.248.241.100:12346/@sfa-glc-am
18 BUNDLES += http://198.248.241.100:12347/@sfa-glc-sa
22 define bundle_scan_target
23 $(word 2,$(subst @, ,$(1))):
24 ./sfascan.py -e $(word 1,$(subst @, ,$(1))) $(foreach extension,$(EXTENSIONS),-o $(word 2,$(subst @, ,$(1))).$(extension)) >& $(word 2,$(subst @, ,$(1))).out
25 .PHONY: $(word 2,$(subst @, ,$(1)))
28 ALL := $(foreach bundle,$(BUNDLES),$(word 2,$(subst @, ,$(bundle))))
33 $(foreach bundle,$(BUNDLES),$(eval $(call bundle_scan_target,$(bundle))))
37 define bundle_version_target
38 $(word 2,$(subst @, ,$(1))).version:
39 ./sfi.py -s $(word 1,$(subst @, ,$(1))) version >& $$@
42 VERSIONS := $(foreach bundle,$(BUNDLES),$(word 2,$(subst @, ,$(bundle))).version)
49 $(foreach bundle,$(BUNDLES),$(eval $(call bundle_version_target,$(bundle))))
52 #################### convenience, for debugging only
53 # make +foo : prints the value of $(foo)
54 # make ++foo : idem but verbose, i.e. foo=$(foo)
55 ++%: varname=$(subst +,,$@)
57 @echo "$(varname)=$($(varname))"
58 +%: varname=$(subst +,,$@)