summaryrefslogtreecommitdiff
path: root/X.org/xcb/Makefile
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2023-04-06 10:37:20 +0300
committerkx <kx@radix.pro>2023-04-06 10:37:20 +0300
commitb8d9de0a8bff1b815a7f84df279cb608fe2e962b (patch)
treec75b996eff63441033ecc07383a5efc3cab9b856 /X.org/xcb/Makefile
parentcbda8cd8fcffd037f28be2d043a05bef12db485a (diff)
downloadsources-b8d9de0a8bff1b815a7f84df279cb608fe2e962b.tar.xz
X.org
Diffstat (limited to 'X.org/xcb/Makefile')
-rw-r--r--X.org/xcb/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/X.org/xcb/Makefile b/X.org/xcb/Makefile
new file mode 100644
index 0000000..093852d
--- /dev/null
+++ b/X.org/xcb/Makefile
@@ -0,0 +1,34 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := libpthread-stubs \
+ libxcb \
+ xcb-proto \
+ xcb-util \
+ xcb-util-cursor \
+ xcb-util-errors \
+ xcb-util-image \
+ xcb-util-keysyms \
+ xcb-util-renderutil \
+ xcb-util-wm \
+ xpyb
+
+
+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