Radix cross Linux 3pp sources

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

343 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2023-04-06 10:05:53 +0300 committer: kx <kx@radix.pro> 2023-04-06 10:05:53 +0300 commit: b722b8551379ebe35e3e6d47a10f2b24d48269d9 parent: c66a32050916ffe56531b9f3a515f824c02a7ec3
Commit Summary:
Wayland
Diffstat:
1 file changed, 20 insertions, 0 deletions
diff --git a/Wayland/Makefile b/Wayland/Makefile
new file mode 100644
index 0000000..855ddb3
--- /dev/null
+++ b/Wayland/Makefile
@@ -0,0 +1,27 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := wayland           \
+           wayland-protocols \
+           wayland-utils     \
+           weston
+
+
+all-recursive downloads_clean-recursive:
+	@set fnord $(MAKEFLAGS); amf=$$2; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  local_target="$$target"; \
+	  (cd $$subdir && $(MAKE) $$fnord $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done; test -z "$$fail"
+
+all: all-recursive
+
+downloads_clean: downloads_clean-recursive
+
+.PHONY: all-recursive downloads_clean-recursive all downloads_clean