-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile-libs.am
125 lines (93 loc) · 3.75 KB
/
Makefile-libs.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
117
118
119
120
121
122
123
124
125
# libtool convenience library for libmpa
noinst_LTLIBRARIES += libmpa.la
libmpa_la_SOURCES = libs/libmpa/ptr_array.h libs/libmpa/ptr_array.c
libmpa_la_CPPFLAGS = -I$(top_srcdir)/libs/libmpa
EXTRA_DIST += libs/libmpa/LICENSE libs/libmpa/tester.c
# libtool convenience library for libtommath
noinst_LTLIBRARIES += libtommath.la
headers = libs/libtommath/tommath.h \
libs/libtommath/tommath_class.h \
libs/libtommath/tommath_superclass.h
libtommath_la_SOURCES = libs/libtommath/mpi.c $(headers)
libtommath_la_CFLAGS = $(TOMMATH_CFLAGS)
libtommath_la_CPPFLAGS = $(TOMMATH_CFLAGS) -I$(top_srcdir)/libs/libtommath
noinst_PROGRAMS += libs/libtommath/test
libs_libtommath_test_SOURCES = libs/libtommath/tests/test.c
libs_libtommath_test_CFLAGS = $(TOMMATH_CFLAGS)
libs_libtommath_test_CPPFLAGS = $(TOMMATH_CFLAGS) -I$(top_srcdir)/libs/libtommath
libs_libtommath_test_LDADD = libtommath.la
EXTRA_DIST += libs/libtommath/tests/timing.c
# libtool convenience library for optparse
noinst_LTLIBRARIES += liboptparse.la
liboptparse_la_SOURCES = libs/optparse/optparse.c libs/optparse/optparse.h
liboptparse_la_CPPFLAGS = -I$(top_srcdir)/libs/optparse
liboptparse_la_CFLAGS = $(WARN_CFLAGS)
EXTRA_DIST += $(top_srcdir)/libs/optparse/fudd.c \
$(top_srcdir)/libs/optparse/notpython.c \
$(top_srcdir)/libs/optparse/optparse.tex \
$(top_srcdir)/libs/optparse/Makefile.bak
# libtool convenience library for libgdtoa
noinst_LTLIBRARIES += libgdtoa.la
libgdtoa_la_SOURCES = \
libs/libgdtoa/dmisc.c \
libs/libgdtoa/dtoa.c \
libs/libgdtoa/g_Qfmt.c \
libs/libgdtoa/g__fmt.c \
libs/libgdtoa/g_ddfmt.c \
libs/libgdtoa/g_dfmt.c \
libs/libgdtoa/g_ffmt.c \
libs/libgdtoa/g_xLfmt.c \
libs/libgdtoa/g_xfmt.c \
libs/libgdtoa/gdtoa.c \
libs/libgdtoa/gethex.c \
libs/libgdtoa/gmisc.c \
libs/libgdtoa/hd_init.c \
libs/libgdtoa/hexnan.c \
libs/libgdtoa/misc.c \
libs/libgdtoa/smisc.c \
libs/libgdtoa/strtoIQ.c \
libs/libgdtoa/strtoId.c \
libs/libgdtoa/strtoIdd.c \
libs/libgdtoa/strtoIf.c \
libs/libgdtoa/strtoIg.c \
libs/libgdtoa/strtoIx.c \
libs/libgdtoa/strtoIxL.c \
libs/libgdtoa/strtod.c \
libs/libgdtoa/strtodI.c \
libs/libgdtoa/strtodg.c \
libs/libgdtoa/strtof.c \
libs/libgdtoa/strtopQ.c \
libs/libgdtoa/strtopd.c \
libs/libgdtoa/strtopdd.c \
libs/libgdtoa/strtopf.c \
libs/libgdtoa/strtopx.c \
libs/libgdtoa/strtopxL.c \
libs/libgdtoa/strtorQ.c \
libs/libgdtoa/strtord.c \
libs/libgdtoa/strtordd.c \
libs/libgdtoa/strtorf.c \
libs/libgdtoa/strtorx.c \
libs/libgdtoa/strtorxL.c \
libs/libgdtoa/sum.c \
libs/libgdtoa/ulp.c \
libs/libgdtoa/gdtoa.h \
libs/libgdtoa/gdtoaimp.h
gd_builddir = $(top_builddir)/libs/libgdtoa
gd_srcdir = $(top_srcdir)/libs/libgdtoa
gd_arith_header = $(gd_builddir)/arith.h
gd_qnan_header = $(gd_builddir)/gd_qnan.h
BUILT_SOURCES += $(gd_arith_header) $(gd_qnan_header)
CLEANFILES += $(gd_arith_header) $(gd_qnan_header)
$(gd_arith_header): $(gd_srcdir)/arithchk.c
$(CC) $(GDTOA_CFLAGS) -I$(top_srcdir)/libs/libgdtoa $(gd_srcdir)/arithchk.c -o $(gd_builddir)/genhdr \
|| $(CC) -I$(top_srcdir)/libs/libgdtoa -DNO_LONG_LONG $(GDTOA_CFLAGS) $(gd_srcdir)/arithchk.c -o $(top_builddir)/genhdr
$(gd_builddir)/genhdr > $(gd_arith_header)
rm -f $(gd_builddir)/genhdr $(gd_builddir)/arithchk.o
$(gd_qnan_header): $(gd_arith_header) $(gd_srcdir)/qnan.c
$(CC) $(GDTOA_CFLAGS) -I$(top_srcdir)/libs/libgdtoa -I$(top_builddir)/libs/libgdtoa $(gd_srcdir)/qnan.c \
-o $(gd_builddir)/genhdr
$(gd_builddir)/genhdr > $(gd_qnan_header)
rm -f $(gd_builddir)/genhdr $(gd_builddir)/qnan.o
libgdtoa_la_CFLAGS = $(GDTOA_CFLAGS)
libgdtoa_la_CPPFLAGS = -I$(top_srcdir)/libs/libgdtoa -I$(top_builddir)/libs/libgdtoa
EXTRA_DIST += libs/libgdtoa/test libs/libgdtoa/arithchk.c libs/libgdtoa/qnan.c