2992f3e0 (kx 2023-04-06 10:43:27 +0300 1)
2992f3e0 (kx 2023-04-06 10:43:27 +0300 2) #
2992f3e0 (kx 2023-04-06 10:43:27 +0300 3) # Following command helps to cheate SUBDIRS list:
2992f3e0 (kx 2023-04-06 10:43:27 +0300 4) # $ tree -fid .
2992f3e0 (kx 2023-04-06 10:43:27 +0300 5) #
2992f3e0 (kx 2023-04-06 10:43:27 +0300 6)
d688523c (kx 2023-05-31 23:43:13 +0300 7) SUBDIRS := ccache \
d688523c (kx 2023-05-31 23:43:13 +0300 8) check \
c704b3ba (kx 2023-04-07 10:41:29 +0300 9) cmake \
c704b3ba (kx 2023-04-07 10:41:29 +0300 10) flex \
c704b3ba (kx 2023-04-07 10:41:29 +0300 11) git \
c704b3ba (kx 2023-04-07 10:41:29 +0300 12) intltool \
c704b3ba (kx 2023-04-07 10:41:29 +0300 13) llvm \
c704b3ba (kx 2023-04-07 10:41:29 +0300 14) mercurial \
c704b3ba (kx 2023-04-07 10:41:29 +0300 15) meson \
c704b3ba (kx 2023-04-07 10:41:29 +0300 16) ninja \
c704b3ba (kx 2023-04-07 10:41:29 +0300 17) orc \
c704b3ba (kx 2023-04-07 10:41:29 +0300 18) perl \
c704b3ba (kx 2023-04-07 10:41:29 +0300 19) perl-cross \
c704b3ba (kx 2023-04-07 10:41:29 +0300 20) perl-modules \
c704b3ba (kx 2023-04-07 10:41:29 +0300 21) pike \
c704b3ba (kx 2023-04-07 10:41:29 +0300 22) pkg-config \
c704b3ba (kx 2023-04-07 10:41:29 +0300 23) python-modules \
c704b3ba (kx 2023-04-07 10:41:29 +0300 24) python2 \
c704b3ba (kx 2023-04-07 10:41:29 +0300 25) python2-doc \
c704b3ba (kx 2023-04-07 10:41:29 +0300 26) python3 \
63c35171 (kx 2023-04-07 11:06:18 +0300 27) python3-doc \
63c35171 (kx 2023-04-07 11:06:18 +0300 28) qt-creator \
63c35171 (kx 2023-04-07 11:06:18 +0300 29) re2c \
63c35171 (kx 2023-04-07 11:06:18 +0300 30) ruby \
63c35171 (kx 2023-04-07 11:06:18 +0300 31) subversion \
44cf90d3 (kx 2023-05-25 10:35:50 +0300 32) swig \
44cf90d3 (kx 2023-05-25 10:35:50 +0300 33) unifdef
2992f3e0 (kx 2023-04-06 10:43:27 +0300 34)
2992f3e0 (kx 2023-04-06 10:43:27 +0300 35)
2992f3e0 (kx 2023-04-06 10:43:27 +0300 36) all-recursive downloads_clean-recursive:
2992f3e0 (kx 2023-04-06 10:43:27 +0300 37) @set fnord $(MAKEFLAGS); amf=$$2; \
2992f3e0 (kx 2023-04-06 10:43:27 +0300 38) target=`echo $@ | sed s/-recursive//`; \
2992f3e0 (kx 2023-04-06 10:43:27 +0300 39) list='$(SUBDIRS)'; for subdir in $$list; do \
2992f3e0 (kx 2023-04-06 10:43:27 +0300 40) echo "Making $$target in $$subdir"; \
2992f3e0 (kx 2023-04-06 10:43:27 +0300 41) local_target="$$target"; \
2992f3e0 (kx 2023-04-06 10:43:27 +0300 42) (cd $$subdir && $(MAKE) $$fnord $$local_target) \
2992f3e0 (kx 2023-04-06 10:43:27 +0300 43) || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
2992f3e0 (kx 2023-04-06 10:43:27 +0300 44) done; test -z "$$fail"
2992f3e0 (kx 2023-04-06 10:43:27 +0300 45)
2992f3e0 (kx 2023-04-06 10:43:27 +0300 46) all: all-recursive
2992f3e0 (kx 2023-04-06 10:43:27 +0300 47)
2992f3e0 (kx 2023-04-06 10:43:27 +0300 48) downloads_clean: downloads_clean-recursive
2992f3e0 (kx 2023-04-06 10:43:27 +0300 49)
2992f3e0 (kx 2023-04-06 10:43:27 +0300 50) .PHONY: all-recursive downloads_clean-recursive all downloads_clean