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-07 07:48:17 +0300 committer: kx <kx@radix.pro> 2023-04-07 07:48:17 +0300 commit: 0e78a1d8d824f01cc3878b2884b1e008504a5063 parent: 210fa86eda7822356cd0950e597fb4721e227fe9
Commit Summary:
Linux PAM and others
Diffstat:
1 file changed, 19 insertions, 0 deletions
diff --git a/packages/s/Makefile b/packages/s/Makefile
new file mode 100644
index 0000000..2ced929
--- /dev/null
+++ b/packages/s/Makefile
@@ -0,0 +1,26 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := Linux-PAM    \
+           libpwquality \
+           pam-redhat
+
+
+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