File: Makefile.am

package info (click to toggle)
sollya 6.0+ds-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,376 kB
  • ctags: 5,132
  • sloc: ansic: 120,010; yacc: 8,738; lex: 2,494; makefile: 854; cpp: 76
file content (177 lines) | stat: -rw-r--r-- 3,331 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
SUBDIRS = tests-tool tests-lib
DIST_SUBDIRS = $(SUBDIRS) doc
EXTRA_DIST = externalfun.c externalproc.c sollya.h2m sollya.1 sollya.map

AM_YFLAGS = -d
AM_LFLAGS = -o$(LEX_OUTPUT_ROOT).c

# The following line is added to follow a suggestion from libtoolize.
ACLOCAL_AMFLAGS = -I m4

BUILT_SOURCES = \
miniparser.h \
parser.h \
internparser.h \
lexer.c \
minilexer.c \
internlexer.c

include_HEADERS = sollya.h sollya-messages.h

lib_LTLIBRARIES = libsollya.la

libsollya_la_LT_INFO = -version-info 6:0:0

libsollya_la_LD_VERSION_SCRIPT =
if HAVE_LD_VERSION_SCRIPT
  libsollya_la_LD_VERSION_SCRIPT += -Wl,--version-script=$(top_srcdir)/sollya.map
endif


libsollya_la_SOURCES = \
sollya.h \
mpfi-compat.h \
mpfi-compat.c \
hash.c \
hash.h \
hooks.c \
hooks.h \
polynomials.c \
polynomials.h \
sollya-library-wrappers.c \
sollya-library-wrappers.h \
sollya-messaging.h \
sollya-messages.h \
sollya-messaging.c \
bitfields.h \
bitfields.c \
printf.c \
printf.h \
internparser.y \
miniparser.y \
parser.y \
internlexer.l \
lexer.l \
minilexer.l \
help.h \
version.h \
assignment.c \
assignment.h \
autodiff.c \
autodiff.h \
chain.c \
chain.h \
double.c \
double.h \
execute.c \
execute.h \
expression.c \
expression.h \
external.c \
external.h \
general.c \
general.h \
signalhandling.c \
signalhandling.h \
implement.c \
implement.h \
implementconst.c \
implementconst.h \
infnorm.c \
infnorm.h \
integral.c \
integral.h \
library.c \
library.h \
plot.c \
plot.h \
proof.c \
proof.h \
fplll_wrapper.cpp \
fplll_wrapper.h \
fpminimax.c \
fpminimax.h \
remez.c \
remez.h \
match.c \
match.h \
taylorform.c \
taylorform.h \
chebyshevform.c \
chebyshevform.h \
chebyshevformaux.c \
chebyshevformaux.h \
supnorm.c \
supnorm.h \
sturm.c \
sturm.h \
taylor.c \
taylor.h \
worstcase.c \
worstcase.h \
xml.c \
xml.h

bin_PROGRAMS = sollya
sollya_SOURCES = main.c

sollya_LDADD = $(lib_LTLIBRARIES)

libsollya_la_LDFLAGS = \
	$(libsollya_la_LT_INFO) \
	$(libsollya_la_LD_VERSION_SCRIPT) \
	$(AM_LDFLAGS)

check-lib: $(BUILT_SOURCES)
	@fail= failcom='exit 1'; \
	for f in x $$MAKEFLAGS; do \
	  case $$f in \
	    *=* | --[!k]*);; \
	    *k*) failcom='fail=yes';; \
	  esac; \
	done; \
	echo "Making check in tests-lib"; \
	($(am__cd) tests-lib && $(MAKE) $(AM_MAKEFLAGS) check) \
	|| eval $$failcom; \
	$(MAKE) $(AM_MAKEFLAGS) check-am || exit 1; \
	test -z "$$fail"

check-tool: $(BUILT_SOURCES)
	@fail= failcom='exit 1'; \
	for f in x $$MAKEFLAGS; do \
	  case $$f in \
	    *=* | --[!k]*);; \
	    *k*) failcom='fail=yes';; \
	  esac; \
	done; \
	echo "Making check in tests-tool"; \
	($(am__cd) tests-tool && $(MAKE) $(AM_MAKEFLAGS) check) \
	|| eval $$failcom; \
	$(MAKE) $(AM_MAKEFLAGS) check-am || exit 1; \
	test -z "$$fail"

man_MANS = sollya.1

if HAVE_HELP2MAN

AM_H2MFLAGS = \
	--locale=C.UTF-8 \
	--libtool \
	--no-info

# Short descriptions for manpages
sollya_DESCRIPTION =  "tool environment for safe floating-point code development -- command-line interface"

sollyaman_verbose = $(sollyaman_verbose_@AM_V@)
sollyaman_verbose_ = $(sollyaman_verbose_@AM_DEFAULT_V@)
sollyaman_verbose_0 = @echo "  H2M      "$@;

sollya.1: sollya sollya.h2m
	 $(sollyaman_verbose) SOLLYA_BANNER_OFF=YES $(HELP2MAN) \
			-s 1 \
			$(AM_H2MFLAGS) \
			-I $(top_srcdir)/sollya.h2m \
			-n $(sollya_DESCRIPTION) \
			-o $@ \
		$(top_builddir)/$<
endif