Help check: validate the help files on compilation against a derivated docbook schema
[scilab.git] / scilab / modules / elementary_functions / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2006 - INRIA - Sylvestre LEDRU
3 #
4 # This file is distributed under the same license as the Scilab package.
5
6
7 ELEMENTARIES_FUNCTIONS_C_SOURCES = src/c/sci_tools.c \
8 src/c/finite.c \
9 src/c/vfinite.c \
10 src/c/cmp.c \
11 src/c/vceil.c \
12 src/c/xerhlt.c \
13 src/c/vfloor.c \
14 src/c/vfrexp.c \
15 src/c/scidcopy.c \
16 src/c/int2db.c \
17 src/c/rea2db.c \
18 src/c/idmax.c \
19 src/c/idmin.c \
20 src/c/gsort.c \
21 src/c/qsort.c \
22 src/c/qsort-char.c \
23 src/c/qsort-double.c \
24 src/c/qsort-int.c \
25 src/c/qsort-short.c \
26 src/c/qsort-string.c \
27 src/c/IsEqualVar.c
28
29 # List of the cpp files
30 ELEMENTARIES_FUNCTIONS_CPP_SOURCES =
31
32 SLATEC_SOURCES = src/fortran/slatec/zwrsk.f \
33 src/fortran/slatec/d9b0mp.f \
34 src/fortran/slatec/d9b1mp.f \
35 src/fortran/slatec/d9knus.f \
36 src/fortran/slatec/d9lgmc.f \
37 src/fortran/slatec/dasyik.f \
38 src/fortran/slatec/dasyjy.f \
39 src/fortran/slatec/dbdiff.f \
40 src/fortran/slatec/dbesi0.f \
41 src/fortran/slatec/dbesi1.f \
42 src/fortran/slatec/dbesi.f \
43 src/fortran/slatec/dbesj0.f \
44 src/fortran/slatec/dbesj1.f \
45 src/fortran/slatec/dbesj.f \
46 src/fortran/slatec/dbesk0.f \
47 src/fortran/slatec/dbesk1.f \
48 src/fortran/slatec/dbesk.f \
49 src/fortran/slatec/dbesks.f \
50 src/fortran/slatec/dbesy0.f \
51 src/fortran/slatec/dbesy1.f \
52 src/fortran/slatec/dbesy.f \
53 src/fortran/slatec/dbkias.f \
54 src/fortran/slatec/dbkisr.f \
55 src/fortran/slatec/dbsi0e.f \
56 src/fortran/slatec/dbsi1e.f \
57 src/fortran/slatec/dbsk0e.f \
58 src/fortran/slatec/dbsk1e.f \
59 src/fortran/slatec/dbskes.f \
60 src/fortran/slatec/dbskin.f \
61 src/fortran/slatec/dbsknu.f \
62 src/fortran/slatec/dbsynu.f \
63 src/fortran/slatec/dcsevl.f \
64 src/fortran/slatec/dexint.f \
65 src/fortran/slatec/dgamlm.f \
66 src/fortran/slatec/dgamln.f \
67 src/fortran/slatec/dgamma.f \
68 src/fortran/slatec/dgamrn.f \
69 src/fortran/slatec/dhkseq.f \
70 src/fortran/slatec/djairy.f \
71 src/fortran/slatec/dpsixn.f \
72 src/fortran/slatec/dxlegf.f \
73 src/fortran/slatec/dyairy.f \
74 src/fortran/slatec/fdump.f \
75 src/fortran/slatec/gamma.f \
76 src/fortran/slatec/initds.f \
77 src/fortran/slatec/j4save.f \
78 src/fortran/slatec/xercnt.f \
79 src/fortran/slatec/xermsg.f \
80 src/fortran/slatec/xerprn.f \
81 src/fortran/slatec/xersve.f \
82 src/fortran/slatec/xgetua.f \
83 src/fortran/slatec/zabs.f \
84 src/fortran/slatec/zacai.f \
85 src/fortran/slatec/zacon.f \
86 src/fortran/slatec/zairy.f \
87 src/fortran/slatec/zasyi.f \
88 src/fortran/slatec/zbesh.f \
89 src/fortran/slatec/zbesi.f \
90 src/fortran/slatec/zbesj.f \
91 src/fortran/slatec/zbesk.f \
92 src/fortran/slatec/zbesy.f \
93 src/fortran/slatec/zbinu.f \
94 src/fortran/slatec/zbknu.f \
95 src/fortran/slatec/zbuni.f \
96 src/fortran/slatec/zbunk.f \
97 src/fortran/slatec/zdiv.f \
98 src/fortran/slatec/zexp.f \
99 src/fortran/slatec/zkscl.f \
100 src/fortran/slatec/zlog.f \
101 src/fortran/slatec/zmlri.f \
102 src/fortran/slatec/zmlt.f \
103 src/fortran/slatec/zrati.f \
104 src/fortran/slatec/zs1s2.f \
105 src/fortran/slatec/zseri.f \
106 src/fortran/slatec/zshch.f \
107 src/fortran/slatec/zsqrt.f \
108 src/fortran/slatec/zuchk.f \
109 src/fortran/slatec/zunhj.f \
110 src/fortran/slatec/zuni1.f \
111 src/fortran/slatec/zuni2.f \
112 src/fortran/slatec/zunik.f \
113 src/fortran/slatec/zunk1.f \
114 src/fortran/slatec/zunk2.f \
115 src/fortran/slatec/zuoik.f \
116 src/fortran/slatec/dlngam.f \
117 src/fortran/slatec/balanc.f \
118 src/fortran/slatec/dtensbs.f \
119 src/fortran/slatec/pchim.f
120
121 LINPACK_SOURCES =    src/fortran/linpack/dgesl.f \
122         src/fortran/linpack/wpade.f \
123         src/fortran/linpack/util.f \
124         src/fortran/linpack/wcopy.f \
125         src/fortran/linpack/dgefa.f \
126         src/fortran/linpack/dgbfa.f \
127         src/fortran/linpack/dgeco.f \
128         src/fortran/linpack/dgedi.f \
129         src/fortran/linpack/dqrdc.f \
130         src/fortran/linpack/dqrsl.f \
131         src/fortran/linpack/dqrsm.f \
132         src/fortran/linpack/hhdml.f \
133         src/fortran/linpack/spofa.f \
134         src/fortran/linpack/wgeco.f \
135         src/fortran/linpack/wgefa.f \
136         src/fortran/linpack/wgesl.f \
137         src/fortran/linpack/dpofa.f
138
139 ELEMENTARIES_FUNCTIONS_FORTRAN_SOURCES = \
140 src/fortran/psi.f \
141 src/fortran/wasum.f \
142 src/fortran/dexpm1.f \
143 src/fortran/wwdiv.f \
144 src/fortran/wdotcr.f \
145 src/fortran/iset.f \
146 src/fortran/franck.f \
147 src/fortran/dwpowe.f \
148 src/fortran/rcsort.f \
149 src/fortran/wddiv.f \
150 src/fortran/lnblnk.f \
151 src/fortran/entier.f \
152 src/fortran/round.f \
153 src/fortran/cortr.f \
154 src/fortran/simple.f \
155 src/fortran/split.f \
156 src/fortran/wdrdiv.f \
157 src/fortran/imcopy.f \
158 src/fortran/cbal.f \
159 src/fortran/cuproi.f \
160 src/fortran/dsum.f \
161 src/fortran/urand.f \
162 src/fortran/intp.f \
163 src/fortran/watan.f \
164 src/fortran/wipowe.f \
165 src/fortran/wacos.f \
166 src/fortran/wdpow1.f \
167 src/fortran/zbesjg.f \
168 src/fortran/dmsum.f \
169 src/fortran/dlgama.f \
170 src/fortran/exch.f \
171 src/fortran/wsign.f \
172 src/fortran/kronr.f \
173 src/fortran/wrscal.f \
174 src/fortran/pythag.f \
175 src/fortran/dbeskg.f \
176 src/fortran/dmmul1.f \
177 src/fortran/dwpow.f \
178 src/fortran/wmmul.f \
179 src/fortran/dsearch.f \
180 src/fortran/ddif.f \
181 src/fortran/wdiv.f \
182 src/fortran/wtan.f \
183 src/fortran/ccopy.f \
184 src/fortran/ddpow.f \
185 src/fortran/magic.f \
186 src/fortran/wcerr.f \
187 src/fortran/ivimp.f \
188 src/fortran/cupro.f \
189 src/fortran/dadd.f \
190 src/fortran/calerf.f \
191 src/fortran/isort.f \
192 src/fortran/hilber.f \
193 src/fortran/wdpowe.f \
194 src/fortran/wmprod.f \
195 src/fortran/wscal.f \
196 src/fortran/dlblks.f \
197 src/fortran/kronc.f \
198 src/fortran/ddrdiv.f \
199 src/fortran/dipow.f \
200 src/fortran/wshrsl.f \
201 src/fortran/wwrdiv.f \
202 src/fortran/zbeshg.f \
203 src/fortran/coshin.f \
204 src/fortran/iwamax.f \
205 src/fortran/dipowe.f \
206 src/fortran/getorient.f \
207 src/fortran/cusum.f \
208 src/fortran/dbesig.f \
209 src/fortran/d1mach.f \
210 src/fortran/wbdiag.f \
211 src/fortran/ddpow1.f \
212 src/fortran/vpythag.f \
213 src/fortran/isova0.f \
214 src/fortran/wswap.f \
215 src/fortran/wwpow1.f \
216 src/fortran/getdimfromvar.f \
217 src/fortran/gdcp2i.f \
218 src/fortran/drdiv.f \
219 src/fortran/wmsum.f \
220 src/fortran/dbesyg.f \
221 src/fortran/corth.f \
222 src/fortran/mtran.f \
223 src/fortran/wwpow.f \
224 src/fortran/zbeskg.f \
225 src/fortran/dvmul.f \
226 src/fortran/wclmat.f \
227 src/fortran/dsort.f \
228 src/fortran/cerr.f \
229 src/fortran/rcopy.f \
230 src/fortran/wdpow.f \
231 src/fortran/orthes.f \
232 src/fortran/waxpy.f \
233 src/fortran/coef.f \
234 src/fortran/dwdiv.f \
235 src/fortran/arcosh.f \
236 src/fortran/wasin.f \
237 src/fortran/wexpm1.f \
238 src/fortran/ddpowe.f \
239 src/fortran/nearfloat.f \
240 src/fortran/dmprod.f \
241 src/fortran/wwpowe.f \
242 src/fortran/wdotci.f \
243 src/fortran/dmcopy.f \
244 src/fortran/wexchn.f \
245 src/fortran/isoval.f \
246 src/fortran/dwrdiv.f \
247 src/fortran/wipow.f \
248 src/fortran/wlog.f \
249 src/fortran/infinity.f \
250 src/fortran/dwpow1.f \
251 src/fortran/zbesig.f \
252 src/fortran/wmul.f \
253 src/fortran/dad.f \
254 src/fortran/dbesjg.f \
255 src/fortran/dset.f \
256 src/fortran/dtild.f \
257 src/fortran/i1mach.f \
258 src/fortran/zbesyg.f \
259 src/fortran/dclmat.f \
260 src/fortran/ortran.f \
261 src/fortran/bdiag.f \
262 src/fortran/wvmul.f \
263 src/fortran/dmmul.f \
264 src/fortran/wsqrt.f \
265 src/fortran/israt.f \
266 src/fortran/rat.f \
267 src/fortran/ribesl.f \
268 src/fortran/rjbesl.f \
269 src/fortran/rkbesl.f \
270 src/fortran/rybesl.f \
271 src/fortran/sdot.f
272
273 GATEWAY_C_SOURCES = sci_gateway/c/sci_isequal.c \
274 sci_gateway/c/sci_matrix.c \
275 sci_gateway/c/sci_prod.c \
276 sci_gateway/c/sci_expm.c \
277 sci_gateway/c/sci_size.c \
278 sci_gateway/c/sci_tril.c \
279 sci_gateway/c/sci_ceil.c \
280 sci_gateway/c/sci_imag.c \
281 sci_gateway/c/sci_log.c \
282 sci_gateway/c/sci_log1p.c \
283 sci_gateway/c/sci_eye.c \
284 sci_gateway/c/sci_clean.c \
285 sci_gateway/c/sci_tan.c \
286 sci_gateway/c/sci_atan.c \
287 sci_gateway/c/sci_triu.c \
288 sci_gateway/c/sci_frexp.c \
289 sci_gateway/c/sci_cos.c \
290 sci_gateway/c/sci_rand.c \
291 sci_gateway/c/sci_acos.c \
292 sci_gateway/c/sci_sin.c \
293 sci_gateway/c/sci_sqrt.c \
294 sci_gateway/c/sci_asin.c \
295 sci_gateway/c/sci_sign.c \
296 sci_gateway/c/sci_zeros.c \
297 sci_gateway/c/sci_ones.c \
298 sci_gateway/c/sci_rat.c \
299 sci_gateway/c/gw_elementary_functions.c \
300 sci_gateway/c/sci_number_properties.c \
301 sci_gateway/c/sci_diag.c \
302 sci_gateway/c/sci_sum.c \
303 sci_gateway/c/sci_testmatrix.c \
304 sci_gateway/c/sci_abs.c \
305 sci_gateway/c/sci_spones.c \
306 sci_gateway/c/sci_kron.c \
307 sci_gateway/c/sci_cumprod.c \
308 sci_gateway/c/sci_cumsum.c \
309 sci_gateway/c/sci_dsearch.c \
310 sci_gateway/c/sci_nearfloat.c \
311 sci_gateway/c/sci_chinesehat.c \
312 sci_gateway/c/sci_isreal.c \
313 sci_gateway/c/sci_floor.c \
314 sci_gateway/c/sci_real.c \
315 sci_gateway/c/sci_round.c \
316 sci_gateway/c/sci_conj.c \
317 sci_gateway/c/sci_int.c \
318 sci_gateway/c/sci_imult.c \
319 sci_gateway/c/sci_exp.c \
320 sci_gateway/c/sci_maxi.c \
321 sci_gateway/c/sci_gsort.c \
322 sci_gateway/c/sci_isequalbitwise.c
323
324 GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/sci_f_isequal.f \
325 sci_gateway/fortran/sci_f_maxi.f \
326 sci_gateway/fortran/sci_f_testmatrix.f \
327 sci_gateway/fortran/sci_f_prod.f \
328 sci_gateway/fortran/sci_f_matrix.f \
329 sci_gateway/fortran/sci_f_expm.f \
330 sci_gateway/fortran/sci_f_size.f \
331 sci_gateway/fortran/sci_f_tril.f \
332 sci_gateway/fortran/sci_f_ceil.f \
333 sci_gateway/fortran/sci_f_rat.f \
334 sci_gateway/fortran/sci_f_imag.f \
335 sci_gateway/fortran/sci_f_log.f \
336 sci_gateway/fortran/sci_f_log1p.f \
337 sci_gateway/fortran/sci_f_clean.f \
338 sci_gateway/fortran/sci_f_eye.f \
339 sci_gateway/fortran/sci_f_tan.f \
340 sci_gateway/fortran/sci_f_atan.f \
341 sci_gateway/fortran/sci_f_triu.f \
342 sci_gateway/fortran/sci_f_frexp.f \
343 sci_gateway/fortran/sci_f_cos.f \
344 sci_gateway/fortran/sci_f_rand.f \
345 sci_gateway/fortran/sci_f_acos.f \
346 sci_gateway/fortran/sci_f_sin.f \
347 sci_gateway/fortran/sci_f_sqrt.f \
348 sci_gateway/fortran/sci_f_asin.f \
349 sci_gateway/fortran/sci_f_sign.f \
350 sci_gateway/fortran/sci_f_zeros.f \
351 sci_gateway/fortran/sci_f_ones.f \
352 sci_gateway/fortran/sci_f_diag.f \
353 sci_gateway/fortran/sci_f_number_properties.f \
354 sci_gateway/fortran/sci_f_sum.f \
355 sci_gateway/fortran/sci_f_cumprod.f \
356 sci_gateway/fortran/sci_f_abs.f \
357 sci_gateway/fortran/sci_f_spones.f \
358 sci_gateway/fortran/sci_f_kron.f \
359 sci_gateway/fortran/sci_f_dsearch.f \
360 sci_gateway/fortran/sci_f_cumsum.f \
361 sci_gateway/fortran/sci_f_nearfloat.f \
362 sci_gateway/fortran/sci_f_chinesehat.f \
363 sci_gateway/fortran/sci_f_isreal.f \
364 sci_gateway/fortran/sci_f_floor.f \
365 sci_gateway/fortran/sci_f_real.f \
366 sci_gateway/fortran/sci_f_round.f \
367 sci_gateway/fortran/sci_f_conj.f \
368 sci_gateway/fortran/sci_f_int.f \
369 sci_gateway/fortran/sci_f_imult.f \
370 sci_gateway/fortran/sci_f_exp.f
371
372 EISPACK_SOURCES = src/fortran/eispack/balbak.f
373
374 # Disable optimisation of the file hqror2.f comqr3.f pade.f
375 noinst_LTLIBRARIES = libdummy-elementary_functions.la 
376
377 libdummy_elementary_functions_la_SOURCES = src/fortran/eispack/hqror2.f \
378         src/fortran/comqr3.f \
379         src/fortran/linpack/pade.f \
380         src/c/unsfdcopy.c \
381         src/fortran/linpack/icopy.f
382
383 libdummy_elementary_functions_la_FFLAGS = $(FFLAGS:-O%=)
384
385
386
387 libdummy_elementary_functions_la_CFLAGS = $(CFLAGS:-O%=) \
388         -I$(top_srcdir)/modules/core/includes/ \
389         -I$(srcdir)/includes/
390
391 # Includes need for the compilation
392 libscielementary_functions_la_FFLAGS= -I$(srcdir)/includes/
393
394 # Includes need for the compilation
395 libscielementary_functions_la_CPPFLAGS =        -I$(srcdir)/includes/ \
396         -I$(srcdir)/src/cpp/ \
397         -I$(srcdir)/src/c/ \
398         -I$(top_srcdir)/libs/MALLOC/includes/ \
399         -I$(top_srcdir)/modules/api_scilab/includes \
400         -I$(top_srcdir)/modules/output_stream/includes
401
402 # Includes need for the compilation
403 libscielementary_functions_la_CFLAGS=   -I$(srcdir)/includes/ \
404 -I$(top_srcdir)/libs/MALLOC/includes/ \
405 -I$(srcdir)/src/c/ \
406 -I$(top_srcdir)/modules/core/src/c/ \
407 -I$(top_srcdir)/modules/api_scilab/includes \
408 -I$(top_srcdir)/modules/output_stream/includes
409
410 pkglib_LTLIBRARIES = libscielementary_functions.la
411 noinst_LTLIBRARIES += libscielementary_functions-algo.la
412
413 libscielementary_functions_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
414
415 libscielementary_functions_algo_la_SOURCES = $(SLATEC_SOURCES) $(LINPACK_SOURCES)  $(EISPACK_SOURCES) $(ELEMENTARIES_FUNCTIONS_C_SOURCES) $(ELEMENTARIES_FUNCTIONS_FORTRAN_SOURCES) $(ELEMENTARIES_FUNCTIONS_CPP_SOURCES)
416 libscielementary_functions_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES) 
417 libscielementary_functions_algo_la_CFLAGS = $(libscielementary_functions_la_CFLAGS)
418
419 # For the code check (splint)
420 CHECK_SRC= $(ELEMENTARIES_FUNCTIONS_C_SOURCES) $(GATEWAY_C_SOURCES)
421 INCLUDE_FLAGS = $(libscielementary_functions_la_CFLAGS)
422
423 libscielementary_functions_la_LIBADD = libdummy-elementary_functions.la libscielementary_functions-algo.la
424
425 # Commented because it is one of the first module to be compiled
426 #libdummy-elementary_functions.la   $(top_builddir)/modules/polynomials/libscipolynomials.la $(top_builddir)/libs/blas/libsciblas.la $(top_builddir)/modules/sparse/libscisparse.la $(top_builddir)/modules/string/libscistring.la $(top_builddir)/libs/MALLOC/libscimalloc.la $(top_builddir)/modules/output_stream/libscioutput_stream.la $(top_builddir)/libs/lapack/libscilapack.la $(top_builddir)/modules/integer/libsciinteger.la  $(top_builddir)/modules/cacsd/libscicacsd.la
427
428 libdummy_elementary_functions_la-hqror2.lo: src/fortran/eispack/hqror2.f
429         $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-hqror2.lo `test -f 'src/fortran/eispack/hqror2.f' || echo '$(srcdir)/'`src/fortran/eispack/hqror2.f
430
431 libdummy_elementary_functions_la-comqr3.lo: src/fortran/comqr3.f
432         $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-comqr3.lo `test -f 'src/fortran/comqr3.f' || echo '$(srcdir)/'`src/fortran/comqr3.f
433
434
435 libdummy_elementary_functions_la-pade.lo: src/fortran/linpack/pade.f
436         $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-pade.lo `test -f 'src/fortran/linpack/pade.f' || echo '$(srcdir)/'`src/fortran/linpack/pade.f
437
438 libdummy_elementary_functions_la-unsfdcopy.lo: src/c/unsfdcopy.c
439         $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFAULT_INCLUDES) $(libdummy_elementary_functions_la_CFLAGS) -c -o libdummy_elementary_functions_la-unsfdcopy.lo `test -f 'src/c/unsfdcopy.c' || echo '$(srcdir)/'`src/c/unsfdcopy.c
440
441
442 libdummy_elementary_functions_la-icopy.lo: src/fortran/linpack/icopy.f
443         $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-icopy.lo `test -f 'src/fortran/linpack/icopy.f' || echo '$(srcdir)/'`src/fortran/linpack/icopy.f
444
445
446 #### Target ######
447 modulename=elementary_functions
448
449
450 #### elementary_functions : Conf files ####
451 libscielementary_functions_la_rootdir = $(mydatadir)
452 libscielementary_functions_la_root_DATA =  license.txt 
453
454
455
456 #### elementary_functions : init scripts ####
457 libscielementary_functions_la_etcdir = $(mydatadir)/etc
458 libscielementary_functions_la_etc_DATA = etc/elementary_functions.quit etc/elementary_functions.start
459
460 #### elementary_functions : gateway declaration ####
461 libscielementary_functions_la_sci_gatewaydir = $(mydatadir)/sci_gateway
462 libscielementary_functions_la_sci_gateway_DATA = sci_gateway/elementary_functions_gateway.xml
463
464
465 include $(top_srcdir)/Makefile.incl.am