linear_algebra plugged.
[scilab.git] / scilab / modules / linear_algebra / Makefile.am
index 9660c68..5eb754c 100644 (file)
@@ -3,6 +3,8 @@
 #
 # This file is distributed under the same license as the Scilab package.
 
+LINEAR_ALGEBRA_CPP_SOURCES = src/cpp/scischur.cpp \
+src/cpp/schurSelect.cpp
 
 LINEAR_ALGEBRA_C_SOURCES = src/c/schurtable.c \
 src/c/invert_matrix.c \
@@ -15,7 +17,6 @@ src/c/chol.c \
 src/c/svd.c \
 src/c/rcond.c \
 src/c/det.c \
-src/c/schur.c \
 src/c/lsq.c \
 src/c/issymmetric.c
 
@@ -23,73 +24,45 @@ LINEAR_ALGEBRA_FORTRAN_SOURCES = src/fortran/intdggbal.f \
 src/fortran/intzgeqpf4.f \
 src/fortran/intzgehrd.f \
 src/fortran/intzgesvd1.f \
-src/fortran/intzfschur.f \
 src/fortran/intzgesvd2.f \
-src/fortran/intdgges.f \
-src/fortran/intgschur.f \
 src/fortran/intdgesv3.f \
 src/fortran/intdgesv4.f \
 src/fortran/DGELSY1.f \
-src/fortran/intozgschur.f \
 src/fortran/intdpotrf.f \
 src/fortran/intdoldsvd.f \
 src/fortran/intdgecon.f \
 src/fortran/zoldqr.f \
 src/fortran/intzgetrf.f \
-src/fortran/intoschur.f \
 src/fortran/complexify.f \
 src/fortran/intzgebal.f \
 src/fortran/intzgetri.f \
 src/fortran/intzggbal.f \
-src/fortran/intdgees0.f \
-src/fortran/intdgees1.f \
-src/fortran/intogschur.f \
-src/fortran/intzgges.f \
 src/fortran/intddet.f \
 src/fortran/intzgesv3.f \
 src/fortran/intzgesv4.f \
 src/fortran/intzpotrf.f \
 src/fortran/intzgecon.f \
-src/fortran/intzgschur.f \
 src/fortran/intzoldsvd.f \
 src/fortran/intdgelsy.f \
 src/fortran/intdgeqpf3.f \
-src/fortran/intfschur.f \
 src/fortran/intdgeqpf4.f \
 src/fortran/intdgesvd1.f \
 src/fortran/intdgehrd.f \
-src/fortran/intzgees0.f \
 src/fortran/intdgesvd2.f \
-src/fortran/intzgees1.f \
 src/fortran/intzdet.f \
 src/fortran/doldqr.f \
-src/fortran/scischur.f \
 src/fortran/intdgetrf.f \
 src/fortran/intzgelsy.f \
 src/fortran/intdgetri.f \
 src/fortran/intdgebal.f \
-src/fortran/intzschur.f \
 src/fortran/intzgeqpf3.f \
-src/fortran/writebuf.f
-#src/fortran/issymmetric.f
+src/fortran/writebuf.f \
+src/fortran/intzschur.f
 
 GATEWAY_C_SOURCES = sci_gateway/c/sci_backslash.c \
-sci_gateway/c/sci_hess.c \
-sci_gateway/c/sci_rcond.c \
-sci_gateway/c/sci_bdiag.c \
 sci_gateway/c/sci_slash.c \
 sci_gateway/c/gw_linear_algebra2.c \
-sci_gateway/c/sci_det.c \
-sci_gateway/c/sci_lu.c \
-sci_gateway/c/sci_balanc.c \
-sci_gateway/c/sci_qr.c \
-sci_gateway/c/sci_schur.c \
-sci_gateway/c/sci_chol.c \
-sci_gateway/c/sci_eig.c \
 sci_gateway/c/gw_linear_algebra.c \
-sci_gateway/c/sci_inv.c \
-sci_gateway/c/sci_svd.c \
-sci_gateway/c/sci_lsq.c \
 sci_gateway/c/assembleEigenvectors.c \
 sci_gateway/c/sci_dgeev.c \
 sci_gateway/c/sci_dggev.c \
@@ -100,6 +73,22 @@ sci_gateway/c/sci_zheev.c
 
 GATEWAY_FORTRAN_SOURCES = sci_gateway/fortran/bschur.f
 
+GATEWAY_CPP_SOURCES = sci_gateway/cpp/linear_algebra_gw.cpp \
+sci_gateway/cpp/sci_chol.cpp \
+sci_gateway/cpp/sci_bdiag.cpp \
+sci_gateway/cpp/sci_inv.cpp \
+sci_gateway/cpp/sci_svd.cpp \
+sci_gateway/cpp/sci_rcond.cpp \
+sci_gateway/cpp/sci_qr.cpp \
+sci_gateway/cpp/sci_lu.cpp \
+sci_gateway/cpp/sci_lsq.cpp \
+sci_gateway/cpp/sci_hess.cpp \
+sci_gateway/cpp/sci_spec.cpp \
+sci_gateway/cpp/sci_det.cpp \
+sci_gateway/cpp/sci_balanc.cpp \
+sci_gateway/cpp/sci_schur.cpp
+
+
 libscilinear_algebra_la_CFLAGS=        -I$(srcdir)/includes/ \
 -I$(srcdir)/src/c/ \
 -I$(top_srcdir)/modules/output_stream/includes \
@@ -108,16 +97,29 @@ libscilinear_algebra_la_CFLAGS=    -I$(srcdir)/includes/ \
 -I$(top_srcdir)/modules/elementary_functions/includes \
 -I$(top_srcdir)/modules/api_scilab/includes
 
+libscilinear_algebra_la_CPPFLAGS=      -I$(srcdir)/includes/ \
+-I$(srcdir)/src/cpp/ \
+-I$(top_srcdir)/modules/symbol/includes \
+-I$(top_srcdir)/modules/types/includes \
+-I$(top_srcdir)/modules/ast/includes \
+-I$(top_srcdir)/modules/output_stream/includes \
+-I$(top_srcdir)/modules/api_scilab/includes \
+-I$(top_srcdir)/modules/threads/includes \
+-I$(top_srcdir)/modules/system_env/includes \
+-I$(top_srcdir)/modules/string/includes \
+-I$(top_srcdir)/modules/elementary_functions/includes \
+-I$(top_srcdir)/modules/dynamic_link/includes \
+-I$(top_srcdir)/modules/operations/includes
 
 pkglib_LTLIBRARIES = libscilinear_algebra.la
 noinst_LTLIBRARIES = libscilinear_algebra-algo.la
 
 libscilinear_algebra_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
 
-libscilinear_algebra_algo_la_SOURCES = $(LINEAR_ALGEBRA_FORTRAN_SOURCES) $(LINEAR_ALGEBRA_C_SOURCES)
-libscilinear_algebra_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES)
+libscilinear_algebra_algo_la_SOURCES = $(LINEAR_ALGEBRA_FORTRAN_SOURCES) $(LINEAR_ALGEBRA_C_SOURCES) $(LINEAR_ALGEBRA_CPP_SOURCES)
+libscilinear_algebra_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES) $(GATEWAY_FORTRAN_SOURCES)
 libscilinear_algebra_algo_la_CFLAGS = $(libscilinear_algebra_la_CFLAGS)
-
+libscilinear_algebra_algo_la_CPPFLAGS = $(libscilinear_algebra_la_CPPFLAGS)
 # For the code check (splint)
 CHECK_SRC= $(LINEAR_ALGEBRA_C_SOURCES) $(GATEWAY_C_SOURCES)
 INCLUDE_FLAGS = $(libscilinear_algebra_la_CFLAGS)