diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 09:06:59 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-23 09:06:59 +0200 |
commit | 4ea2cc3bd4a7d9b1c54a9d33e6a1cf82e7c8c21d (patch) | |
tree | d2e54377d14d604356c86862a326f64ae64dadd6 /plugins/Makefile |
Imported Upstream version 0.18.1upstream/0.18.1
Diffstat (limited to 'plugins/Makefile')
-rw-r--r-- | plugins/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
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;) + |