#
# Copyright (c) 2012-2015,2017 Red Hat.
# Copyright (c) 2010 Aconex.  All Rights Reserved.
#

TOPDIR = ../..
include $(TOPDIR)/src/include/builddefs

TESTDIR = $(PCP_VAR_DIR)/testsuite/pmdas
SUBDIRS = broken bigun dynamic slow test_perl \
	  schizo github-56 whacko

ifeq "$(HAVE_PYTHON)" "true"
SUBDIRS += slow_python memory_python test_python
endif

default default_pcp: $(SUBDIRS)
	$(SUBDIRS_MAKERULE)

setup: $(SUBDIRS)
	$(SUBDIRS_MAKERULE)

install install_pcp: $(SUBDIRS)
	$(INSTALL) -m 755 -d $(TESTDIR)
	$(INSTALL) -m 644 -f GNUmakefile.install $(TESTDIR)/GNUmakefile
	$(SUBDIRS_MAKERULE)

include $(BUILDRULES)
