GPL + CeCILL Header change
[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 = \
7     src/cpp/scischur.cpp \
8     src/cpp/schurSelect.cpp
9
10 LINEAR_ALGEBRA_C_SOURCES = \
11     src/c/schurtable.c \
12     src/c/issymmetric.c \
13     src/c/lu.c \
14     src/c/qr.c \
15     src/c/hess.c \
16     src/c/eigen.c \
17     src/c/balanc.c \
18     src/c/chol.c \
19     src/c/svd.c \
20     src/c/rcond.c \
21     src/c/det.c \
22     src/c/lsq.c \
23     src/c/norm.c
24
25 LINEAR_ALGEBRA_FORTRAN_SOURCES = \
26     src/fortran/DGELSY1.f \
27     src/fortran/ZGELSY1.f \
28     src/fortran/find.f
29
30 GATEWAY_C_SOURCES = \
31     sci_gateway/c/assembleEigenvectors.c \
32     sci_gateway/c/sci_norm.c
33
34 GATEWAY_CPP_SOURCES = \
35     sci_gateway/cpp/linear_algebra_gw.cpp \
36     sci_gateway/cpp/sci_chol.cpp \
37     sci_gateway/cpp/sci_bdiag.cpp \
38     sci_gateway/cpp/sci_inv.cpp \
39     sci_gateway/cpp/sci_svd.cpp \
40     sci_gateway/cpp/sci_rcond.cpp \
41     sci_gateway/cpp/sci_qr.cpp \
42     sci_gateway/cpp/sci_lu.cpp \
43     sci_gateway/cpp/sci_lsq.cpp \
44     sci_gateway/cpp/sci_hess.cpp \
45     sci_gateway/cpp/sci_spec.cpp \
46     sci_gateway/cpp/sci_det.cpp \
47     sci_gateway/cpp/sci_balanc.cpp \
48     sci_gateway/cpp/sci_schur.cpp
49
50 libscilinear_algebra_la_CPPFLAGS = \
51     -I$(srcdir)/includes/ \
52     -I$(srcdir)/src/c/ \
53     -I$(srcdir)/src/cpp/ \
54     -I$(top_srcdir)/modules/ast/includes/ast/ \
55     -I$(top_srcdir)/modules/ast/includes/exps/ \
56     -I$(top_srcdir)/modules/ast/includes/operations/ \
57     -I$(top_srcdir)/modules/ast/includes/parse/ \
58     -I$(top_srcdir)/modules/ast/includes/symbol/ \
59     -I$(top_srcdir)/modules/ast/includes/system_env/ \
60     -I$(top_srcdir)/modules/ast/includes/types/ \
61     -I$(top_srcdir)/modules/ast/includes/analysis/ \
62     -I$(top_srcdir)/modules/output_stream/includes \
63     -I$(top_srcdir)/modules/api_scilab/includes \
64     -I$(top_srcdir)/modules/console/includes \
65     -I$(top_srcdir)/modules/threads/includes \
66     -I$(top_srcdir)/modules/string/includes \
67     -I$(top_srcdir)/modules/elementary_functions/includes \
68     -I$(top_srcdir)/modules/dynamic_link/includes \
69     -I$(top_srcdir)/modules/dynamic_link/includes \
70     -I$(top_srcdir)/modules/localization/includes/ \
71     $(AM_CPPFLAGS)
72
73 if MAINTAINER_MODE
74 pkglib_LTLIBRARIES = libscilinear_algebra.la
75 noinst_LTLIBRARIES = libscilinear_algebra-algo.la
76 else
77 noinst_LTLIBRARIES = libscilinear_algebra-algo.la libscilinear_algebra.la
78 endif
79
80
81
82 libscilinear_algebra_algo_la_SOURCES = $(LINEAR_ALGEBRA_FORTRAN_SOURCES) $(LINEAR_ALGEBRA_C_SOURCES) $(LINEAR_ALGEBRA_CPP_SOURCES)
83 libscilinear_algebra_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
84 libscilinear_algebra_algo_la_CPPFLAGS = $(libscilinear_algebra_la_CPPFLAGS)
85
86 # For the code check (splint)
87 CHECK_SRC= $(LINEAR_ALGEBRA_C_SOURCES) $(GATEWAY_C_SOURCES)
88 INCLUDE_FLAGS = $(libscilinear_algebra_la_CPPFLAGS)
89
90 libscilinear_algebra_la_LIBADD = libscilinear_algebra-algo.la
91
92 #### Target ######
93 modulename=linear_algebra
94
95
96 #### linear_algebra : Conf files ####
97 libscilinear_algebra_la_rootdir = $(mydatadir)
98 libscilinear_algebra_la_root_DATA =  license.txt
99
100
101 #### linear_algebra : init scripts ####
102 libscilinear_algebra_la_etcdir = $(mydatadir)/etc
103 libscilinear_algebra_la_etc_DATA = etc/linear_algebra.quit etc/linear_algebra.start
104 #### linear_algebra : gateway declaration ####
105 libscilinear_algebra_la_sci_gatewaydir = $(mydatadir)/sci_gateway
106 libscilinear_algebra_la_sci_gateway_DATA = sci_gateway/linear_algebra_gateway.xml
107
108
109 include $(top_srcdir)/Makefile.incl.am