File: Makefile_comp_tests.target.in

package info (click to toggle)
papi 5.7.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,856 kB
  • sloc: ansic: 93,265; fortran: 3,338; xml: 2,460; makefile: 815; sh: 290
file content (37 lines) | stat: -rw-r--r-- 1,033 bytes parent folder | download
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
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)