-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
32 lines (25 loc) · 1.44 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
AM_CXXFLAGS = $(LHAPDF_CXXFLAGS) $(ROOT_CXXFLAGS) $(APFEL_CXXFLAGS) $(APPLGRID_CXXFLAGS) $(SIMD_FLAGS) $(OPENMP_CFLAGS)
AM_CPPFLAGS = $(LHAPDF_CPPFLAGS) $(ROOT_CPPFLAGS) $(APFEL_CPPFLAGS) $(APPLGRID_CPPFLAGS) $(SIMD_FLAGS) $(OPENMP_CFLAGS)
AM_LDFLAGS = $(LHAPDF_LDFLAGS) $(ROOT_LDFLAGS) $(APFEL_LDFLAGS) $(APPLGRID_LDFLAGS) $(SIMD_FLAGS) $(OPENMP_CFLAGS)
CHECKLDFLAGS = -lAPFELgrid $(APFEL_LDFLAGS) $(LHAPDF_LDFLAGS) $(APPLGRID_LDFLAGS)
lib_LTLIBRARIES = libAPFELgrid.la
libAPFELgrid_la_SOURCES = src/APFELgrid.cc
libAPFELgrid_la_LDFLAGS = -version-info 0:0:0
libAPFELgrid_la_CXXFLAGS = $(AM_CXXFLAGS)
libAPFELgrid_la_CPPFLAGS = $(AM_CPPFLAGS)
check_PROGRAMS = example_gen example_conv
example_gen_SOURCES = tests/example_gen.cc
example_gen_CXXFLAGS = $(AM_CXXFLAGS) -I ./src
example_gen_CPPFLAGS = $(AM_CPPFLAGS) -I ./src
example_gen_LDFLAGS = $(CHECKLDFLAGS)
example_conv_SOURCES = tests/example_conv.cc
example_conv_CXXFLAGS = $(AM_CXXFLAGS) -I ./src
example_conv_CPPFLAGS = $(AM_CPPFLAGS) -I ./src
example_conv_LDFLAGS = $(CHECKLDFLAGS)
TESTS= tests/fetchTestData.sh $(check_PROGRAMS) tests/clearTestData.sh
EXTRA_DIST = src/APFELgrid/APFELgrid.h src/APFELgrid/transform.h tests/clearTestData.sh tests/fetchTestData.sh setup.sh
EXTRA_DIST += apfelgrid-config.in
bin_SCRIPTS = apfelgrid-config
PKGincludedir = $(includedir)/APFELgrid
PKGinclude_HEADERS = src/APFELgrid/APFELgrid.h src/APFELgrid/fastkernel.h src/APFELgrid/transform.h