Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

343 Commits   0 Branches   0 Tags
cbda8cd8 (kx 2023-04-06 10:27:37 +0300  1) 
cbda8cd8 (kx 2023-04-06 10:27:37 +0300  2) #
cbda8cd8 (kx 2023-04-06 10:27:37 +0300  3) # Following command helps to cheate SUBDIRS list:
cbda8cd8 (kx 2023-04-06 10:27:37 +0300  4) # $ tree -fid .
cbda8cd8 (kx 2023-04-06 10:27:37 +0300  5) #
cbda8cd8 (kx 2023-04-06 10:27:37 +0300  6) 
cbda8cd8 (kx 2023-04-06 10:27:37 +0300  7) SUBDIRS := synopsys
cbda8cd8 (kx 2023-04-06 10:27:37 +0300  8) 
cbda8cd8 (kx 2023-04-06 10:27:37 +0300  9) 
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 10) all-recursive downloads_clean-recursive:
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 11) 	@set fnord $(MAKEFLAGS); amf=$$2; \
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 12) 	target=`echo $@ | sed s/-recursive//`; \
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 13) 	list='$(SUBDIRS)'; for subdir in $$list; do \
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 14) 	  echo "Making $$target in $$subdir"; \
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 15) 	  local_target="$$target"; \
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 16) 	  (cd $$subdir && $(MAKE) $$fnord $$local_target) \
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 17) 	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 18) 	done; test -z "$$fail"
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 19) 
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 20) all: all-recursive
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 21) 
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 22) downloads_clean: downloads_clean-recursive
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 23) 
cbda8cd8 (kx 2023-04-06 10:27:37 +0300 24) .PHONY: all-recursive downloads_clean-recursive all downloads_clean