3 # Copyright (c) 1997-2002 Silicon Graphics, Inc. All Rights Reserved.
5 # NB: this file is renamed GNUmakefile upon installation into $PCP_VAR_DIR/testsuite.
6 # It is only for executing the testsuite.
11 include $(PCP_DIR)/etc/pcp.conf
13 PATH = $(shell . $(PCP_DIR)/etc/pcp.env; echo $$PATH)
14 include $(PCP_INC_DIR)/builddefs
16 SUBDIRS = src pmdas cisco gluster pconf sadist collectl nfsclient \
17 archives views qt linux unbound cifs gpfs lustre ganglia \
18 postfix perl json slurm tmparch
19 ifeq "$(PMDA_PERFEVENT)" "true"
22 ifeq "$(HAVE_PYTHON)" "true"
26 default default_pcp setup: $(SUBDIRS) localconfig new remake check qa_hosts
27 $(QA_SUBDIRS_MAKERULE)
29 LDIRT += 051.work 134.full.* \
30 *.bak *.bad *.core *.full *.notrun *.raw *.o core a.out core.* \
31 *.log eek* urk* so_locations tmp.* gmon.out oss.qa.tar.gz \
32 *.full.ok *.new rc_cron_check.clean \
33 make.out qa_hosts localconfig localconfig.h check.time
34 # these ones are links to the real files created when the associated
36 LDIRT += $(shell [ -f .gitignore ] && grep '\.out$$' .gitignore)
38 qa_hosts: qa_hosts.master mk.qa_hosts
39 PATH=$(PATH); ./mk.qa_hosts
42 PATH=$(PATH); ./mk.localconfig
45 @echo The PCP QA testsuite is already installed.