Debian Codegraph @

src/zsolve/Makefile.am

raw ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 # 4ti2 -- A software package for algebraic, geometric and combinatorial
2 # problems on linear spaces.
3 #
4 # Copyright (C) 2006 4ti2 team.
5 # Main author(s): Matthias Walter.
6 #
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License
9 # as published by the Free Software Foundation; either version 2
10 # of the License, or (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
21 bin_PROGRAMS = zsolve
22
23 lib_LTLIBRARIES = libzsolve.la
24
25 # Allow accessing zsolve's header files as "zsolve/HEADER.h"
26 AM_CXXFLAGS = -I$(srcdir)/..
27
28 # 4ti2 needs the next option to access maximum values of integer types.
29 AM_CXXFLAGS += -D__STDC_LIMIT_MACROS
30 # The optimisation flags.
31 #AM_CXXFLAGS += -DNDEBUG
32 # Uncomment the next line for debugging.
33 #AM_CXXFLAGS += -g
34 # Uncomment the next line for profiling.
35 #AM_CXXFLAGS += -pg
36
37 libzsolvesources = \
38 4ti2API.cpp \
39 BitSet.cpp \
40 Timer.cpp \
41 Options.cpp \
42 RelAPI.cpp \
43 SignAPI.cpp
44
45 zsolveincludedir = $(includedir)/zsolve
46
47 zsolveinclude_HEADERS = \
48 Integer.h \
49 BitSet.h \
50 Vector.hpp \
51 VectorArray.hpp \
52 Variables.hpp \
53 Relation.hpp \
54 LinearSystem.hpp \
55 Lattice.hpp \
56 Algorithm.hpp \
57 Controller.hpp \
58 DefaultController.hpp \
59 Norms.hpp \
60 Options.h \
61 Timer.h \
62 Exception.h \
63 Heuristics.hpp \
64 zsolve.h \
65 VectorArrayAPI.hpp \
66 BoundAPI.hpp \
67 RelAPI.h \
68 SignAPI.h \
69 ZSolveAPI.hpp \
70 HilbertAPI.hpp \
71 GraverAPI.hpp
72
73 zsolvesources = \
74 main.cpp
75
76 #noinst_HEADERS =
77
78 libzsolve_la_SOURCES = $(libzsolvesources)
79 zsolve_SOURCES = $(zsolvesources)
80 zsolve_LDADD = libzsolve.la
81 libzsolve_la_CPPFLAGS =
82 zsolve_CPPFLAGS =
83 if HAVE_GMP_WITH_CXX
84 libzsolve_la_CPPFLAGS += ${GMP_CFLAGS}
85 zsolve_CPPFLAGS += ${GMP_CFLAGS}
86 zsolve_LDADD += ${GMP_LIBS}
87 endif
88 # Link in the "common" 4ti2 functions.
89 # -no-undefined declares that no undefined symbols will remain after linking all these libraries.
90 # (This is necessary to build shared libraries on Cygwin.)
91 libzsolve_la_LDFLAGS = -L../4ti2 -R$(libdir) -l4ti2common ${GMP_LIBS} -no-undefined
92
93 bin_SCRIPTS = hilbert graver
94 DISTCLEANFILES = hilbert graver
95
96 EXTRA_DIST = hilbert.template graver.template
97
98 hilbert: hilbert.template
99 $(install_sh) -c -m 755 $< $@
100
101 graver: graver.template
102 $(install_sh) -c -m 755 $< $@