5eb754c5a1cab68d2c480dbd48211003fa9698ff
[scilab.git] / scilab / modules / linear_algebra / 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 LINEAR_ALGEBRA_CPP_SOURCES = src/cpp/scischur.cpp \
7 src/cpp/schurSelect.cpp
8
9 LINEAR_ALGEBRA_C_SOURCES = src/c/schurtable.c \
10 src/c/invert_matrix.c \
11 src/c/lu.c \
12 src/c/qr.c \
13 src/c/hess.c \
14 src/c/eigen.c \
15 src/c/balanc.c \
16 src/c/chol.c \
17 src/c/svd.c \
18 src/c/rcond.c \
19 src/c/det.c \
20 src/c/lsq.c \
21 src/c/issymmetric.c
22
23 LINEAR_ALGEBRA_FORTRAN_SOURCES = src/fortran/intdggbal.f \
24 src/fortran/intzgeqpf4.f \
25 src/fortran/intzgehrd.f \
26 src/fortran/intzgesvd1.f \
27 src/fortran/intzgesvd2.f \
28 src/fortran/intdgesv3.f \
29 src/fortran/intdgesv4.f \
30 src/fortran/DGELSY1.f \
31 src/fortran/intdpotrf.f \
32 src/fortran/intdoldsvd.f \
33 src/fortran/intdgecon.f \
34 src/fortran/zoldqr.f \
35 src/fortran/intzgetrf.f \
36 src/fortran/complexify.f \
37 src/fortran/intzgebal.f \
38 src/fortran/intzgetri.f \
39 src/fortran/intzggbal.f \
40 src/fortran/intddet.f \
41 src/fortran/intzgesv3.f \
42 src/fortran/intzgesv4.f \
43 src/fortran/intzpotrf.f \
44 src/fortran/intzgecon.f \
45 src/fortran/intzoldsvd.f \
46 src/fortran/intdgelsy.f \
47 src/fortran/intdgeqpf3.f \
48 src/fortran/intdgeqpf4.f \
49 src/fortran/intdgesvd1.f \
50 src/fortran/intdgehrd.f \
51 src/fortran/intdgesvd2.f \
52 src/fortran/intzdet.f \
53 src/fortran/doldqr.f \
54 src/fortran/intdgetrf.f \
55 src/fortran/intzgelsy.f \
56 src/fortran/intdgetri.f \
57 src/fortran/intdgebal.f \
58 src/fortran/intzgeqpf3.f \
59 src/fortran/writebuf.f \
60 src/fortran/intzschur.f
61
62 GATEWAY_C_SOURCES = sci_gateway/c/sci_backslash.c \
63 sci_gateway/c/sci_slash.c \
64 sci_gateway/c/gw_linear_algebra2.c \
65 sci_gateway/c/gw_linear_algebra.c \
66 sci_gateway/c/assembleEigenvectors.c \
67 sci_gateway/c/sci_dgeev.c \
68 sci_gateway/c/sci_dggev.c \
69 sci_gateway/c/sci_dsyev.c \
70 sci_gateway/c/sci_zgeev.c \
71 sci_gateway/c/sci_zggev.c \
72 sci_gateway/c/sci_zheev.c
73
74 GATEWAY_FORTRAN_SOURCES = sci_gateway/fortran/bschur.f
75
76 GATEWAY_CPP_SOURCES = sci_gateway/cpp/linear_algebra_gw.cpp \
77 sci_gateway/cpp/sci_chol.cpp \
78 sci_gateway/cpp/sci_bdiag.cpp \
79 sci_gateway/cpp/sci_inv.cpp \
80 sci_gateway/cpp/sci_svd.cpp \
81 sci_gateway/cpp/sci_rcond.cpp \
82 sci_gateway/cpp/sci_qr.cpp \
83 sci_gateway/cpp/sci_lu.cpp \
84 sci_gateway/cpp/sci_lsq.cpp \
85 sci_gateway/cpp/sci_hess.cpp \
86 sci_gateway/cpp/sci_spec.cpp \
87 sci_gateway/cpp/sci_det.cpp \
88 sci_gateway/cpp/sci_balanc.cpp \
89 sci_gateway/cpp/sci_schur.cpp
90
91
92 libscilinear_algebra_la_CFLAGS=         -I$(srcdir)/includes/ \
93 -I$(srcdir)/src/c/ \
94 -I$(top_srcdir)/modules/output_stream/includes \
95 -I$(top_srcdir)/modules/dynamic_link/includes \
96 -I$(top_srcdir)/modules/operations/includes \
97 -I$(top_srcdir)/modules/elementary_functions/includes \
98 -I$(top_srcdir)/modules/api_scilab/includes
99
100 libscilinear_algebra_la_CPPFLAGS=       -I$(srcdir)/includes/ \
101 -I$(srcdir)/src/cpp/ \
102 -I$(top_srcdir)/modules/symbol/includes \
103 -I$(top_srcdir)/modules/types/includes \
104 -I$(top_srcdir)/modules/ast/includes \
105 -I$(top_srcdir)/modules/output_stream/includes \
106 -I$(top_srcdir)/modules/api_scilab/includes \
107 -I$(top_srcdir)/modules/threads/includes \
108 -I$(top_srcdir)/modules/system_env/includes \
109 -I$(top_srcdir)/modules/string/includes \
110 -I$(top_srcdir)/modules/elementary_functions/includes \
111 -I$(top_srcdir)/modules/dynamic_link/includes \
112 -I$(top_srcdir)/modules/operations/includes
113
114 pkglib_LTLIBRARIES = libscilinear_algebra.la
115 noinst_LTLIBRARIES = libscilinear_algebra-algo.la
116
117 libscilinear_algebra_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
118
119 libscilinear_algebra_algo_la_SOURCES = $(LINEAR_ALGEBRA_FORTRAN_SOURCES) $(LINEAR_ALGEBRA_C_SOURCES) $(LINEAR_ALGEBRA_CPP_SOURCES)
120 libscilinear_algebra_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES) $(GATEWAY_FORTRAN_SOURCES)
121 libscilinear_algebra_algo_la_CFLAGS = $(libscilinear_algebra_la_CFLAGS)
122 libscilinear_algebra_algo_la_CPPFLAGS = $(libscilinear_algebra_la_CPPFLAGS)
123 # For the code check (splint)
124 CHECK_SRC= $(LINEAR_ALGEBRA_C_SOURCES) $(GATEWAY_C_SOURCES)
125 INCLUDE_FLAGS = $(libscilinear_algebra_la_CFLAGS)
126
127 libscilinear_algebra_la_LIBADD = libscilinear_algebra-algo.la $(top_builddir)/modules/elementary_functions/libscielementary_functions.la $(top_builddir)/modules/dynamic_link/libscidynamic_link.la $(top_builddir)/modules/arnoldi/libsciarnoldi.la  $(top_builddir)/modules/output_stream/libscioutput_stream.la
128
129 #### Target ######
130 modulename=linear_algebra
131
132
133 #### linear_algebra : Conf files ####
134 libscilinear_algebra_la_rootdir = $(mydatadir)
135 libscilinear_algebra_la_root_DATA =  license.txt 
136
137
138 #### linear_algebra : init scripts ####
139 libscilinear_algebra_la_etcdir = $(mydatadir)/etc
140 libscilinear_algebra_la_etc_DATA = etc/linear_algebra.quit etc/linear_algebra.start
141 #### linear_algebra : gateway declaration ####
142 libscilinear_algebra_la_sci_gatewaydir = $(mydatadir)/sci_gateway
143 libscilinear_algebra_la_sci_gateway_DATA = sci_gateway/linear_algebra_gateway.xml
144
145
146 include $(top_srcdir)/Makefile.incl.am