Merge remote-tracking branch 'origin/master' into YaSp
[scilab.git] / scilab / modules / elementary_functions / Makefile.am
index 34689eb..2ab522e 100644 (file)
 #
 # This file is distributed under the same license as the Scilab package.
 
-
 ELEMENTARIES_FUNCTIONS_C_SOURCES = \
-src/c/finite.c \
-src/c/vfinite.c \
-src/c/cmp.c \
-src/c/vceil.c \
-src/c/xerhlt.c \
-src/c/vfloor.c \
-src/c/vfrexp.c \
-src/c/scidcopy.c \
-src/c/int2db.c \
-src/c/rea2db.c \
-src/c/idmax.c \
-src/c/idmin.c \
-src/c/gsort.c \
-src/c/qsort.c \
-src/c/qsort-char.c \
-src/c/qsort-double.c \
-src/c/qsort-int.c \
-src/c/qsort-short.c \
-src/c/qsort-string.c \
-src/c/IsEqualVar.c \
-src/c/convertbase.c
-
-if IS_MACOSX
-ELEMENTARIES_FUNCTIONS_C_SOURCES += src/c/dscal.c
-endif
+    src/c/finite.c \
+    src/c/vfinite.c \
+    src/c/cmp.c \
+    src/c/vceil.c \
+    src/c/xerhlt.c \
+    src/c/vfloor.c \
+    src/c/vfrexp.c \
+    src/c/scidcopy.c \
+    src/c/int2db.c \
+    src/c/rea2db.c \
+    src/c/qsort.c \
+    src/c/qsort-char.c \
+    src/c/qsort-double.c \
+    src/c/qsort-int.c \
+    src/c/qsort-short.c \
+    src/c/qsort-string.c \
+    src/c/basic_functions.c \
+    src/c/abs.c \
+    src/c/acos.c \
+    src/c/asin.c \
+    src/c/atan.c \
+    src/c/cos.c \
+    src/c/cosh.c \
+    src/c/sin.c \
+    src/c/sinh.c \
+    src/c/tan.c \
+    src/c/exp.c \
+    src/c/expm.c \
+    src/c/log.c \
+    src/c/sqrt.c \
+    src/c/cupro.c \
+    src/c/sign.c \
+    src/c/ceil.c \
+    src/c/eye.c \
+    src/c/dmsum.c \
+    src/c/dsearch.c \
+    src/c/floor.c \
+    src/c/mprod.c \
+    src/c/pythag.c \
+    src/c/matrix_generation.c \
+    src/c/vmul.c \
+    src/c/add_vector.c \
+    src/c/sub_vector.c \
+    src/c/convertbase.c
 
 # List of the cpp files
-ELEMENTARIES_FUNCTIONS_CXX_SOURCES =
-
-
-SLATEC_SOURCES = src/fortran/slatec/zwrsk.f \
-src/fortran/slatec/d9b0mp.f \
-src/fortran/slatec/d9b1mp.f \
-src/fortran/slatec/d9knus.f \
-src/fortran/slatec/d9lgmc.f \
-src/fortran/slatec/dasyik.f \
-src/fortran/slatec/dasyjy.f \
-src/fortran/slatec/dbdiff.f \
-src/fortran/slatec/dbesi0.f \
-src/fortran/slatec/dbesi1.f \
-src/fortran/slatec/dbesi.f \
-src/fortran/slatec/dbesj0.f \
-src/fortran/slatec/dbesj1.f \
-src/fortran/slatec/dbesj.f \
-src/fortran/slatec/dbesk0.f \
-src/fortran/slatec/dbesk1.f \
-src/fortran/slatec/dbesk.f \
-src/fortran/slatec/dbesy0.f \
-src/fortran/slatec/dbesy1.f \
-src/fortran/slatec/dbesy.f \
-src/fortran/slatec/dbkias.f \
-src/fortran/slatec/dbkisr.f \
-src/fortran/slatec/dbsi0e.f \
-src/fortran/slatec/dbsi1e.f \
-src/fortran/slatec/dbsk0e.f \
-src/fortran/slatec/dbsk1e.f \
-src/fortran/slatec/dbskes.f \
-src/fortran/slatec/dbskin.f \
-src/fortran/slatec/dbsknu.f \
-src/fortran/slatec/dbsynu.f \
-src/fortran/slatec/dcsevl.f \
-src/fortran/slatec/dexint.f \
-src/fortran/slatec/dgamlm.f \
-src/fortran/slatec/dgamln.f \
-src/fortran/slatec/dgamma.f \
-src/fortran/slatec/dgamrn.f \
-src/fortran/slatec/dhkseq.f \
-src/fortran/slatec/djairy.f \
-src/fortran/slatec/dpsixn.f \
-src/fortran/slatec/dxlegf.f \
-src/fortran/slatec/dyairy.f \
-src/fortran/slatec/fdump.f \
-src/fortran/slatec/gamma.f \
-src/fortran/slatec/initds.f \
-src/fortran/slatec/j4save.f \
-src/fortran/slatec/xercnt.f \
-src/fortran/slatec/xermsg.f \
-src/fortran/slatec/xerprn.f \
-src/fortran/slatec/xersve.f \
-src/fortran/slatec/xgetua.f \
-src/fortran/slatec/zabs.f \
-src/fortran/slatec/zacai.f \
-src/fortran/slatec/zacon.f \
-src/fortran/slatec/zairy.f \
-src/fortran/slatec/zasyi.f \
-src/fortran/slatec/zbesh.f \
-src/fortran/slatec/zbesi.f \
-src/fortran/slatec/zbesj.f \
-src/fortran/slatec/zbesk.f \
-src/fortran/slatec/zbesy.f \
-src/fortran/slatec/zbinu.f \
-src/fortran/slatec/zbknu.f \
-src/fortran/slatec/zbuni.f \
-src/fortran/slatec/zbunk.f \
-src/fortran/slatec/zdiv.f \
-src/fortran/slatec/zexp.f \
-src/fortran/slatec/zkscl.f \
-src/fortran/slatec/zlog.f \
-src/fortran/slatec/zmlri.f \
-src/fortran/slatec/zmlt.f \
-src/fortran/slatec/zrati.f \
-src/fortran/slatec/zs1s2.f \
-src/fortran/slatec/zseri.f \
-src/fortran/slatec/zshch.f \
-src/fortran/slatec/zsqrt.f \
-src/fortran/slatec/zuchk.f \
-src/fortran/slatec/zunhj.f \
-src/fortran/slatec/zuni1.f \
-src/fortran/slatec/zuni2.f \
-src/fortran/slatec/zunik.f \
-src/fortran/slatec/zunk1.f \
-src/fortran/slatec/zunk2.f \
-src/fortran/slatec/zuoik.f \
-src/fortran/slatec/dlngam.f \
-src/fortran/slatec/balanc.f \
-src/fortran/slatec/dtensbs.f \
-src/fortran/slatec/pchim.f
-
-LINPACK_SOURCES =    src/fortran/linpack/dgesl.f \
+ELEMENTARIES_FUNCTIONS_CXX_SOURCES = \
+    src/cpp/getmode.cpp \
+    src/cpp/cumsum.cpp \
+    src/cpp/cumprod.cpp \
+    src/cpp/diag.cpp \
+    src/cpp/gsort.cpp \
+    src/cpp/prod.cpp \
+    src/cpp/sum.cpp \
+    src/cpp/max.cpp \
+    src/cpp/min.cpp \
+    src/cpp/clean.cpp
+
+SLATEC_SOURCES = \
+    src/fortran/slatec/zwrsk.f \
+    src/fortran/slatec/d9b0mp.f \
+    src/fortran/slatec/d9b1mp.f \
+    src/fortran/slatec/d9knus.f \
+    src/fortran/slatec/d9lgmc.f \
+    src/fortran/slatec/dasyik.f \
+    src/fortran/slatec/dasyjy.f \
+    src/fortran/slatec/dbdiff.f \
+    src/fortran/slatec/dbesi0.f \
+    src/fortran/slatec/dbesi1.f \
+    src/fortran/slatec/dbesi.f \
+    src/fortran/slatec/dbesj0.f \
+    src/fortran/slatec/dbesj1.f \
+    src/fortran/slatec/dbesj.f \
+    src/fortran/slatec/dbesk0.f \
+    src/fortran/slatec/dbesk1.f \
+    src/fortran/slatec/dbesk.f \
+    src/fortran/slatec/dbesy0.f \
+    src/fortran/slatec/dbesy1.f \
+    src/fortran/slatec/dbesy.f \
+    src/fortran/slatec/dbkias.f \
+    src/fortran/slatec/dbkisr.f \
+    src/fortran/slatec/dbsi0e.f \
+    src/fortran/slatec/dbsi1e.f \
+    src/fortran/slatec/dbsk0e.f \
+    src/fortran/slatec/dbsk1e.f \
+    src/fortran/slatec/dbskes.f \
+    src/fortran/slatec/dbskin.f \
+    src/fortran/slatec/dbsknu.f \
+    src/fortran/slatec/dbsynu.f \
+    src/fortran/slatec/dcsevl.f \
+    src/fortran/slatec/dexint.f \
+    src/fortran/slatec/dgamlm.f \
+    src/fortran/slatec/dgamln.f \
+    src/fortran/slatec/dgamma.f \
+    src/fortran/slatec/dgamrn.f \
+    src/fortran/slatec/dhkseq.f \
+    src/fortran/slatec/djairy.f \
+    src/fortran/slatec/dpsixn.f \
+    src/fortran/slatec/dxlegf.f \
+    src/fortran/slatec/dyairy.f \
+    src/fortran/slatec/fdump.f \
+    src/fortran/slatec/gamma.f \
+    src/fortran/slatec/initds.f \
+    src/fortran/slatec/j4save.f \
+    src/fortran/slatec/xercnt.f \
+    src/fortran/slatec/xermsg.f \
+    src/fortran/slatec/xerprn.f \
+    src/fortran/slatec/xersve.f \
+    src/fortran/slatec/xgetua.f \
+    src/fortran/slatec/zabs.f \
+    src/fortran/slatec/zacai.f \
+    src/fortran/slatec/zacon.f \
+    src/fortran/slatec/zairy.f \
+    src/fortran/slatec/zasyi.f \
+    src/fortran/slatec/zbesh.f \
+    src/fortran/slatec/zbesi.f \
+    src/fortran/slatec/zbesj.f \
+    src/fortran/slatec/zbesk.f \
+    src/fortran/slatec/zbesy.f \
+    src/fortran/slatec/zbinu.f \
+    src/fortran/slatec/zbknu.f \
+    src/fortran/slatec/zbuni.f \
+    src/fortran/slatec/zbunk.f \
+    src/fortran/slatec/zdiv.f \
+    src/fortran/slatec/zexp.f \
+    src/fortran/slatec/zkscl.f \
+    src/fortran/slatec/zlog.f \
+    src/fortran/slatec/zmlri.f \
+    src/fortran/slatec/zmlt.f \
+    src/fortran/slatec/zrati.f \
+    src/fortran/slatec/zs1s2.f \
+    src/fortran/slatec/zseri.f \
+    src/fortran/slatec/zshch.f \
+    src/fortran/slatec/zsqrt.f \
+    src/fortran/slatec/zuchk.f \
+    src/fortran/slatec/zunhj.f \
+    src/fortran/slatec/zuni1.f \
+    src/fortran/slatec/zuni2.f \
+    src/fortran/slatec/zunik.f \
+    src/fortran/slatec/zunk1.f \
+    src/fortran/slatec/zunk2.f \
+    src/fortran/slatec/zuoik.f \
+    src/fortran/slatec/dlngam.f \
+    src/fortran/slatec/balanc.f \
+    src/fortran/slatec/dtensbs.f \
+    src/fortran/slatec/pchim.f
+
+LINPACK_SOURCES = \
+    src/fortran/linpack/dgesl.f \
        src/fortran/linpack/wpade.f \
        src/fortran/linpack/util.f \
        src/fortran/linpack/dgefa.f \
@@ -140,226 +169,174 @@ LINPACK_SOURCES =    src/fortran/linpack/dgesl.f \
        src/fortran/linpack/dpofa.f
 
 ELEMENTARIES_FUNCTIONS_FORTRAN_SOURCES = \
-src/fortran/wasum.f \
-src/fortran/dexpm1.f \
-src/fortran/wwdiv.f \
-src/fortran/wdotcr.f \
-src/fortran/iset.f \
-src/fortran/franck.f \
-src/fortran/dwpowe.f \
-src/fortran/rcsort.f \
-src/fortran/wddiv.f \
-src/fortran/lnblnk.f \
-src/fortran/entier.f \
-src/fortran/round.f \
-src/fortran/cortr.f \
-src/fortran/simple.f \
-src/fortran/split.f \
-src/fortran/wdrdiv.f \
-src/fortran/imcopy.f \
-src/fortran/cbal.f \
-src/fortran/cuproi.f \
-src/fortran/dsum.f \
-src/fortran/urand.f \
-src/fortran/intp.f \
-src/fortran/watan.f \
-src/fortran/wipowe.f \
-src/fortran/wacos.f \
-src/fortran/wdpow1.f \
-src/fortran/dmsum.f \
-src/fortran/dlgama.f \
-src/fortran/exch.f \
-src/fortran/wsign.f \
-src/fortran/kronr.f \
-src/fortran/wrscal.f \
-src/fortran/pythag.f \
-src/fortran/dmmul1.f \
-src/fortran/dwpow.f \
-src/fortran/wmmul.f \
-src/fortran/dsearch.f \
-src/fortran/ddif.f \
-src/fortran/wdiv.f \
-src/fortran/wtan.f \
-src/fortran/ddpow.f \
-src/fortran/magic.f \
-src/fortran/wcerr.f \
-src/fortran/ivimp.f \
-src/fortran/cupro.f \
-src/fortran/dadd.f \
-src/fortran/isort.f \
-src/fortran/hilber.f \
-src/fortran/wdpowe.f \
-src/fortran/wmprod.f \
-src/fortran/wscal.f \
-src/fortran/dlblks.f \
-src/fortran/kronc.f \
-src/fortran/ddrdiv.f \
-src/fortran/dipow.f \
-src/fortran/wshrsl.f \
-src/fortran/wwrdiv.f \
-src/fortran/coshin.f \
-src/fortran/iwamax.f \
-src/fortran/dipowe.f \
-src/fortran/getorient.f \
-src/fortran/cusum.f \
-src/fortran/d1mach.f \
-src/fortran/wbdiag.f \
-src/fortran/ddpow1.f \
-src/fortran/vpythag.f \
-src/fortran/isova0.f \
-src/fortran/wswap.f \
-src/fortran/wwpow1.f \
-src/fortran/getdimfromvar.f \
-src/fortran/gdcp2i.f \
-src/fortran/drdiv.f \
-src/fortran/wmsum.f \
-src/fortran/corth.f \
-src/fortran/mtran.f \
-src/fortran/wwpow.f \
-src/fortran/dvmul.f \
-src/fortran/wclmat.f \
-src/fortran/dsort.f \
-src/fortran/cerr.f \
-src/fortran/rcopy.f \
-src/fortran/wdpow.f \
-src/fortran/orthes.f \
-src/fortran/waxpy.f \
-src/fortran/coef.f \
-src/fortran/dwdiv.f \
-src/fortran/arcosh.f \
-src/fortran/wasin.f \
-src/fortran/wexpm1.f \
-src/fortran/ddpowe.f \
-src/fortran/nearfloat.f \
-src/fortran/dmprod.f \
-src/fortran/wwpowe.f \
-src/fortran/wdotci.f \
-src/fortran/dmcopy.f \
-src/fortran/wexchn.f \
-src/fortran/isoval.f \
-src/fortran/dwrdiv.f \
-src/fortran/wipow.f \
-src/fortran/wlog.f \
-src/fortran/infinity.f \
-src/fortran/dwpow1.f \
-src/fortran/wmul.f \
-src/fortran/dad.f \
-src/fortran/dset.f \
-src/fortran/dtild.f \
-src/fortran/i1mach.f \
-src/fortran/dclmat.f \
-src/fortran/ortran.f \
-src/fortran/bdiag.f \
-src/fortran/wvmul.f \
-src/fortran/dmmul.f \
-src/fortran/wsqrt.f \
-src/fortran/israt.f \
-src/fortran/rat.f \
-src/fortran/find.f
-
-GATEWAY_C_SOURCES = sci_gateway/c/sci_isequal.c \
-sci_gateway/c/sci_matrix.c \
-sci_gateway/c/sci_prod.c \
-sci_gateway/c/sci_expm.c \
-sci_gateway/c/sci_size.c \
-sci_gateway/c/sci_tril.c \
-sci_gateway/c/sci_ceil.c \
-sci_gateway/c/sci_imag.c \
-sci_gateway/c/sci_log.c \
-sci_gateway/c/sci_log10.c \
-sci_gateway/c/sci_log1p.c \
-sci_gateway/c/sci_eye.c \
-sci_gateway/c/sci_clean.c \
-sci_gateway/c/sci_tan.c \
-sci_gateway/c/sci_atan.c \
-sci_gateway/c/sci_triu.c \
-sci_gateway/c/sci_frexp.c \
-sci_gateway/c/sci_cos.c \
-sci_gateway/c/sci_rand.c \
-sci_gateway/c/sci_acos.c \
-sci_gateway/c/sci_sin.c \
-sci_gateway/c/sci_sqrt.c \
-sci_gateway/c/sci_asin.c \
-sci_gateway/c/sci_sign.c \
-sci_gateway/c/sci_zeros.c \
-sci_gateway/c/sci_ones.c \
-sci_gateway/c/sci_rat.c \
-sci_gateway/c/gw_elementary_functions.c \
-sci_gateway/c/sci_number_properties.c \
-sci_gateway/c/sci_diag.c \
-sci_gateway/c/sci_sum.c \
-sci_gateway/c/sci_testmatrix.c \
-sci_gateway/c/sci_abs.c \
-sci_gateway/c/sci_spones.c \
-sci_gateway/c/sci_kron.c \
-sci_gateway/c/sci_cumprod.c \
-sci_gateway/c/sci_cumsum.c \
-sci_gateway/c/sci_dsearch.c \
-sci_gateway/c/sci_nearfloat.c \
-sci_gateway/c/sci_chinesehat.c \
-sci_gateway/c/sci_isreal.c \
-sci_gateway/c/sci_floor.c \
-sci_gateway/c/sci_real.c \
-sci_gateway/c/sci_round.c \
-sci_gateway/c/sci_conj.c \
-sci_gateway/c/sci_int.c \
-sci_gateway/c/sci_imult.c \
-sci_gateway/c/sci_exp.c \
-sci_gateway/c/sci_maxi.c \
-sci_gateway/c/sci_gsort.c \
-sci_gateway/c/sci_isequalbitwise.c \
-sci_gateway/c/sci_base2dec.c \
-sci_gateway/c/sci_dec2base.c \
-sci_gateway/c/sci_find.c
-
-GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/sci_f_isequal.f \
-sci_gateway/fortran/sci_f_maxi.f \
-sci_gateway/fortran/sci_f_testmatrix.f \
-sci_gateway/fortran/sci_f_prod.f \
-sci_gateway/fortran/sci_f_matrix.f \
-sci_gateway/fortran/sci_f_expm.f \
-sci_gateway/fortran/sci_f_size.f \
-sci_gateway/fortran/sci_f_tril.f \
-sci_gateway/fortran/sci_f_ceil.f \
-sci_gateway/fortran/sci_f_rat.f \
-sci_gateway/fortran/sci_f_imag.f \
-sci_gateway/fortran/sci_f_log.f \
-sci_gateway/fortran/sci_f_log1p.f \
-sci_gateway/fortran/sci_f_clean.f \
-sci_gateway/fortran/sci_f_eye.f \
-sci_gateway/fortran/sci_f_tan.f \
-sci_gateway/fortran/sci_f_atan.f \
-sci_gateway/fortran/sci_f_triu.f \
-sci_gateway/fortran/sci_f_frexp.f \
-sci_gateway/fortran/sci_f_cos.f \
-sci_gateway/fortran/sci_f_rand.f \
-sci_gateway/fortran/sci_f_acos.f \
-sci_gateway/fortran/sci_f_sin.f \
-sci_gateway/fortran/sci_f_sqrt.f \
-sci_gateway/fortran/sci_f_asin.f \
-sci_gateway/fortran/sci_f_sign.f \
-sci_gateway/fortran/sci_f_zeros.f \
-sci_gateway/fortran/sci_f_ones.f \
-sci_gateway/fortran/sci_f_diag.f \
-sci_gateway/fortran/sci_f_number_properties.f \
-sci_gateway/fortran/sci_f_sum.f \
-sci_gateway/fortran/sci_f_cumprod.f \
-sci_gateway/fortran/sci_f_abs.f \
-sci_gateway/fortran/sci_f_spones.f \
-sci_gateway/fortran/sci_f_kron.f \
-sci_gateway/fortran/sci_f_dsearch.f \
-sci_gateway/fortran/sci_f_cumsum.f \
-sci_gateway/fortran/sci_f_nearfloat.f \
-sci_gateway/fortran/sci_f_chinesehat.f \
-sci_gateway/fortran/sci_f_isreal.f \
-sci_gateway/fortran/sci_f_floor.f \
-sci_gateway/fortran/sci_f_real.f \
-sci_gateway/fortran/sci_f_round.f \
-sci_gateway/fortran/sci_f_conj.f \
-sci_gateway/fortran/sci_f_int.f \
-sci_gateway/fortran/sci_f_imult.f \
-sci_gateway/fortran/sci_f_exp.f \
-sci_gateway/fortran/sci_f_find.f
+    src/fortran/wasum.f \
+    src/fortran/dexpm1.f \
+    src/fortran/wwdiv.f \
+    src/fortran/wdotcr.f \
+    src/fortran/iset.f \
+    src/fortran/franck.f \
+    src/fortran/dwpowe.f \
+    src/fortran/rcsort.f \
+    src/fortran/wddiv.f \
+    src/fortran/lnblnk.f \
+    src/fortran/entier.f \
+    src/fortran/round.f \
+    src/fortran/cortr.f \
+    src/fortran/simple.f \
+    src/fortran/split.f \
+    src/fortran/wdrdiv.f \
+    src/fortran/imcopy.f \
+    src/fortran/cbal.f \
+    src/fortran/dsum.f \
+    src/fortran/urand.f \
+    src/fortran/intp.f \
+    src/fortran/watan.f \
+    src/fortran/wipowe.f \
+    src/fortran/wacos.f \
+    src/fortran/wdpow1.f \
+    src/fortran/dlgama.f \
+    src/fortran/exch.f \
+    src/fortran/wsign.f \
+    src/fortran/kronr.f \
+    src/fortran/wrscal.f \
+    src/fortran/dmmul1.f \
+    src/fortran/dwpow.f \
+    src/fortran/wmmul.f \
+    src/fortran/ddif.f \
+    src/fortran/wdiv.f \
+    src/fortran/wtan.f \
+    src/fortran/ddpow.f \
+    src/fortran/magic.f \
+    src/fortran/wcerr.f \
+    src/fortran/ivimp.f \
+    src/fortran/dadd.f \
+    src/fortran/isort.f \
+    src/fortran/hilber.f \
+    src/fortran/wdpowe.f \
+    src/fortran/wmprod.f \
+    src/fortran/wscal.f \
+    src/fortran/dlblks.f \
+    src/fortran/kronc.f \
+    src/fortran/ddrdiv.f \
+    src/fortran/dipow.f \
+    src/fortran/wshrsl.f \
+    src/fortran/wwrdiv.f \
+    src/fortran/coshin.f \
+    src/fortran/iwamax.f \
+    src/fortran/dipowe.f \
+    src/fortran/getorient.f \
+    src/fortran/cusum.f \
+    src/fortran/d1mach.f \
+    src/fortran/wbdiag.f \
+    src/fortran/ddpow1.f \
+    src/fortran/vpythag.f \
+    src/fortran/isova0.f \
+    src/fortran/wswap.f \
+    src/fortran/wwpow1.f \
+    src/fortran/getdimfromvar.f \
+    src/fortran/gdcp2i.f \
+    src/fortran/drdiv.f \
+    src/fortran/wmsum.f \
+    src/fortran/corth.f \
+    src/fortran/mtran.f \
+    src/fortran/wwpow.f \
+    src/fortran/dvmul.f \
+    src/fortran/wclmat.f \
+    src/fortran/dsort.f \
+    src/fortran/cerr.f \
+    src/fortran/rcopy.f \
+    src/fortran/wdpow.f \
+    src/fortran/orthes.f \
+    src/fortran/waxpy.f \
+    src/fortran/coef.f \
+    src/fortran/dwdiv.f \
+    src/fortran/arcosh.f \
+    src/fortran/wasin.f \
+    src/fortran/wexpm1.f \
+    src/fortran/ddpowe.f \
+    src/fortran/nearfloat.f \
+    src/fortran/dmprod.f \
+    src/fortran/wwpowe.f \
+    src/fortran/wdotci.f \
+    src/fortran/dmcopy.f \
+    src/fortran/wexchn.f \
+    src/fortran/isoval.f \
+    src/fortran/dwrdiv.f \
+    src/fortran/wipow.f \
+    src/fortran/wlog.f \
+    src/fortran/infinity.f \
+    src/fortran/dwpow1.f \
+    src/fortran/wmul.f \
+    src/fortran/dad.f \
+    src/fortran/dset.f \
+    src/fortran/dtild.f \
+    src/fortran/i1mach.f \
+    src/fortran/dclmat.f \
+    src/fortran/ortran.f \
+    src/fortran/bdiag.f \
+    src/fortran/wvmul.f \
+    src/fortran/dmmul.f \
+    src/fortran/wsqrt.f \
+    src/fortran/israt.f \
+    src/fortran/rat.f \
+    src/fortran/old_pythag.f \
+    src/fortran/danints.f
+
+GATEWAY_C_SOURCES = \
+    sci_gateway/c/sci_sqrt.c \
+    sci_gateway/c/gw_elementary_functions.c \
+    sci_gateway/c/sci_number_properties.c \
+    sci_gateway/c/sci_testmatrix.c \
+    sci_gateway/c/sci_nearfloat.c \
+    sci_gateway/c/sci_isequalbitwise.c \
+    sci_gateway/c/sci_base2dec.c \
+    sci_gateway/c/sci_dec2base.c \
+    sci_gateway/c/sci_log10.c
+
+GATEWAY_CXX_SOURCES =  \
+    sci_gateway/cpp/sci_isequal.cpp \
+    sci_gateway/cpp/elem_func_gw.cpp \
+    sci_gateway/cpp/sci_size.cpp \
+    sci_gateway/cpp/sci_eye.cpp \
+    sci_gateway/cpp/sci_rand.cpp \
+    sci_gateway/cpp/sci_prod.cpp \
+    sci_gateway/cpp/sci_sum.cpp \
+    sci_gateway/cpp/sci_zeros.cpp \
+    sci_gateway/cpp/sci_ones.cpp \
+    sci_gateway/cpp/sci_matrix.cpp \
+    sci_gateway/cpp/sci_abs.cpp \
+    sci_gateway/cpp/sci_acos.cpp \
+    sci_gateway/cpp/sci_asin.cpp \
+    sci_gateway/cpp/sci_atan.cpp \
+    sci_gateway/cpp/sci_ceil.cpp \
+    sci_gateway/cpp/sci_clean.cpp \
+    sci_gateway/cpp/sci_conj.cpp \
+    sci_gateway/cpp/sci_cos.cpp \
+    sci_gateway/cpp/sci_sin.cpp \
+    sci_gateway/cpp/sci_tan.cpp \
+    sci_gateway/cpp/sci_cumsum.cpp \
+    sci_gateway/cpp/sci_cumprod.cpp \
+    sci_gateway/cpp/sci_diag.cpp \
+    sci_gateway/cpp/sci_dsearch.cpp \
+    sci_gateway/cpp/sci_exp.cpp \
+    sci_gateway/cpp/sci_expm.cpp \
+    sci_gateway/cpp/sci_floor.cpp \
+    sci_gateway/cpp/sci_frexp.cpp \
+    sci_gateway/cpp/sci_gsort.cpp \
+    sci_gateway/cpp/sci_imag.cpp \
+    sci_gateway/cpp/sci_imult.cpp \
+    sci_gateway/cpp/sci_int.cpp \
+    sci_gateway/cpp/sci_isreal.cpp \
+    sci_gateway/cpp/sci_kron.cpp \
+    sci_gateway/cpp/sci_log.cpp \
+    sci_gateway/cpp/sci_log1p.cpp \
+    sci_gateway/cpp/sci_max.cpp \
+    sci_gateway/cpp/sci_rat.cpp \
+    sci_gateway/cpp/sci_triu.cpp \
+    sci_gateway/cpp/sci_tril.cpp \
+    sci_gateway/cpp/sci_real.cpp \
+    sci_gateway/cpp/sci_round.cpp\
+    sci_gateway/cpp/sci_sign.cpp
 
 EISPACK_SOURCES = src/fortran/eispack/balbak.f
 
@@ -367,23 +344,39 @@ EISPACK_SOURCES = src/fortran/eispack/balbak.f
 # Disable optimisation of the file hqror2.f comqr3.f pade.f
 noinst_LTLIBRARIES = libdummy-elementary_functions.la
 
-libdummy_elementary_functions_la_SOURCES = src/fortran/eispack/hqror2.f \
-       src/fortran/comqr3.f \
-       src/fortran/linpack/pade.f \
-       src/c/unsfdcopy.c \
-       src/fortran/linpack/icopy.f
+libdummy_elementary_functions_la_SOURCES = \
+    src/fortran/eispack/hqror2.f \
+    src/fortran/comqr3.f \
+    src/fortran/linpack/pade.f \
+    src/c/unsfdcopy.c \
+    src/fortran/linpack/icopy.f
 
-libdummy_elementary_functions_la_CPPFLAGS = -I$(srcdir)/includes/ \
+libdummy_elementary_functions_la_CPPFLAGS = \
+    -I$(srcdir)/includes/ \
     -I$(top_srcdir)/modules/core/includes/ \
     $(AM_CPPFLAGS)
 
 # Includes need for the compilation
-libscielementary_functions_la_CPPFLAGS = -I$(srcdir)/includes/ \
+libscielementary_functions_la_CPPFLAGS = \
+    -I$(srcdir)/includes/ \
        -I$(srcdir)/src/c/ \
+       -I$(srcdir)/src/cpp/ \
+    -I$(top_srcdir)/modules/ast/includes/ast/ \
+    -I$(top_srcdir)/modules/ast/includes/exps/ \
+    -I$(top_srcdir)/modules/ast/includes/operations/ \
+    -I$(top_srcdir)/modules/ast/includes/parse/ \
+    -I$(top_srcdir)/modules/ast/includes/symbol/ \
+    -I$(top_srcdir)/modules/ast/includes/system_env/ \
+    -I$(top_srcdir)/modules/ast/includes/types/ \
+    -I$(top_srcdir)/modules/ast/includes/analysis/ \
+       -I$(top_srcdir)/modules/dynamic_link/includes \
        -I$(top_srcdir)/modules/api_scilab/includes/ \
-       -I$(top_srcdir)/modules/core/src/c/ \
+       -I$(top_srcdir)/modules/console/includes/ \
        -I$(top_srcdir)/modules/localization/includes/ \
        -I$(top_srcdir)/modules/output_stream/includes/ \
+       -I$(top_srcdir)/modules/threads/includes/ \
+       -I$(top_srcdir)/modules/string/includes/ \
+       $(EIGEN_CPPFLAGS) \
        $(AM_CPPFLAGS)
 
 if MAINTAINER_MODE
@@ -394,10 +387,8 @@ noinst_LTLIBRARIES += libscielementary_functions-algo.la libscielementary_functi
 endif
 
 
-
-
 libscielementary_functions_algo_la_SOURCES = $(SLATEC_SOURCES) $(LINPACK_SOURCES)  $(EISPACK_SOURCES) $(ELEMENTARIES_FUNCTIONS_C_SOURCES) $(ELEMENTARIES_FUNCTIONS_FORTRAN_SOURCES) $(ELEMENTARIES_FUNCTIONS_CXX_SOURCES)
-libscielementary_functions_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES)
+libscielementary_functions_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES)
 libscielementary_functions_algo_la_CPPFLAGS = $(libscielementary_functions_la_CPPFLAGS)
 
 # For the code check (splint)
@@ -438,7 +429,9 @@ libscielementary_functions_la_root_DATA =  license.txt
 
 #### elementary_functions : init scripts ####
 libscielementary_functions_la_etcdir = $(mydatadir)/etc
-libscielementary_functions_la_etc_DATA = etc/elementary_functions.quit etc/elementary_functions.start
+libscielementary_functions_la_etc_DATA = \
+    etc/elementary_functions.quit \
+    etc/elementary_functions.start
 
 #### elementary_functions : gateway declaration ####
 libscielementary_functions_la_sci_gatewaydir = $(mydatadir)/sci_gateway