blob: c6220631bef2fe8ee7eca0468b36451eff76687c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;)
|