File: Makefile.am

package info (click to toggle)
lhapdf 5.8.7%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 18,096 kB
  • sloc: fortran: 55,662; sh: 10,220; cpp: 2,033; ansic: 612; python: 488; makefile: 426
file content (54 lines) | stat: -rw-r--r-- 2,010 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
EXTRA_DIST = pdf-plot.py pdf-ratio-plot.py

AM_FCFLAGS = $(FCFLAGS)
AM_LDFLAGS = $(top_builddir)/lib/libLHAPDF.la $(FCLIBS)

noinst_PROGRAMS = lhapdf-example1 lhapdf-example2 lhapdf-example3 lhapdf-example7 lhapdf-example8 lhapdf-example9
lhapdf_example1_SOURCES = Example1.f
lhapdf_example2_SOURCES = Example2.f
lhapdf_example3_SOURCES = Example3.f
lhapdf_example7_SOURCES = Example7.f
lhapdf_example8_SOURCES = Example8.f
lhapdf_example9_SOURCES = Example9.f

TESTS_ENVIRONMENT = LHAPATH=$(top_srcdir)/PDFsets
TESTS = lhapdf-example1
# lhapdf-example2 lhapdf-example3

EXTRA_DIST += Example4.f Example5.f Example6.f
if ENABLE_LHAGLUE
noinst_PROGRAMS += lhapdf-example4 lhapdf-example5 lhapdf-example6
lhapdf_example4_SOURCES = Example4.f
lhapdf_example5_SOURCES = Example5.f
lhapdf_example6_SOURCES = Example6.f
TESTS += lhapdf-example4
endif

EXTRA_DIST += CCTest1.cc CCTest2.cc CCTest3.cc CCTest4.cc CCTest5.cc
if ENABLE_CCWRAP
noinst_PROGRAMS += lhapdf-cctest1 lhapdf-cctest2 lhapdf-cctest3 lhapdf-cctest4 lhapdf-cctest5 
lhapdf_cctest1_SOURCES = CCTest1.cc
lhapdf_cctest2_SOURCES = CCTest2.cc
lhapdf_cctest3_SOURCES = CCTest3.cc
lhapdf_cctest4_SOURCES = CCTest4.cc
lhapdf_cctest5_SOURCES = CCTest5.cc
TESTS += lhapdf-cctest1
#lhapdf-cctest2 lhapdf-cctest3 lhapdf-cctest4 lhapdf-cctest5
endif

check-full:
	if test -x lhapdf-example1; then ./lhapdf-example1; fi
	if test -x lhapdf-example2; then ./lhapdf-example2; fi
	if test -x lhapdf-example3; then ./lhapdf-example3; fi
	if test -x lhapdf-example4; then ./lhapdf-example4; fi
	if test -x lhapdf-example5; then ./lhapdf-example5; fi
	if test -x lhapdf-example6; then ./lhapdf-example6; fi
	if test -x lhapdf-example7; then ./lhapdf-example7; fi
	if test -x lhapdf-example8; then ./lhapdf-example8; fi
	if test -x lhapdf-cctest1; then ./lhapdf-cctest1; fi
	if test -x lhapdf-cctest2; then ./lhapdf-cctest2; fi
	if test -x lhapdf-cctest3; then ./lhapdf-cctest3; fi
	if test -x lhapdf-cctest4; then ./lhapdf-cctest4; fi

clean-local:
	-rm -f *.large.grid