From 4ea2cc3bd4a7d9b1c54a9d33e6a1cf82e7c8c21d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 23 Jul 2014 09:06:59 +0200 Subject: Imported Upstream version 0.18.1 --- plugins/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 plugins/Makefile (limited to 'plugins/Makefile') diff --git a/plugins/Makefile b/plugins/Makefile new file mode 100644 index 0000000..c622063 --- /dev/null +++ b/plugins/Makefile @@ -0,0 +1,33 @@ + +include plugins.mk + +DIST_FILES := \ + Makefile \ + Makefile.plugin.mk \ + plugins.mk + +.PHONY: all +all: $(ALL_PLUGINS) + +.PHONY: $(ALL_PLUGINS) +$(ALL_PLUGINS): + @$(MAKE) --directory=$@ PLUGINS_VERSION="$(PLUGINS_VERSION)" USER_VALAFLAGS="$(USER_VALAFLAGS)" \ + PLUGIN_CFLAGS="$(PLUGIN_CFLAGS)" + +.PHONY: clean +clean: + $(foreach plugin,$(ALL_PLUGINS),$(MAKE) --directory=$(plugin) clean;) + +.PHONY: cleantemps +cleantemps: + $(foreach plugin,$(ALL_PLUGINS),$(MAKE) --directory=$(plugin) cleantemps;) + +.PHONY: distclean +distclean: + $(foreach plugin,$(ALL_PLUGINS),$(MAKE) --directory=$(plugin) distclean;) + +.PHONY: listfiles +listfiles: + @printf "$(foreach file,$(DIST_FILES), plugins/$(file)) " + @$(foreach plugin,$(ALL_PLUGINS),$(MAKE) --directory=$(plugin) --no-print-directory listfiles;) + -- cgit v1.2.3