File: Makefile.am

package info (click to toggle)
normaliz 3.9.4%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 27,624 kB
  • sloc: cpp: 39,173; makefile: 2,008; python: 715; sh: 6
file content (127 lines) | stat: -rw-r--r-- 3,337 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
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
117
118
119
120
121
122
123
124
125
126
127
EXTRA_DIST =

AM_CPPFLAGS = -I$(top_srcdir)/source
AM_CXXFLAGS = -Wall -pedantic -Wno-unknown-pragmas -Wno-sign-compare 
AM_CXXFLAGS += $(OPENMP_CXXFLAGS)
AM_LDFLAGS = -Wl,-s


LIBS += $(COCOA_LIBS)
LIBS += $(E_ANTIC_LIBS)
LIBS += $(FLINT_LIBS)
LIBS += $(NAUTY_LIBS)
LIBS += $(GMP_LIBS)


# Installed library, shared and/or static (using libtool).
lib_LTLIBRARIES = libnormaliz.la

# Installed headers
nobase_include_HEADERS = \
  libnormaliz/automorph.h \
  libnormaliz/cone_property.h \
  libnormaliz/cone.h \
  libnormaliz/descent.h \
  libnormaliz/dynamic_bitset.h \
  libnormaliz/general.h \
  libnormaliz/HilbertSeries.h \
  libnormaliz/input.h \
  libnormaliz/input_type.h \
  libnormaliz/integer.h \
  libnormaliz/libnormaliz.h \
  libnormaliz/list_and_map_operations.h \
  libnormaliz/matrix.h \
  libnormaliz/my_omp.h \
  libnormaliz/nmz_config.h \
  libnormaliz/nmz_integrate.h \
  libnormaliz/nmz_nauty.h \
  libnormaliz/normaliz_exception.h \
  libnormaliz/options.h \
  libnormaliz/output.h \
  libnormaliz/sublattice_representation.h \
  libnormaliz/vector_operations.h \
  libnormaliz/version.h

# Sources
libnormaliz_la_SOURCES = \
  libnormaliz/automorph.cpp \
  libnormaliz/chunk.cpp \
  libnormaliz/collection.cpp \
  libnormaliz/cone_dual_mode.cpp \
  libnormaliz/cone_property.cpp \
  libnormaliz/cone.cpp \
  libnormaliz/descent.cpp \
  libnormaliz/face_lattice.cpp \
  libnormaliz/full_cone.cpp \
  libnormaliz/general.cpp \
  libnormaliz/HilbertSeries.cpp \
  libnormaliz/input.cpp \
  libnormaliz/matrix.cpp \
  libnormaliz/nmz_integral.cpp \
  libnormaliz/nmz_nauty.cpp \
  libnormaliz/nmz_hash.cpp \
  libnormaliz/offload_handler.cpp \
  libnormaliz/options.cpp \
  libnormaliz/output.cpp \
  libnormaliz/project_and_lift.cpp \
  libnormaliz/reduction.cpp \
  libnormaliz/signed_dec.cpp \
  libnormaliz/simplex.cpp \
  libnormaliz/sublattice_representation.cpp


# Other headers (not installed)
noinst_HEADERS = \
  libnormaliz/chunk.h \
  libnormaliz/cone_dual_mode.h \
  libnormaliz/face_lattice.h \
  libnormaliz/full_cone.h \
  libnormaliz/nmz_hash.h \
  libnormaliz/offload_handler.h \
  libnormaliz/options.h \
  libnormaliz/project_and_lift.h \
  libnormaliz/reduction.h \
  libnormaliz/signed_dec.h \
  libnormaliz/simplex.h \
  libnormaliz/collection.h

libnormaliz_la_LDFLAGS = -no-undefined -version-info 12:4:9
## Conjecture: x.y.z yields x-z.z.y
#libnormaliz_la_LIBADD = $(GMP_LIBS)

# Binary.
bin_PROGRAMS = normaliz

normaliz_SOURCES = normaliz.cpp
normaliz_LDADD = libnormaliz.la

# Uninstalled binary maxsimplex
noinst_PROGRAMS = maxsimplex/maxsimplex
maxsimplex_maxsimplex_SOURCES = maxsimplex/maxsimplex.cpp
maxsimplex_maxsimplex_LDADD = libnormaliz.la

# Uninstalled binary dynamic
noinst_PROGRAMS += dynamic/dynamic
dynamic_dynamic_SOURCES = dynamic/dynamic.cpp
dynamic_dynamic_LDADD = libnormaliz.la

EXTRA_DIST += dynamic/dynamic.cpp
EXTRA_DIST += dynamic/second.mat
EXTRA_DIST += dynamic/third.mat

## Other things that go into the distribution:


# Plain old build system
EXTRA_DIST += Makefile.classic Makefile.configuration libnormaliz/Makefile.classic 

# The classic makefile creates this file, which can confuse automake builds
CLEANFILES = normaliz.o

# Documentation

EXTRA_DIST += libnormaliz/README

EXTRA_DIST += outerpar/outerpar.cpp
EXTRA_DIST += outerpar/small_gens.mat