#!gmake # # Copyright (c) 1997-2002 Silicon Graphics, Inc. All Rights Reserved. # # NB: this GNUmakefile is only for use from within the PCP build tree. It governs # only the packaging of the testsuite into the $PCP_VAR_DIR/testsuite directory. # The nearby GNUmakefile.install file actually governs execution of the testsuite. TOPDIR = .. include $(TOPDIR)/src/include/builddefs -include ./GNUlocaldefs TESTDIR = $(PCP_VAR_DIR)/testsuite TESTS = $(shell sed -n -e '/^[0-9]/s/:retired//' -e '/^[0-9]/s/:reserved//' -e '/^[0-9]/s/[ ].*//' -e '/^[0-9]/p' qa_outfiles qa_hosts: qa_hosts.master mk.qa_hosts ./mk.qa_hosts localconfig: @echo PCP_PLATFORM=$(PCP_PLATFORM) > localconfig ./mk.pcpversion $(PCP_VERSION) >> localconfig @echo 'PCP_EOE_VER=0' >> localconfig @echo 'PCP_PRO_VER=0' >> localconfig install_pcp install: $(SUBDIRS) ifeq (, $(filter mingw darwin solaris, $(TARGET_OS))) $(INSTALL) -m 755 -d $(TESTDIR) $(INSTALL) -m 755 $(TESTS) $(SCRIPTS) $(COMMON_SCRIPTS) $(TESTDIR) $(INSTALL) -m 644 $(COMMON) $(OTHERS) $(TESTDIR) $(INSTALL) -m 644 GNUmakefile.install $(TESTDIR)/GNUmakefile $(INSTALL) -m 644 qa_outfiles $(DOTOUTFILES) $(TESTDIR) $(SUBDIRS_MAKERULE) endif include $(BUILDRULES) debug-me: @echo TESTS=$(TESTS) @echo SRCFILES=$(SRCFILES) @echo CONFFILES=$(CONFFILES) @echo SUBDIRS=$(SUBDIRS)