PACKAGE_TARNAME = @PACKAGE_TARNAME@
exec_prefix = @exec_prefix@
prefix = @prefix@
datarootdir = @datarootdir@
datadir = ../../..
testlibdir = $(datadir)/testlib
validationlibdir = $(datadir)/validation_tests
INCLUDE = -I. -I@includedir@ -I$(datadir) -I$(testlibdir) -I$(validationlibdir)
LIBDIR  = @libdir@
LIBRARY = @LIBRARY@
SHLIB   = @SHLIB@
PAPILIB = $(datadir)/@LINKLIB@
TESTLIB = $(testlibdir)/libtestlib.a
LDFLAGS = @LDFLAGS@ @LDL@
CC	= @CC@
F77	= @F77@
CC_R	= @CC_R@
CFLAGS	= @CFLAGS@
OPTFLAGS= @OPTFLAGS@
TOPTFLAGS= @TOPTFLAGS@
OMPCFLGS = @OMPCFLGS@
UTILOBJS = $(TESTLIB)

tests: $(NAME)_tests

install:
	@echo "$(NAME) tests (DATADIR) being installed in: \"$(DATADIR)\""; 
	mkdir -p $(DATADIR)/$(NAME)/tests
	chmod go+rx $(DATADIR)
	chmod go+rx $(DATADIR)/$(NAME)/tests
	find . -perm -100 -type f -exec cp {} $(DATADIR)/$(NAME)/tests \;
	chmod go+rx $(DATADIR)/$(NAME)/*
	find . -name "*.[ch]" -type f -exec cp {} $(DATADIR)/$(NAME)/tests \;
	cp Makefile $(DATADIR)/$(NAME)/tests
	cp ../../Makefile_comp_tests $(DATADIR)


