Mercurial > mxe-octave
comparison src/msvc-gsl-1.patch @ 3154:6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Fri, 19 Jul 2013 13:41:56 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3153:d1231b6c2b34 | 3154:6665f8a98e70 |
---|---|
1 diff -ur gsl-1.15-orig/Makefile.am gsl-1.15/Makefile.am | |
2 --- gsl-1.15-orig/Makefile.am 2011-04-14 11:13:48 -0400 | |
3 +++ gsl-1.15/Makefile.am 2013-07-19 12:41:26 -0400 | |
4 @@ -26,7 +26,7 @@ | |
5 MINGW32_HOST = @MINGW32_HOST@ | |
6 if MINGW32_HOST | |
7 libgsl_la_LIBADD += cblas/libgslcblas.la | |
8 -libgsl_la_LDFLAGS += -no-undefined | |
9 +libgsl_la_LDFLAGS += -no-undefined -export-symbols-regex "gsl_.*" | |
10 endif | |
11 | |
12 m4datadir = $(datadir)/aclocal | |
13 @@ -51,9 +51,9 @@ | |
14 | |
15 edit = $(SED) \ | |
16 -e 's|@prefix[@]|$(prefix)|g' \ | |
17 - -e 's|@exec_prefix[@]|$(exec_prefix)|g' \ | |
18 - -e 's|@libdir[@]|$(libdir)|g' \ | |
19 - -e 's|@includedir[@]|$(includedir)|g' \ | |
20 + -e 's|@exec_prefix[@]|$${prefix}|g' \ | |
21 + -e 's|@libdir[@]|$${exec_prefix}/lib|g' \ | |
22 + -e 's|@includedir[@]|$${prefix}/include|g' \ | |
23 -e 's|@GSL_CFLAGS[@]|$(GSL_CFLAGS)|g' \ | |
24 -e 's|@GSL_LIBM[@]|$(GSL_LIBM)|g' \ | |
25 -e 's|@GSL_LIBS[@]|$(GSL_LIBS)|g' \ | |
26 diff -ur gsl-1.15-orig/blas/Makefile.am gsl-1.15/blas/Makefile.am | |
27 --- gsl-1.15-orig/blas/Makefile.am 2010-12-26 12:57:08 -0500 | |
28 +++ gsl-1.15/blas/Makefile.am 2013-07-19 12:08:49 -0400 | |
29 @@ -5,6 +5,7 @@ | |
30 INCLUDES = -I$(top_srcdir) | |
31 | |
32 libgslblas_la_SOURCES = blas.c | |
33 +libgslblas_la_CPPFLAGS = -DBUILDING_GSL | |
34 | |
35 #check_PROGRAMS = test | |
36 #TESTS = test | |
37 diff -ur gsl-1.15-orig/block/Makefile.am gsl-1.15/block/Makefile.am | |
38 --- gsl-1.15-orig/block/Makefile.am 2010-12-26 12:57:08 -0500 | |
39 +++ gsl-1.15/block/Makefile.am 2013-07-19 12:08:49 -0400 | |
40 @@ -17,3 +17,4 @@ | |
41 noinst_HEADERS = block_source.c init_source.c fprintf_source.c fwrite_source.c test_complex_source.c test_source.c test_io.c test_complex_io.c | |
42 | |
43 libgslblock_la_SOURCES = init.c file.c block.c | |
44 +libgslblock_la_CPPFLAGS = -DBUILDING_GSL | |
45 diff -ur gsl-1.15-orig/bspline/Makefile.am gsl-1.15/bspline/Makefile.am | |
46 --- gsl-1.15-orig/bspline/Makefile.am 2010-12-26 12:57:08 -0500 | |
47 +++ gsl-1.15/bspline/Makefile.am 2013-07-19 12:08:49 -0400 | |
48 @@ -5,6 +5,7 @@ | |
49 INCLUDES = -I$(top_srcdir) | |
50 | |
51 libgslbspline_la_SOURCES = bspline.c | |
52 +libgslbspline_la_CPPFLAGS = -DBUILDING_GSL | |
53 | |
54 noinst_HEADERS = bspline.h | |
55 | |
56 diff -ur gsl-1.15-orig/cblas/Makefile.am gsl-1.15/cblas/Makefile.am | |
57 --- gsl-1.15-orig/cblas/Makefile.am 2010-12-26 12:57:08 -0500 | |
58 +++ gsl-1.15/cblas/Makefile.am 2013-07-19 12:08:49 -0400 | |
59 @@ -3,7 +3,7 @@ | |
60 | |
61 MINGW32_HOST = @MINGW32_HOST@ | |
62 if MINGW32_HOST | |
63 -libgslcblas_la_LDFLAGS += -no-undefined | |
64 +libgslcblas_la_LDFLAGS += -no-undefined -export-symbols-regex "cblas_.*" | |
65 endif | |
66 | |
67 pkginclude_HEADERS = gsl_cblas.h | |
68 @@ -11,6 +11,7 @@ | |
69 INCLUDES = -I$(top_srcdir) | |
70 | |
71 libgslcblas_la_SOURCES = sasum.c saxpy.c scasum.c scnrm2.c scopy.c sdot.c sdsdot.c sgbmv.c sgemm.c sgemv.c sger.c snrm2.c srot.c srotg.c srotm.c srotmg.c ssbmv.c sscal.c sspmv.c sspr.c sspr2.c sswap.c ssymm.c ssymv.c ssyr.c ssyr2.c ssyr2k.c ssyrk.c stbmv.c stbsv.c stpmv.c stpsv.c strmm.c strmv.c strsm.c strsv.c dasum.c daxpy.c dcopy.c ddot.c dgbmv.c dgemm.c dgemv.c dger.c dnrm2.c drot.c drotg.c drotm.c drotmg.c dsbmv.c dscal.c dsdot.c dspmv.c dspr.c dspr2.c dswap.c dsymm.c dsymv.c dsyr.c dsyr2.c dsyr2k.c dsyrk.c dtbmv.c dtbsv.c dtpmv.c dtpsv.c dtrmm.c dtrmv.c dtrsm.c dtrsv.c dzasum.c dznrm2.c caxpy.c ccopy.c cdotc_sub.c cdotu_sub.c cgbmv.c cgemm.c cgemv.c cgerc.c cgeru.c chbmv.c chemm.c chemv.c cher.c cher2.c cher2k.c cherk.c chpmv.c chpr.c chpr2.c cscal.c csscal.c cswap.c csymm.c csyr2k.c csyrk.c ctbmv.c ctbsv.c ctpmv.c ctpsv.c ctrmm.c ctrmv.c ctrsm.c ctrsv.c zaxpy.c zcopy.c zdotc_sub.c zdotu_sub.c zdscal.c zgbmv.c zgemm.c zgemv.c zgerc.c zgeru.c zhbmv.c zhemm.c zhemv.c zher.c zher2.c zher2k.c zherk.c zhpmv.c zhpr.c zhpr2.c zscal.c zswap.c zsymm.c zsyr2k.c zsyrk.c ztbmv.c ztbsv.c ztpmv.c ztpsv.c ztrmm.c ztrmv.c ztrsm.c ztrsv.c icamax.c idamax.c isamax.c izamax.c xerbla.c | |
72 +libgslcblas_la_CPPFLAGS = -DBUILDING_GSLCBLAS | |
73 | |
74 noinst_HEADERS = tests.c tests.h error_cblas.h error_cblas_l2.h error_cblas_l3.h cblas.h source_asum_c.h source_asum_r.h source_axpy_c.h source_axpy_r.h source_copy_c.h source_copy_r.h source_dot_c.h source_dot_r.h source_gbmv_c.h source_gbmv_r.h source_gemm_c.h source_gemm_r.h source_gemv_c.h source_gemv_r.h source_ger.h source_gerc.h source_geru.h source_hbmv.h source_hemm.h source_hemv.h source_her.h source_her2.h source_her2k.h source_herk.h source_hpmv.h source_hpr.h source_hpr2.h source_iamax_c.h source_iamax_r.h source_nrm2_c.h source_nrm2_r.h source_rot.h source_rotg.h source_rotm.h source_rotmg.h source_sbmv.h source_scal_c.h source_scal_c_s.h source_scal_r.h source_spmv.h source_spr.h source_spr2.h source_swap_c.h source_swap_r.h source_symm_c.h source_symm_r.h source_symv.h source_syr.h source_syr2.h source_syr2k_c.h source_syr2k_r.h source_syrk_c.h source_syrk_r.h source_tbmv_c.h source_tbmv_r.h source_tbsv_c.h source_tbsv_r.h source_tpmv_c.h source_tpmv_r.h source_tpsv_c.h source_tpsv_r.h source_trmm_c.h source_trmm_r.h source_trmv_c.h source_trmv_r.h source_trsm_c.h source_trsm_r.h source_trsv_c.h source_trsv_r.h hypot.c | |
75 | |
76 diff -ur gsl-1.15-orig/cdf/Makefile.am gsl-1.15/cdf/Makefile.am | |
77 --- gsl-1.15-orig/cdf/Makefile.am 2010-12-26 12:57:08 -0500 | |
78 +++ gsl-1.15/cdf/Makefile.am 2013-07-19 12:08:49 -0400 | |
79 @@ -6,6 +6,7 @@ | |
80 INCLUDES = -I$(top_srcdir) | |
81 | |
82 libgslcdf_la_SOURCES = beta.c betainv.c cauchy.c cauchyinv.c chisq.c chisqinv.c exponential.c exponentialinv.c exppow.c fdist.c fdistinv.c flat.c flatinv.c gamma.c gammainv.c gauss.c gaussinv.c gumbel1.c gumbel1inv.c gumbel2.c gumbel2inv.c laplace.c laplaceinv.c logistic.c logisticinv.c lognormal.c lognormalinv.c pareto.c paretoinv.c rayleigh.c rayleighinv.c tdist.c tdistinv.c weibull.c weibullinv.c binomial.c poisson.c geometric.c nbinomial.c pascal.c hypergeometric.c | |
83 +libgslcdf_la_CPPFLAGS = -DBUILDING_GSL | |
84 | |
85 noinst_HEADERS = beta_inc.c rat_eval.h test_auto.c error.h | |
86 | |
87 diff -ur gsl-1.15-orig/cheb/Makefile.am gsl-1.15/cheb/Makefile.am | |
88 --- gsl-1.15-orig/cheb/Makefile.am 2010-12-26 12:57:08 -0500 | |
89 +++ gsl-1.15/cheb/Makefile.am 2013-07-19 12:08:49 -0400 | |
90 @@ -5,6 +5,7 @@ | |
91 INCLUDES = -I$(top_srcdir) | |
92 | |
93 libgslcheb_la_SOURCES = deriv.c eval.c init.c integ.c | |
94 +libgslcheb_la_CPPFLAGS = -DBUILDING_GSL | |
95 | |
96 TESTS = $(check_PROGRAMS) | |
97 | |
98 diff -ur gsl-1.15-orig/combination/Makefile.am gsl-1.15/combination/Makefile.am | |
99 --- gsl-1.15-orig/combination/Makefile.am 2010-12-26 12:57:08 -0500 | |
100 +++ gsl-1.15/combination/Makefile.am 2013-07-19 12:08:49 -0400 | |
101 @@ -5,6 +5,7 @@ | |
102 INCLUDES = -I$(top_srcdir) | |
103 | |
104 libgslcombination_la_SOURCES = init.c file.c combination.c inline.c | |
105 +libgslcombination_la_CPPFLAGS = -DBUILDING_GSL | |
106 | |
107 noinst_HEADERS = | |
108 | |
109 diff -ur gsl-1.15-orig/complex/Makefile.am gsl-1.15/complex/Makefile.am | |
110 --- gsl-1.15-orig/complex/Makefile.am 2010-12-26 12:57:08 -0500 | |
111 +++ gsl-1.15/complex/Makefile.am 2013-07-19 12:08:49 -0400 | |
112 @@ -5,6 +5,7 @@ | |
113 INCLUDES = -I$(top_srcdir) | |
114 | |
115 libgslcomplex_la_SOURCES = math.c inline.c | |
116 +libgslcomplex_la_CPPFLAGS = -DBUILDING_GSL | |
117 | |
118 TESTS = $(check_PROGRAMS) | |
119 check_PROGRAMS = test | |
120 diff -ur gsl-1.15-orig/configure.ac gsl-1.15/configure.ac | |
121 --- gsl-1.15-orig/configure.ac 2011-05-04 17:09:27 -0400 | |
122 +++ gsl-1.15/configure.ac 2013-07-19 12:32:33 -0400 | |
123 @@ -100,8 +100,8 @@ | |
124 AC_C_INLINE | |
125 AC_C_CHAR_UNSIGNED | |
126 | |
127 -GSL_CFLAGS="-I$includedir" | |
128 -GSL_LIBS="-L$libdir -lgsl" | |
129 +GSL_CFLAGS="-I\$\${includedir}" | |
130 +GSL_LIBS="-L\$\${libdir} -lgsl" | |
131 dnl macro from libtool - can be replaced with LT_LIB_M when we require libtool 2 | |
132 AC_CHECK_LIBM | |
133 GSL_LIBM=$LIBM | |
134 @@ -558,6 +558,10 @@ | |
135 AH_BOTTOM([#define RETURN_IF_NULL(x) if (!x) { return ; } | |
136 ]) | |
137 | |
138 +AH_BOTTOM([#if defined (_MSC_VER) && ! defined (__STDC__) | |
139 +#define __STDC__ 1 | |
140 +#endif]) | |
141 + | |
142 AH_VERBATIM([GSL_DISABLE_DEPRECATED], | |
143 [/* Disable deprecated functions and enums while building */ | |
144 #define GSL_DISABLE_DEPRECATED 1]) | |
145 diff -ur gsl-1.15-orig/deriv/Makefile.am gsl-1.15/deriv/Makefile.am | |
146 --- gsl-1.15-orig/deriv/Makefile.am 2010-12-26 12:57:08 -0500 | |
147 +++ gsl-1.15/deriv/Makefile.am 2013-07-19 12:08:49 -0400 | |
148 @@ -3,6 +3,7 @@ | |
149 INCLUDES = -I$(top_srcdir) | |
150 | |
151 libgslderiv_la_SOURCES = deriv.c | |
152 +libgslderiv_la_CPPFLAGS = -DBUILDING_GSL | |
153 | |
154 pkginclude_HEADERS = gsl_deriv.h | |
155 | |
156 diff -ur gsl-1.15-orig/dht/Makefile.am gsl-1.15/dht/Makefile.am | |
157 --- gsl-1.15-orig/dht/Makefile.am 2010-12-26 12:57:08 -0500 | |
158 +++ gsl-1.15/dht/Makefile.am 2013-07-19 12:08:49 -0400 | |
159 @@ -13,3 +13,4 @@ | |
160 test_SOURCES = test.c | |
161 | |
162 libgsldht_la_SOURCES = dht.c | |
163 +libgsldht_la_CPPFLAGS = -DBUILDING_GSL | |
164 diff -ur gsl-1.15-orig/diff/Makefile.am gsl-1.15/diff/Makefile.am | |
165 --- gsl-1.15-orig/diff/Makefile.am 2010-12-26 12:57:08 -0500 | |
166 +++ gsl-1.15/diff/Makefile.am 2013-07-19 12:08:49 -0400 | |
167 @@ -3,6 +3,7 @@ | |
168 INCLUDES = -I$(top_srcdir) | |
169 | |
170 libgsldiff_la_SOURCES = diff.c | |
171 +libgsldiff_la_CPPFLAGS = -DBUILDING_GSL | |
172 | |
173 pkginclude_HEADERS = gsl_diff.h | |
174 | |
175 diff -ur gsl-1.15-orig/eigen/Makefile.am gsl-1.15/eigen/Makefile.am | |
176 --- gsl-1.15-orig/eigen/Makefile.am 2010-12-26 12:57:08 -0500 | |
177 +++ gsl-1.15/eigen/Makefile.am 2013-07-19 12:08:49 -0400 | |
178 @@ -4,6 +4,7 @@ | |
179 | |
180 pkginclude_HEADERS = gsl_eigen.h | |
181 libgsleigen_la_SOURCES = jacobi.c symm.c symmv.c nonsymm.c nonsymmv.c herm.c hermv.c gensymm.c gensymmv.c genherm.c genhermv.c gen.c genv.c sort.c francis.c schur.c | |
182 +libgsleigen_la_CPPFLAGS = -DBUILDING_GSL | |
183 | |
184 INCLUDES = -I$(top_srcdir) | |
185 | |
186 diff -ur gsl-1.15-orig/err/Makefile.am gsl-1.15/err/Makefile.am | |
187 --- gsl-1.15-orig/err/Makefile.am 2010-12-26 12:57:08 -0500 | |
188 +++ gsl-1.15/err/Makefile.am 2013-07-19 12:08:49 -0400 | |
189 @@ -3,6 +3,7 @@ | |
190 pkginclude_HEADERS = gsl_errno.h gsl_message.h | |
191 | |
192 libgslerr_la_SOURCES = error.c stream.c message.c strerror.c | |
193 +libgslerr_la_CPPFLAGS = -DBUILDING_GSL | |
194 | |
195 check_PROGRAMS = test | |
196 | |
197 diff -ur gsl-1.15-orig/fft/Makefile.am gsl-1.15/fft/Makefile.am | |
198 --- gsl-1.15-orig/fft/Makefile.am 2010-12-26 12:57:08 -0500 | |
199 +++ gsl-1.15/fft/Makefile.am 2013-07-19 12:08:49 -0400 | |
200 @@ -5,6 +5,7 @@ | |
201 INCLUDES = -I$(top_srcdir) | |
202 | |
203 libgslfft_la_SOURCES = dft.c fft.c | |
204 +libgslfft_la_CPPFLAGS = -DBUILDING_GSL | |
205 | |
206 noinst_HEADERS = c_pass.h hc_pass.h real_pass.h signals.h signals_source.c c_main.c c_init.c c_pass_2.c c_pass_3.c c_pass_4.c c_pass_5.c c_pass_6.c c_pass_7.c c_pass_n.c c_radix2.c bitreverse.c bitreverse.h factorize.c factorize.h hc_init.c hc_pass_2.c hc_pass_3.c hc_pass_4.c hc_pass_5.c hc_pass_n.c hc_radix2.c hc_unpack.c real_init.c real_pass_2.c real_pass_3.c real_pass_4.c real_pass_5.c real_pass_n.c real_radix2.c real_unpack.c compare.h compare_source.c dft_source.c hc_main.c real_main.c test_complex_source.c test_real_source.c test_trap_source.c urand.c complex_internal.h | |
207 | |
208 diff -ur gsl-1.15-orig/fit/Makefile.am gsl-1.15/fit/Makefile.am | |
209 --- gsl-1.15-orig/fit/Makefile.am 2010-12-26 12:57:08 -0500 | |
210 +++ gsl-1.15/fit/Makefile.am 2013-07-19 12:08:49 -0400 | |
211 @@ -5,6 +5,7 @@ | |
212 INCLUDES = -I$(top_srcdir) | |
213 | |
214 libgslfit_la_SOURCES = linear.c | |
215 +libgslfit_la_CPPFLAGS = -DBUILDING_GSL | |
216 | |
217 check_PROGRAMS = test #demo | |
218 | |
219 diff -ur gsl-1.15-orig/gsl-config.in gsl-1.15/gsl-config.in | |
220 --- gsl-1.15-orig/gsl-config.in 2010-12-26 12:57:08 -0500 | |
221 +++ gsl-1.15/gsl-config.in 2013-07-19 12:44:27 -0400 | |
222 @@ -1,8 +1,10 @@ | |
223 #! /bin/sh | |
224 | |
225 -prefix=@prefix@ | |
226 +#prefix=@prefix@ | |
227 +prefix=`cd \`dirname $0\` && pwd -W` | |
228 exec_prefix=@exec_prefix@ | |
229 includedir=@includedir@ | |
230 +libdir=@libdir@ | |
231 | |
232 usage() | |
233 { | |
234 diff -ur gsl-1.15-orig/gsl_types.h gsl-1.15/gsl_types.h | |
235 --- gsl-1.15-orig/gsl_types.h 2010-12-26 12:57:08 -0500 | |
236 +++ gsl-1.15/gsl_types.h 2013-07-19 12:08:49 -0400 | |
237 @@ -23,8 +23,11 @@ | |
238 #ifndef GSL_VAR | |
239 | |
240 #ifdef WIN32 | |
241 +# if defined (_MSC_VER) && ! defined (GSL_STATIC) | |
242 +# define GSL_DLL | |
243 +# endif | |
244 # ifdef GSL_DLL | |
245 -# ifdef DLL_EXPORT | |
246 +# ifdef BUILDING_GSL | |
247 # define GSL_VAR extern __declspec(dllexport) | |
248 # else | |
249 # define GSL_VAR extern __declspec(dllimport) | |
250 diff -ur gsl-1.15-orig/histogram/Makefile.am gsl-1.15/histogram/Makefile.am | |
251 --- gsl-1.15-orig/histogram/Makefile.am 2010-12-26 12:57:08 -0500 | |
252 +++ gsl-1.15/histogram/Makefile.am 2013-07-19 12:08:49 -0400 | |
253 @@ -5,6 +5,7 @@ | |
254 INCLUDES = -I$(top_srcdir) | |
255 | |
256 libgslhistogram_la_SOURCES = add.c get.c init.c params.c reset.c file.c pdf.c gsl_histogram.h add2d.c get2d.c init2d.c params2d.c reset2d.c file2d.c pdf2d.c gsl_histogram2d.h calloc_range.c calloc_range2d.c copy.c copy2d.c maxval.c maxval2d.c oper.c oper2d.c stat.c stat2d.c | |
257 +libgslhistogram_la_CPPFLAGS = -DBUILDING_GSL | |
258 | |
259 noinst_HEADERS = urand.c find.c find2d.c | |
260 | |
261 diff -ur gsl-1.15-orig/ieee-utils/Makefile.am gsl-1.15/ieee-utils/Makefile.am | |
262 --- gsl-1.15-orig/ieee-utils/Makefile.am 2010-12-26 12:57:08 -0500 | |
263 +++ gsl-1.15/ieee-utils/Makefile.am 2013-07-19 12:08:49 -0400 | |
264 @@ -3,6 +3,7 @@ | |
265 pkginclude_HEADERS = gsl_ieee_utils.h | |
266 | |
267 libgslieeeutils_la_SOURCES = print.c make_rep.c gsl_ieee_utils.h env.c fp.c read.c | |
268 +libgslieeeutils_la_CPPFLAGS = -DBUILDING_GSL | |
269 | |
270 noinst_HEADERS = fp-aix.c fp-darwin.c fp-darwin86.c fp-hpux.c fp-hpux11.c fp-irix.c fp-gnum68k.c fp-gnuppc.c fp-solaris.c fp-gnusparc.c fp-sunos4.c fp-tru64.c fp-unknown.c fp-gnux86.c fp-freebsd.c fp-os2emx.c fp-netbsd.c fp-openbsd.c fp-gnuc99.c endian.c standardize.c | |
271 | |
272 diff -ur gsl-1.15-orig/integration/Makefile.am gsl-1.15/integration/Makefile.am | |
273 --- gsl-1.15-orig/integration/Makefile.am 2010-12-26 12:57:08 -0500 | |
274 +++ gsl-1.15/integration/Makefile.am 2013-07-19 12:08:49 -0400 | |
275 @@ -3,6 +3,7 @@ | |
276 INCLUDES = -I$(top_srcdir) | |
277 | |
278 libgslintegration_la_SOURCES = qk15.c qk21.c qk31.c qk41.c qk51.c qk61.c qk.c qng.c qng.h qag.c qags.c qagp.c workspace.c qcheb.c qawc.c qmomo.c qaws.c qmomof.c qawo.c qawf.c glfixed.c cquad.c | |
279 +libgslintegration_la_CPPFLAGS = -DBUILDING_GSL | |
280 | |
281 pkginclude_HEADERS = gsl_integration.h | |
282 noinst_HEADERS = qpsrt.c qpsrt2.c qelg.c qc25c.c qc25s.c qc25f.c ptsort.c util.c err.c positivity.c append.c initialise.c set_initial.c reset.c cquad_const.c | |
283 diff -ur gsl-1.15-orig/interpolation/Makefile.am gsl-1.15/interpolation/Makefile.am | |
284 --- gsl-1.15-orig/interpolation/Makefile.am 2010-12-26 12:57:08 -0500 | |
285 +++ gsl-1.15/interpolation/Makefile.am 2013-07-19 12:08:49 -0400 | |
286 @@ -5,6 +5,7 @@ | |
287 pkginclude_HEADERS = gsl_interp.h gsl_spline.h | |
288 | |
289 libgslinterpolation_la_SOURCES = accel.c akima.c cspline.c interp.c linear.c integ_eval.h spline.c poly.c inline.c | |
290 +libgslinterpolation_la_CPPFLAGS = -DBUILDING_GSL | |
291 | |
292 INCLUDES = -I$(top_srcdir) | |
293 | |
294 diff -ur gsl-1.15-orig/linalg/Makefile.am gsl-1.15/linalg/Makefile.am | |
295 --- gsl-1.15-orig/linalg/Makefile.am 2010-12-26 12:57:08 -0500 | |
296 +++ gsl-1.15/linalg/Makefile.am 2013-07-19 12:08:50 -0400 | |
297 @@ -5,6 +5,7 @@ | |
298 INCLUDES = -I$(top_srcdir) | |
299 | |
300 libgsllinalg_la_SOURCES = multiply.c exponential.c tridiag.c tridiag.h lu.c luc.c hh.c qr.c qrpt.c lq.c ptlq.c svd.c householder.c householdercomplex.c hessenberg.c hesstri.c cholesky.c choleskyc.c symmtd.c hermtd.c bidiag.c balance.c balancemat.c | |
301 +libgsllinalg_la_CPPFLAGS = -DBUILDING_GSL | |
302 | |
303 noinst_HEADERS = givens.c apply_givens.c svdstep.c tridiag.h | |
304 | |
305 diff -ur gsl-1.15-orig/matrix/Makefile.am gsl-1.15/matrix/Makefile.am | |
306 --- gsl-1.15-orig/matrix/Makefile.am 2010-12-26 12:57:08 -0500 | |
307 +++ gsl-1.15/matrix/Makefile.am 2013-07-19 12:08:50 -0400 | |
308 @@ -20,5 +20,6 @@ | |
309 noinst_HEADERS = init_source.c file_source.c rowcol_source.c swap_source.c copy_source.c test_complex_source.c test_source.c minmax_source.c prop_source.c oper_source.c getset_source.c view_source.c submatrix_source.c oper_complex_source.c | |
310 | |
311 libgslmatrix_la_SOURCES = init.c matrix.c file.c rowcol.c swap.c copy.c minmax.c prop.c oper.c getset.c view.c submatrix.c view.h | |
312 +libgslmatrix_la_CPPFLAGS = -DBUILDING_GSL | |
313 | |
314 | |
315 diff -ur gsl-1.15-orig/min/Makefile.am gsl-1.15/min/Makefile.am | |
316 --- gsl-1.15-orig/min/Makefile.am 2010-12-26 12:57:08 -0500 | |
317 +++ gsl-1.15/min/Makefile.am 2013-07-19 12:08:50 -0400 | |
318 @@ -7,6 +7,7 @@ | |
319 INCLUDES = -I$(top_srcdir) | |
320 | |
321 libgslmin_la_SOURCES = fsolver.c golden.c brent.c convergence.c bracketing.c quad_golden.c | |
322 +libgslmin_la_CPPFLAGS = -DBUILDING_GSL | |
323 | |
324 check_PROGRAMS = test | |
325 | |
326 diff -ur gsl-1.15-orig/monte/Makefile.am gsl-1.15/monte/Makefile.am | |
327 --- gsl-1.15-orig/monte/Makefile.am 2010-12-26 12:57:08 -0500 | |
328 +++ gsl-1.15/monte/Makefile.am 2013-07-19 12:08:50 -0400 | |
329 @@ -1,6 +1,7 @@ | |
330 noinst_LTLIBRARIES = libgslmonte.la | |
331 | |
332 libgslmonte_la_SOURCES = miser.c plain.c gsl_monte_vegas.h gsl_monte_miser.h gsl_monte_plain.h gsl_monte.h vegas.c | |
333 +libgslmonte_la_CPPFLAGS = -DBUILDING_GSL | |
334 | |
335 pkginclude_HEADERS = gsl_monte.h gsl_monte_vegas.h gsl_monte_miser.h gsl_monte_plain.h | |
336 | |
337 diff -ur gsl-1.15-orig/multifit/Makefile.am gsl-1.15/multifit/Makefile.am | |
338 --- gsl-1.15-orig/multifit/Makefile.am 2010-12-26 12:57:08 -0500 | |
339 +++ gsl-1.15/multifit/Makefile.am 2013-07-19 12:08:50 -0400 | |
340 @@ -5,6 +5,7 @@ | |
341 INCLUDES = -I$(top_srcdir) | |
342 | |
343 libgslmultifit_la_SOURCES = multilinear.c work.c lmder.c fsolver.c fdfsolver.c convergence.c gradient.c covar.c | |
344 +libgslmultifit_la_CPPFLAGS = -DBUILDING_GSL | |
345 | |
346 noinst_HEADERS = lmutil.c lmpar.c lmset.c lmiterate.c qrsolv.c test_brown.c test_enso.c test_filip.c test_fn.c test_hahn1.c test_kirby2.c test_longley.c test_nelson.c test_pontius.c test_estimator.c | |
347 | |
348 diff -ur gsl-1.15-orig/multimin/Makefile.am gsl-1.15/multimin/Makefile.am | |
349 --- gsl-1.15-orig/multimin/Makefile.am 2010-12-26 12:57:08 -0500 | |
350 +++ gsl-1.15/multimin/Makefile.am 2013-07-19 12:08:50 -0400 | |
351 @@ -5,6 +5,7 @@ | |
352 INCLUDES = -I$(top_srcdir) | |
353 | |
354 libgslmultimin_la_SOURCES = fdfminimizer.c steepest_descent.c conjugate_fr.c conjugate_pr.c convergence.c diff.c vector_bfgs.c vector_bfgs2.c fminimizer.c simplex.c simplex2.c | |
355 +libgslmultimin_la_CPPFLAGS = -DBUILDING_GSL | |
356 | |
357 noinst_HEADERS = directional_minimize.c linear_minimize.c linear_wrapper.c | |
358 | |
359 diff -ur gsl-1.15-orig/multiroots/Makefile.am gsl-1.15/multiroots/Makefile.am | |
360 --- gsl-1.15-orig/multiroots/Makefile.am 2010-12-26 12:57:08 -0500 | |
361 +++ gsl-1.15/multiroots/Makefile.am 2013-07-19 12:08:50 -0400 | |
362 @@ -9,6 +9,7 @@ | |
363 INCLUDES = -I$(top_srcdir) | |
364 | |
365 libgslmultiroots_la_SOURCES = fdjac.c fsolver.c fdfsolver.c convergence.c newton.c gnewton.c dnewton.c broyden.c hybrid.c hybridj.c | |
366 +libgslmultiroots_la_CPPFLAGS = -DBUILDING_GSL | |
367 | |
368 check_PROGRAMS = test | |
369 | |
370 diff -ur gsl-1.15-orig/multiset/Makefile.am gsl-1.15/multiset/Makefile.am | |
371 --- gsl-1.15-orig/multiset/Makefile.am 2010-12-26 12:57:08 -0500 | |
372 +++ gsl-1.15/multiset/Makefile.am 2013-07-19 12:08:50 -0400 | |
373 @@ -5,6 +5,7 @@ | |
374 INCLUDES = -I$(top_srcdir) | |
375 | |
376 libgslmultiset_la_SOURCES = init.c file.c multiset.c inline.c | |
377 +libgslmultiset_la_CPPFLAGS = -DBUILDING_GSL | |
378 | |
379 noinst_HEADERS = | |
380 | |
381 diff -ur gsl-1.15-orig/ntuple/Makefile.am gsl-1.15/ntuple/Makefile.am | |
382 --- gsl-1.15-orig/ntuple/Makefile.am 2010-12-26 12:57:08 -0500 | |
383 +++ gsl-1.15/ntuple/Makefile.am 2013-07-19 12:08:50 -0400 | |
384 @@ -5,6 +5,7 @@ | |
385 INCLUDES = -I$(top_srcdir) | |
386 | |
387 libgslntuple_la_SOURCES = ntuple.c | |
388 +libgslntuple_la_CPPFLAGS = -DBUILDING_GSL | |
389 | |
390 TESTS = $(check_PROGRAMS) | |
391 | |
392 diff -ur gsl-1.15-orig/ode-initval/Makefile.am gsl-1.15/ode-initval/Makefile.am | |
393 --- gsl-1.15-orig/ode-initval/Makefile.am 2010-12-26 12:57:08 -0500 | |
394 +++ gsl-1.15/ode-initval/Makefile.am 2013-07-19 12:08:50 -0400 | |
395 @@ -5,6 +5,7 @@ | |
396 INCLUDES = -I$(top_srcdir) | |
397 | |
398 libgslodeiv_la_SOURCES = control.c cstd.c cscal.c evolve.c step.c rk2.c rk2imp.c rk2simp.c rk4.c rk4imp.c rkf45.c rk8pd.c rkck.c bsimp.c gear1.c gear2.c | |
399 +libgslodeiv_la_CPPFLAGS = -DBUILDING_GSL | |
400 | |
401 noinst_HEADERS = odeiv_util.h | |
402 | |
403 diff -ur gsl-1.15-orig/ode-initval2/Makefile.am gsl-1.15/ode-initval2/Makefile.am | |
404 --- gsl-1.15-orig/ode-initval2/Makefile.am 2011-04-25 03:30:17 -0400 | |
405 +++ gsl-1.15/ode-initval2/Makefile.am 2013-07-19 12:08:50 -0400 | |
406 @@ -5,6 +5,7 @@ | |
407 INCLUDES = -I$(top_srcdir) | |
408 | |
409 libgslodeiv2_la_SOURCES = control.c cstd.c cscal.c evolve.c step.c rk2.c rk2imp.c rk4.c rk4imp.c rkf45.c rk8pd.c rkck.c bsimp.c rk1imp.c msadams.c msbdf.c driver.c | |
410 +libgslodeiv2_la_CPPFLAGS = -DBUILDING_GSL | |
411 | |
412 noinst_HEADERS = odeiv_util.h step_utils.c rksubs.c modnewton1.c control_utils.c | |
413 | |
414 diff -ur gsl-1.15-orig/permutation/Makefile.am gsl-1.15/permutation/Makefile.am | |
415 --- gsl-1.15-orig/permutation/Makefile.am 2010-12-26 12:57:08 -0500 | |
416 +++ gsl-1.15/permutation/Makefile.am 2013-07-19 12:08:50 -0400 | |
417 @@ -5,6 +5,7 @@ | |
418 INCLUDES = -I$(top_srcdir) | |
419 | |
420 libgslpermutation_la_SOURCES = init.c file.c permutation.c permute.c canonical.c inline.c | |
421 +libgslpermutation_la_CPPFLAGS = -DBUILDING_GSL | |
422 | |
423 noinst_HEADERS = permute_source.c | |
424 | |
425 diff -ur gsl-1.15-orig/poly/Makefile.am gsl-1.15/poly/Makefile.am | |
426 --- gsl-1.15-orig/poly/Makefile.am 2010-12-26 12:57:08 -0500 | |
427 +++ gsl-1.15/poly/Makefile.am 2013-07-19 12:08:50 -0400 | |
428 @@ -5,6 +5,7 @@ | |
429 INCLUDES = -I$(top_srcdir) | |
430 | |
431 libgslpoly_la_SOURCES = dd.c eval.c solve_quadratic.c solve_cubic.c zsolve_quadratic.c zsolve_cubic.c zsolve.c zsolve_init.c deriv.c | |
432 +libgslpoly_la_CPPFLAGS = -DBUILDING_GSL | |
433 | |
434 noinst_HEADERS = balance.c companion.c qr.c | |
435 | |
436 diff -ur gsl-1.15-orig/qrng/Makefile.am gsl-1.15/qrng/Makefile.am | |
437 --- gsl-1.15-orig/qrng/Makefile.am 2010-12-26 12:57:08 -0500 | |
438 +++ gsl-1.15/qrng/Makefile.am 2013-07-19 12:08:50 -0400 | |
439 @@ -5,6 +5,7 @@ | |
440 INCLUDES = -I$(top_srcdir) | |
441 | |
442 libgslqrng_la_SOURCES = gsl_qrng.h qrng.c niederreiter-2.c sobol.c halton.c reversehalton.c inline.c | |
443 +libgslqrng_la_CPPFLAGS = -DBUILDING_GSL | |
444 | |
445 TESTS = $(check_PROGRAMS) | |
446 check_PROGRAMS = test | |
447 diff -ur gsl-1.15-orig/randist/Makefile.am gsl-1.15/randist/Makefile.am | |
448 --- gsl-1.15-orig/randist/Makefile.am 2010-12-26 12:57:08 -0500 | |
449 +++ gsl-1.15/randist/Makefile.am 2013-07-19 12:08:50 -0400 | |
450 @@ -5,6 +5,7 @@ | |
451 INCLUDES = -I$(top_srcdir) | |
452 | |
453 libgslrandist_la_SOURCES = bernoulli.c beta.c bigauss.c binomial.c cauchy.c chisq.c dirichlet.c discrete.c erlang.c exponential.c exppow.c fdist.c flat.c gamma.c gauss.c gausszig.c gausstail.c geometric.c gumbel.c hyperg.c laplace.c levy.c logarithmic.c logistic.c lognormal.c multinomial.c nbinomial.c pareto.c pascal.c poisson.c rayleigh.c shuffle.c sphere.c tdist.c weibull.c landau.c binomial_tpe.c | |
454 +libgslrandist_la_CPPFLAGS = -DBUILDING_GSL | |
455 | |
456 TESTS = $(check_PROGRAMS) | |
457 | |
458 diff -ur gsl-1.15-orig/rng/Makefile.am gsl-1.15/rng/Makefile.am | |
459 --- gsl-1.15-orig/rng/Makefile.am 2010-12-26 12:57:08 -0500 | |
460 +++ gsl-1.15/rng/Makefile.am 2013-07-19 12:08:50 -0400 | |
461 @@ -5,6 +5,7 @@ | |
462 INCLUDES = -I$(top_srcdir) | |
463 | |
464 libgslrng_la_SOURCES = borosh13.c cmrg.c coveyou.c default.c file.c fishman18.c fishman20.c fishman2x.c gfsr4.c knuthran2.c knuthran.c knuthran2002.c lecuyer21.c minstd.c mrg.c mt.c r250.c ran0.c ran1.c ran2.c ran3.c rand48.c rand.c random.c randu.c ranf.c ranlux.c ranlxd.c ranlxs.c ranmar.c rng.c slatec.c taus.c taus113.c transputer.c tt.c types.c uni32.c uni.c vax.c waterman14.c zuf.c inline.c | |
465 +libgslrng_la_CPPFLAGS = -DBUILDING_GSL | |
466 | |
467 CLEANFILES = test.dat | |
468 | |
469 diff -ur gsl-1.15-orig/roots/Makefile.am gsl-1.15/roots/Makefile.am | |
470 --- gsl-1.15-orig/roots/Makefile.am 2010-12-26 12:57:08 -0500 | |
471 +++ gsl-1.15/roots/Makefile.am 2013-07-19 12:08:50 -0400 | |
472 @@ -9,6 +9,7 @@ | |
473 INCLUDES = -I$(top_srcdir) | |
474 | |
475 libgslroots_la_SOURCES = bisection.c brent.c falsepos.c newton.c secant.c steffenson.c convergence.c fsolver.c fdfsolver.c | |
476 +libgslroots_la_CPPFLAGS = -DBUILDING_GSL | |
477 | |
478 check_PROGRAMS = test | |
479 | |
480 diff -ur gsl-1.15-orig/siman/Makefile.am gsl-1.15/siman/Makefile.am | |
481 --- gsl-1.15-orig/siman/Makefile.am 2010-12-26 12:57:08 -0500 | |
482 +++ gsl-1.15/siman/Makefile.am 2013-07-19 12:08:50 -0400 | |
483 @@ -16,6 +16,7 @@ | |
484 CLEANFILES = siman_test.out | |
485 | |
486 libgslsiman_la_SOURCES = siman.c | |
487 +libgslsiman_la_CPPFLAGS = -DBUILDING_GSL | |
488 pkginclude_HEADERS = gsl_siman.h | |
489 | |
490 INCLUDES = -I$(top_srcdir) | |
491 diff -ur gsl-1.15-orig/sort/Makefile.am gsl-1.15/sort/Makefile.am | |
492 --- gsl-1.15-orig/sort/Makefile.am 2010-12-26 12:57:08 -0500 | |
493 +++ gsl-1.15/sort/Makefile.am 2013-07-19 12:08:50 -0400 | |
494 @@ -5,6 +5,7 @@ | |
495 INCLUDES = -I$(top_srcdir) | |
496 | |
497 libgslsort_la_SOURCES = sort.c sortind.c sortvec.c sortvecind.c subset.c subsetind.c | |
498 +libgslsort_la_CPPFLAGS = -DBUILDING_GSL | |
499 noinst_HEADERS = sortvec_source.c sortvecind_source.c subset_source.c subsetind_source.c test_source.c test_heapsort.c | |
500 | |
501 TESTS = $(check_PROGRAMS) | |
502 diff -ur gsl-1.15-orig/specfunc/Makefile.am gsl-1.15/specfunc/Makefile.am | |
503 --- gsl-1.15-orig/specfunc/Makefile.am 2010-12-26 12:57:08 -0500 | |
504 +++ gsl-1.15/specfunc/Makefile.am 2013-07-19 12:08:50 -0400 | |
505 @@ -7,6 +7,7 @@ | |
506 INCLUDES = -I$(top_srcdir) | |
507 | |
508 libgslspecfunc_la_SOURCES = airy.c airy_der.c airy_zero.c atanint.c bessel.c bessel.h bessel_I0.c bessel_I1.c bessel_In.c bessel_Inu.c bessel_J0.c bessel_J1.c bessel_Jn.c bessel_Jnu.c bessel_K0.c bessel_K1.c bessel_Kn.c bessel_Knu.c bessel_Y0.c bessel_Y1.c bessel_Yn.c bessel_Ynu.c bessel_amp_phase.c bessel_amp_phase.h bessel_i.c bessel_j.c bessel_k.c bessel_olver.c bessel_temme.c bessel_y.c bessel_zero.c bessel_sequence.c beta.c beta_inc.c clausen.c coulomb.c coupling.c coulomb_bound.c dawson.c debye.c dilog.c elementary.c ellint.c elljac.c erfc.c exp.c expint.c expint3.c fermi_dirac.c gegenbauer.c gamma.c gamma_inc.c hyperg_0F1.c hyperg_2F0.c hyperg_1F1.c hyperg_2F1.c hyperg_U.c hyperg.c laguerre.c lambert.c legendre_H3d.c legendre_Qn.c legendre_con.c legendre_poly.c log.c mathieu_angfunc.c mathieu_charv.c mathieu_coeff.c mathieu_radfunc.c mathieu_workspace.c poch.c pow_int.c psi.c recurse.h result.c shint.c sinint.c synchrotron.c transport.c trig.c zeta.c | |
509 +libgslspecfunc_la_CPPFLAGS = -DBUILDING_GSL | |
510 | |
511 TESTS = $(check_PROGRAMS) | |
512 | |
513 diff -ur gsl-1.15-orig/statistics/Makefile.am gsl-1.15/statistics/Makefile.am | |
514 --- gsl-1.15-orig/statistics/Makefile.am 2010-12-26 12:57:08 -0500 | |
515 +++ gsl-1.15/statistics/Makefile.am 2013-07-19 12:08:50 -0400 | |
516 @@ -7,6 +7,7 @@ | |
517 INCLUDES = -I$(top_srcdir) | |
518 | |
519 libgslstatistics_la_SOURCES = mean.c variance.c absdev.c skew.c kurtosis.c lag1.c p_variance.c minmax.c ttest.c median.c covariance.c quantiles.c wmean.c wvariance.c wabsdev.c wskew.c wkurtosis.c | |
520 +libgslstatistics_la_CPPFLAGS = -DBUILDING_GSL | |
521 | |
522 noinst_HEADERS = mean_source.c variance_source.c covariance_source.c absdev_source.c skew_source.c kurtosis_source.c lag1_source.c p_variance_source.c minmax_source.c ttest_source.c median_source.c quantiles_source.c wmean_source.c wvariance_source.c wabsdev_source.c wskew_source.c wkurtosis_source.c test_float_source.c test_int_source.c | |
523 | |
524 diff -ur gsl-1.15-orig/sum/Makefile.am gsl-1.15/sum/Makefile.am | |
525 --- gsl-1.15-orig/sum/Makefile.am 2010-12-26 12:57:08 -0500 | |
526 +++ gsl-1.15/sum/Makefile.am 2013-07-19 12:08:50 -0400 | |
527 @@ -5,6 +5,7 @@ | |
528 INCLUDES = -I$(top_srcdir) | |
529 | |
530 libgslsum_la_SOURCES = levin_u.c levin_utrunc.c work_u.c work_utrunc.c | |
531 +libgslsum_la_CPPFLAGS = -DBUILDING_GSL | |
532 | |
533 TESTS = $(check_PROGRAMS) | |
534 | |
535 diff -ur gsl-1.15-orig/sys/Makefile.am gsl-1.15/sys/Makefile.am | |
536 --- gsl-1.15-orig/sys/Makefile.am 2010-12-26 12:57:08 -0500 | |
537 +++ gsl-1.15/sys/Makefile.am 2013-07-19 12:08:50 -0400 | |
538 @@ -3,6 +3,7 @@ | |
539 pkginclude_HEADERS = gsl_sys.h | |
540 | |
541 libgslsys_la_SOURCES = minmax.c prec.c hypot.c log1p.c expm1.c coerce.c invhyp.c pow_int.c infnan.c fdiv.c fcmp.c ldfrexp.c | |
542 +libgslsys_la_CPPFLAGS = -DBUILDING_GSL | |
543 | |
544 INCLUDES = -I$(top_srcdir) | |
545 | |
546 diff -ur gsl-1.15-orig/test/Makefile.am gsl-1.15/test/Makefile.am | |
547 --- gsl-1.15-orig/test/Makefile.am 2010-12-26 12:57:08 -0500 | |
548 +++ gsl-1.15/test/Makefile.am 2013-07-19 12:08:50 -0400 | |
549 @@ -3,6 +3,7 @@ | |
550 pkginclude_HEADERS = gsl_test.h | |
551 | |
552 libgsltest_la_SOURCES = results.c | |
553 +libgsltest_la_CPPFLAGS = -DBUILDING_GSL | |
554 | |
555 #check_PROGRAMS = test | |
556 #TESTS = test | |
557 diff -ur gsl-1.15-orig/utils/Makefile.am gsl-1.15/utils/Makefile.am | |
558 --- gsl-1.15-orig/utils/Makefile.am 2010-12-26 12:57:08 -0500 | |
559 +++ gsl-1.15/utils/Makefile.am 2013-07-19 12:08:50 -0400 | |
560 @@ -2,6 +2,7 @@ | |
561 | |
562 # Don't need to list alloca.c, etc., Automake includes them. | |
563 libutils_la_SOURCES = system.h placeholder.c | |
564 +libutils_la_CPPFLAGS = -DBUILDING_GSL | |
565 libutils_la_LIBADD = @LIBOBJS@ | |
566 | |
567 EXTRA_DIST = README | |
568 diff -ur gsl-1.15-orig/vector/Makefile.am gsl-1.15/vector/Makefile.am | |
569 --- gsl-1.15-orig/vector/Makefile.am 2010-12-26 12:57:08 -0500 | |
570 +++ gsl-1.15/vector/Makefile.am 2013-07-19 12:08:50 -0400 | |
571 @@ -19,3 +19,4 @@ | |
572 noinst_HEADERS = init_source.c file_source.c copy_source.c swap_source.c prop_source.c test_complex_source.c test_source.c minmax_source.c oper_source.c oper_complex_source.c reim_source.c subvector_source.c view_source.c | |
573 | |
574 libgslvector_la_SOURCES = init.c file.c vector.c copy.c swap.c prop.c minmax.c oper.c reim.c subvector.c view.c view.h | |
575 +libgslvector_la_CPPFLAGS = -DBUILDING_GSL | |
576 diff -ur gsl-1.15-orig/wavelet/Makefile.am gsl-1.15/wavelet/Makefile.am | |
577 --- gsl-1.15-orig/wavelet/Makefile.am 2010-12-26 12:57:08 -0500 | |
578 +++ gsl-1.15/wavelet/Makefile.am 2013-07-19 12:08:50 -0400 | |
579 @@ -5,6 +5,7 @@ | |
580 INCLUDES = -I$(top_srcdir) | |
581 | |
582 libgslwavelet_la_SOURCES = dwt.c wavelet.c bspline.c daubechies.c haar.c | |
583 +libgslwavelet_la_CPPFLAGS = -DBUILDING_GSL | |
584 | |
585 check_PROGRAMS = test | |
586 |