forked from igmhub/cosmo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
116 lines (96 loc) · 4.14 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# add path to boost.m4
ACLOCAL_AMFLAGS = -I .
# global compile and link options
AM_CPPFLAGS = $(BOOST_CPPFLAGS)
# targets to build and install
lib_LTLIBRARIES = libcosmo.la
bin_PROGRAMS = cosmocalc cosmo3d cosmogrf cosmostack cosmoxi cosmomock \
cosmotrans cosmoatrans cosmodpc cosmodpcfft
# extra targets that should not be installed
noinst_PROGRAMS = cosmotest
# targets that contain unit tests
#check_PROGRAMS =
# add our pkgconfig file to the install target
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = cosmo.pc
# any library dependencies not already added by configure can be added here
#libcosmo_la_LIBADD =
# instructions for building the library
libcosmo_la_SOURCES = \
cosmo/AbsHomogeneousUniverse.cc \
cosmo/HomogeneousUniverseCalculator.cc \
cosmo/LambdaCdmUniverse.cc \
cosmo/LambdaCdmRadiationUniverse.cc \
cosmo/BaryonPerturbations.cc \
cosmo/BroadbandPower.cc \
cosmo/TabulatedPower.cc \
cosmo/TransferFunctionPowerSpectrum.cc \
cosmo/PowerSpectrumCorrelationFunction.cc \
cosmo/RsdCorrelationFunction.cc \
cosmo/OneDimensionalPowerSpectrum.cc \
cosmo/AbsGaussianRandomFieldGenerator.cc \
cosmo/FftGaussianRandomFieldGenerator.cc \
cosmo/TestFftGaussianRandomFieldGenerator.cc \
cosmo/MultipoleTransform.cc \
cosmo/AdaptiveMultipoleTransform.cc \
cosmo/DistortedPowerCorrelation.cc \
cosmo/DistortedPowerCorrelationFft.cc
# library headers to install (nobase prefix preserves any subdirectories)
# Anything that includes config.h should *not* be listed here.
# and is not part of the package public API.
nobase_include_HEADERS = \
cosmo/cosmo.h \
cosmo/types.h \
cosmo/RuntimeError.h \
cosmo/AbsHomogeneousUniverse.h \
cosmo/HomogeneousUniverseCalculator.h \
cosmo/LambdaCdmUniverse.h \
cosmo/LambdaCdmRadiationUniverse.h \
cosmo/BaryonPerturbations.h \
cosmo/BroadbandPower.h \
cosmo/TabulatedPower.h \
cosmo/TransferFunctionPowerSpectrum.h \
cosmo/PowerSpectrumCorrelationFunction.h \
cosmo/RsdCorrelationFunction.h \
cosmo/OneDimensionalPowerSpectrum.h \
cosmo/AbsGaussianRandomFieldGenerator.h \
cosmo/FftGaussianRandomFieldGenerator.h \
cosmo/TestFftGaussianRandomFieldGenerator.h \
cosmo/MultipoleTransform.h \
cosmo/AdaptiveMultipoleTransform.h \
cosmo/DistortedPowerCorrelation.h \
cosmo/DistortedPowerCorrelationFft.h
# instructions for building each program
cosmocalc_SOURCES = src/cosmocalc.cc
cosmocalc_DEPENDENCIES = $(lib_LIBRARIES)
cosmocalc_LDADD = libcosmo.la $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS)
cosmo3d_SOURCES = src/cosmo3d.cc
cosmo3d_DEPENDENCIES = $(lib_LIBRARIES)
cosmo3d_LDADD = libcosmo.la $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS)
cosmotest_SOURCES = src/cosmotest.cc
cosmotest_DEPENDENCIES = $(lib_LIBRARIES)
cosmotest_LDADD = libcosmo.la $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS)
cosmogrf_SOURCES = src/cosmogrf.cc
cosmogrf_DEPENDENCIES = $(lib_LIBRARIES)
cosmogrf_LDADD = libcosmo.la $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS)
cosmostack_SOURCES = src/cosmostack.cc
cosmostack_DEPENDENCIES = $(lib_LIBRARIES)
cosmostack_LDADD = libcosmo.la $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS)
cosmoxi_SOURCES = src/cosmoxi.cc
cosmoxi_DEPENDENCIES = $(lib_LIBRARIES)
cosmoxi_LDADD = libcosmo.la $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS)
cosmomock_SOURCES = src/cosmomock.cc
cosmomock_DEPENDENCIES = $(lib_LIBRARIES)
cosmomock_LDADD = libcosmo.la $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS)
cosmotrans_SOURCES = src/cosmotrans.cc
cosmotrans_DEPENDENCIES = $(lib_LIBRARIES)
cosmotrans_LDADD = libcosmo.la $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS)
cosmoatrans_SOURCES = src/cosmoatrans.cc
cosmoatrans_DEPENDENCIES = $(lib_LIBRARIES)
cosmoatrans_LDADD = libcosmo.la $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS)
cosmodpc_SOURCES = src/cosmodpc.cc
cosmodpc_DEPENDENCIES = $(lib_LIBRARIES)
cosmodpc_LDADD = libcosmo.la $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS)
cosmodpcfft_SOURCES = src/cosmodpcfft.cc
cosmodpcfft_DEPENDENCIES = $(lib_LIBRARIES)
cosmodpcfft_LDADD = libcosmo.la $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS)