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