author: kx <kx@radix.pro> 2023-04-06 16:08:32 +0300
committer: kx <kx@radix.pro> 2023-04-06 16:08:32 +0300
commit: c9b87548f19c4323592abff0a86bc1dac45658f0
parent: 8d07317ed20e7544501edfcc9894d5002fd1771d
Commit Summary:
Diffstat:
1 file changed, 80 insertions, 0 deletions
diff --git a/GNU/Makefile b/GNU/Makefile
new file mode 100644
index 0000000..ca14d36
--- /dev/null
+++ b/GNU/Makefile
@@ -0,0 +1,87 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := a2ps \
+ acct \
+ aspell \
+ autoconf \
+ autoconf-archive \
+ automake \
+ bash \
+ bc \
+ binutils \
+ bison \
+ coreutils \
+ cpio \
+ ddrescue \
+ diffutils \
+ ed \
+ enscript \
+ findutils \
+ gawk \
+ gcc \
+ gdb \
+ gdbm \
+ gettext \
+ glibc \
+ gmp \
+ gperf \
+ grep \
+ groff \
+ grub \
+ gss \
+ guile \
+ gzip \
+ help2man \
+ inetutils \
+ less \
+ libiconv \
+ libidn \
+ libidn2 \
+ libtasn1 \
+ libtool \
+ libunistring \
+ m4 \
+ make \
+ make-savannah \
+ mpc \
+ mpfr \
+ mtools \
+ multiprecision \
+ ncurses \
+ patch \
+ pth \
+ readline \
+ screen \
+ sed \
+ sharutils \
+ shtool \
+ tar \
+ termcap \
+ termutils \
+ texinfo \
+ time \
+ uucp \
+ wget \
+ wget2 \
+ which
+
+
+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