diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /qa/pmdas/GNUmakefile.install | |
download | pcp-debian.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/pmdas/GNUmakefile.install')
-rw-r--r-- | qa/pmdas/GNUmakefile.install | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/qa/pmdas/GNUmakefile.install b/qa/pmdas/GNUmakefile.install new file mode 100644 index 0000000..bd16ec2 --- /dev/null +++ b/qa/pmdas/GNUmakefile.install @@ -0,0 +1,40 @@ +#!gmake +# +# Copyright (c) 2012 Red Hat. +# Copyright (c) 2010 Aconex. All Rights Reserved. +# + +ifdef PCP_CONF +include $(PCP_CONF) +else +include $(PCP_DIR)/etc/pcp.conf +endif +PATH = $(shell . $(PCP_DIR)/etc/pcp.env; echo $$PATH) +include $(PCP_INC_DIR)/builddefs + +# special variant of SUBDIRS_MAKERULE for running QA in the tree +# +SUBDIRS_MAKERULE = \ + @for d in `echo $^ `; do \ + if test -d "$$d" ; then \ + $(ECHO) === $$d ===; \ + if test -f "$$d/GNUmakefile.install"; then \ + $(MAKE) -C $$d -f GNUmakefile.install $@ || exit $$?; \ + else \ + $(MAKE) -C $$d $@ || exit $$?; \ + fi; \ + fi; \ + done + +SUBDIRS = broken bigun dynamic slow slow_python + +default default_pcp: $(SUBDIRS) + $(SUBDIRS_MAKERULE) + +setup: $(SUBDIRS) + $(SUBDIRS_MAKERULE) + +install install_pcp: $(SUBDIRS) + $(SUBDIRS_MAKERULE) + +include $(BUILDRULES) |