-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.mk
76 lines (55 loc) · 2.2 KB
/
project.mk
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
################################################################
# project name
################################################################
# This name is used for the distribution tar file.
project_name := shell
install_prefix := $(install_prefix)/shell
################################################################
# modules -- list of directories in which to search
# for module.mk include files
################################################################
# Caution: The order in which modules are declares is important, since
# it is also used in linking. The object/library file for the
# *caller* must precede the object/library file for the *callee* for
# successful linking.
################
# programs
################
modules += programs/radialutils programs/relutils programs/h2utils
modules += programs/obutils
# legacy programs -- DEPRECATED
##modules += programs/h2utils_legacy
################
# libraries
################
modules += contrib/Daejeon16
modules += libraries/relative libraries/moshinsky
modules += libraries/tbme libraries/obme libraries/density libraries/analytic
modules += libraries/quadrature
# legacy libraries -- DEPRECATED
##modules += libraries/no libraries/legacy
# additional libraries -- cloned as submodule
modules += libraries/basis # ordering note: basis depends on am and mcutils
modules += libraries/am libraries/mcutils libraries/spline libraries/fmt
################################################################
# extras -- list of extra files to be included
# in distribution tar file
################################################################
extras :=
################################################################
# additional project-specific make settings and rules
################################################################
# contrib
src_library_dir += ./libraries ./contrib
# gsl
LDLIBS += -lgsl
LDLIBS += -lgslcblas
CPPFLAGS += -DHAVE_INLINE
# compile git information into executables
CPPFLAGS += -D'VCS_REVISION="$(vcs-git)"'
# basis submodule
# map vs. hash for space lookup in basis library
CPPFLAGS += -DBASIS_HASH
# spline submodule
# disable integration routines requiring later versions of gsl
CPPFLAGS += -DSPLINE_NO_FANCY_INTEGRATION