Debian Codegraph @

Makefile

raw symbols SCIP
1 PLUGINS := $(strip $(shell find . -mindepth 2 -maxdepth 2 -name Makefile -printf '%h '))
2
3 ifeq ($(wildcard /etc/debian_version),/etc/debian_version)
4 HOST_ARCH := $(strip $(shell dpkg-architecture -q DEB_HOST_ARCH))
5 else
6 ifeq ($(wildcard /usr/bin/rpm),/usr/bin/rpm)
7 HOST_ARCH := $(strip $(shell rpm --eval '%{_arch}'))
8 endif
9 endif
10
11 ifeq ($(HOST_ARCH),$(filter $(HOST_ARCH),hurd-i386))
12 PLUGINS := $(filter-out check_memcached check_varnish,$(PLUGINS))
13 endif
14 ifeq ($(HOST_ARCH),$(filter $(HOST_ARCH),arm64))
15 PLUGINS := $(filter-out check_memcached,$(PLUGINS))
16 endif
17 ifeq ($(HOST_ARCH),$(filter $(HOST_ARCH),m68k))
18 PLUGINS := $(filter-out check_varnish,$(PLUGINS))
19 endif
20
21
22 default: all
23
24 $(PLUGINS)::
25 $(MAKE) -C $@ $(MAKECMDGOALS)
26
27 all clean install : $(PLUGINS)