blob: a1c3424f793769d439fbca35d9d50ba86a889407 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
#!gmake
#
# Copyright (c) 1997-2002 Silicon Graphics, Inc. All Rights Reserved.
#
# NB: this file is renamed GNUmakefile upon installation into $PCP_VAR_DIR/testsuite.
# It is only for executing the testsuite.
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 = src pmdas secure
default_pcp default setup: $(SUBDIRS) localconfig new remake check qa_hosts
$(SUBDIRS_MAKERULE)
LDIRT += 051.work 134.full.* \
*.bak *.bad *.core *.full *.raw *.o core a.out core.* \
*.log eek* urk* so_locations tmp.* gmon.out oss.qa.tar.gz \
*.full.ok *.new rc_cron_check.clean \
make.out qa_hosts localconfig localconfig.h check.time
# these ones are links to the real files created when the associated
# test is run
LDIRT += $(shell [ -f .gitignore ] && grep '\.out$$' .gitignore)
qa_hosts: qa_hosts.master mk.qa_hosts
PATH=$(PATH); ./mk.qa_hosts
localconfig:
PATH=$(PATH); ./mk.localconfig
install_pcp install:
@echo The PCP QA testsuite is already installed.
false
include $(BUILDRULES)
# Local variables:
# mode: makefile
# End:
|