summaryrefslogtreecommitdiffstats
path: root/scilab/modules/Makefile.am
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre.ledru@scilab.org>2009-03-18 11:41:07 +0100
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2009-03-18 11:41:07 +0100
commit65a4272e9bbd1b93f0dfae35bb61e11367e48c5a (patch)
treec85b90e250624d6e2794233544fc6013aa3a72dd /scilab/modules/Makefile.am
parentf392cf78292e5142d1544ad226f362f8e1da1fb6 (diff)
parente76f3e75ac451d42a688a5e373199de7c0138a27 (diff)
downloadscilab-65a4272e9bbd1b93f0dfae35bb61e11367e48c5a.zip
scilab-65a4272e9bbd1b93f0dfae35bb61e11367e48c5a.tar.gz
Merge branch 'master' of git@git.scilab.org:scilab
Conflicts: scilab/bin/scilab
Diffstat (limited to 'scilab/modules/Makefile.am')
-rw-r--r--scilab/modules/Makefile.am106
1 files changed, 54 insertions, 52 deletions
diff --git a/scilab/modules/Makefile.am b/scilab/modules/Makefile.am
index 4cc6fa4..776e7b9 100644
--- a/scilab/modules/Makefile.am
+++ b/scilab/modules/Makefile.am
@@ -1,7 +1,14 @@
1########## 1#
2### Sylvestre Ledru <sylvestre.ledru@inria.fr> 2# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3### INRIA - Scilab 2006/2007 3# Copyright (C) INRIA - 2006-2008 - Sylvestre Ledru
4########## 4# Copyright (C) DIGITEO - 2009 - Sylvestre Ledru
5#
6# This file must be used under the terms of the CeCILL.
7# This source file is licensed as described in the file COPYING, which
8# you should have received as part of this distribution. The terms
9# are also available at
10# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11#
5 12
6# The order DOES matter !!! 13# The order DOES matter !!!
7 14
@@ -50,6 +57,7 @@ intersci \
50metanet \ 57metanet \
51signal_processing \ 58signal_processing \
52core \ 59core \
60call_scilab \
53interpolation \ 61interpolation \
54sound \ 62sound \
55time \ 63time \
@@ -97,34 +105,46 @@ endif
97#### Basic files #### 105#### Basic files ####
98libscilab_la_rootdir = $(mydatadir) 106libscilab_la_rootdir = $(mydatadir)
99 107
100# 108# libscilab is the full library with the GUI
101pkglib_LTLIBRARIES = libscilab.la 109# libscilab-cli is for scilab-cli (without GUI)
110pkglib_LTLIBRARIES = libscilab.la libscilab-cli.la
102libscilab_la_SOURCES = 111libscilab_la_SOURCES =
112libscilab_cli_la_SOURCES =
103 113
104libscilab_la_LDFLAGS = 114libscilab_la_LDFLAGS = $(LAPACK_LIBS) $(BLAS_LIBS)
115libscilab_cli_la_LDFLAGS = $(LAPACK_LIBS) $(BLAS_LIBS)
105 116
106if ! USE_EMBEDDED_LAPACK 117EXTERNAL_LIBS = $(top_builddir)/libs/hashtable/libscihashtable.la \
107libscilab_la_LDFLAGS += $(LAPACK_LIBS) 118$(top_builddir)/libs/MALLOC/libscimalloc.la \
108endif 119$(top_builddir)/libs/doublylinkedlist/libscidoublylinkedlist.la \
120$(top_builddir)/libs/libst/libscilibst.la
109 121
110if ! USE_EMBEDDED_BLAS
111libscilab_la_LDFLAGS += $(BLAS_LIBS)
112endif
113 122
114ALL_LIBS= $(top_builddir)/modules/fileio/libscifileio.la \ 123GUI_LIBS = $(top_builddir)/modules/gui/libscigui.la \
115$(top_builddir)/modules/mexlib/libmex.la \ 124 $(top_builddir)/modules/renderer/libscirenderer.la \
125 $(top_builddir)/modules/graphics/libscigraphics.la \
126 $(top_builddir)/modules/graphic_export/libscigraphic_export.la \
127 $(top_builddir)/modules/console/libsciconsole.la \
128 $(top_builddir)/modules/jvm/libscijvm.la
129
130NO_GUI_LIBS = $(top_builddir)/modules/gui/libscigui-disable.la \
131 $(top_builddir)/modules/renderer/libscirenderer-disable.la \
132 $(top_builddir)/modules/graphics/libscigraphics-disable.la \
133 $(top_builddir)/modules/graphic_export/libscigraphic_export-disable.la \
134 $(top_builddir)/modules/console/libsciconsole-disable.la \
135 $(top_builddir)/modules/jvm/libscijvm-disable.la
136
137ENGINE_LIBS = $(top_builddir)/modules/fileio/libscifileio.la \
138 $(top_builddir)/modules/mexlib/libmex.la \
116 $(top_builddir)/modules/boolean/libsciboolean.la \ 139 $(top_builddir)/modules/boolean/libsciboolean.la \
117 $(top_builddir)/modules/cacsd/libscicacsd.la \ 140 $(top_builddir)/modules/cacsd/libscicacsd.la \
118 $(top_builddir)/modules/core/libscicore.la \ 141 $(top_builddir)/modules/core/libscicore.la \
142 $(top_builddir)/modules/call_scilab/libscicall_scilab.la \
119 $(top_builddir)/modules/data_structures/libscidata_structures.la \ 143 $(top_builddir)/modules/data_structures/libscidata_structures.la \
120 $(top_builddir)/modules/differential_equations/libscidifferential_equations.la \ 144 $(top_builddir)/modules/differential_equations/libscidifferential_equations.la \
121 $(top_builddir)/modules/double/libscidouble.la \ 145 $(top_builddir)/modules/double/libscidouble.la \
122 $(top_builddir)/modules/elementary_functions/libscielementary_functions.la \ 146 $(top_builddir)/modules/elementary_functions/libscielementary_functions.la \
123 $(top_builddir)/modules/fileio/libscifileio.la \ 147 $(top_builddir)/modules/fileio/libscifileio.la \
124 $(top_builddir)/modules/graphics/libscigraphics.la \
125 $(top_builddir)/modules/graphic_export/libscigraphic_export.la \
126 $(top_builddir)/modules/renderer/libscirenderer.la \
127 $(top_builddir)/modules/gui/libscigui.la \
128 $(top_builddir)/modules/integer/libsciinteger.la \ 148 $(top_builddir)/modules/integer/libsciinteger.la \
129 $(top_builddir)/modules/intersci/libsciintersci.la \ 149 $(top_builddir)/modules/intersci/libsciintersci.la \
130 $(top_builddir)/modules/io/libsciio.la \ 150 $(top_builddir)/modules/io/libsciio.la \
@@ -138,7 +158,6 @@ $(top_builddir)/modules/mexlib/libmex.la \
138 $(top_builddir)/modules/pvm/libscipvm.la \ 158 $(top_builddir)/modules/pvm/libscipvm.la \
139 $(top_builddir)/modules/sparse/libscisparse.la \ 159 $(top_builddir)/modules/sparse/libscisparse.la \
140 $(top_builddir)/modules/shell/libscishell.la \ 160 $(top_builddir)/modules/shell/libscishell.la \
141 $(top_builddir)/modules/console/libsciconsole.la \
142 $(top_builddir)/modules/completion/libscicompletion.la \ 161 $(top_builddir)/modules/completion/libscicompletion.la \
143 $(top_builddir)/modules/history_manager/libscihistory_manager.la \ 162 $(top_builddir)/modules/history_manager/libscihistory_manager.la \
144 $(top_builddir)/modules/action_binding/libsciaction_binding.la \ 163 $(top_builddir)/modules/action_binding/libsciaction_binding.la \
@@ -155,48 +174,31 @@ $(top_builddir)/modules/mexlib/libmex.la \
155 $(top_builddir)/modules/spreadsheet/libscispreadsheet.la \ 174 $(top_builddir)/modules/spreadsheet/libscispreadsheet.la \
156 $(top_builddir)/modules/statistics/libscistatistics.la \ 175 $(top_builddir)/modules/statistics/libscistatistics.la \
157 $(top_builddir)/modules/signal_processing/libscisignal_processing.la \ 176 $(top_builddir)/modules/signal_processing/libscisignal_processing.la \
158 $(top_builddir)/modules/interpolation/libsciinterpolation.la 177 $(top_builddir)/modules/interpolation/libsciinterpolation.la \
178 $(top_builddir)/modules/string/libscistring.la
179
180OTHER_LIBS = $(top_builddir)/modules/fftw/libscifftw.la \
181$(top_builddir)/modules/umfpack/libsciumfpack.la \
182$(top_builddir)/modules/scicos/libsciscicos.la
183
184if SCICOS
185OTHER_LIBS += $(top_builddir)/modules/scicos_blocks/libsciscicos_blocks.la
186endif
187
159 188
160# Dev in progress 189# Dev in progress
161 190
162# Core modules 191# Core modules
163libscilab_la_LIBADD = $(ALL_LIBS) 192libscilab_la_LIBADD = $(ENGINE_LIBS) $(GUI_LIBS) $(OTHER_LIBS) $(EXTERNAL_LIBS)
193
194# Core modules
195libscilab_cli_la_LIBADD = $(ENGINE_LIBS) $(NO_GUI_LIBS) $(OTHER_LIBS) $(EXTERNAL_LIBS)
164 196
165if ENABLE_STATIC 197if ENABLE_STATIC
166libscilab_la_LIBADD += $(ALL_LIBS) 198libscilab_la_LIBADD += $(ALL_LIBS)
167 199
168endif 200endif
169# Temp stuff
170libscilab_la_LIBADD += $(top_builddir)/modules/string/libscistring.la
171 201
172#if MPI 202#if MPI
173#libscilab_la_LIBADD += $(top_builddir)/modules/mpi/libscimpi.la 203#libscilab_la_LIBADD += $(top_builddir)/modules/mpi/libscimpi.la
174#endif 204#endif
175
176libscilab_la_LIBADD += $(top_builddir)/modules/fftw/libscifftw.la
177
178libscilab_la_LIBADD += $(top_builddir)/modules/umfpack/libsciumfpack.la
179
180libscilab_la_LIBADD += $(top_builddir)/modules/jvm/libscijvm.la
181
182libscilab_la_LIBADD += $(top_builddir)/modules/scicos/libsciscicos.la
183if SCICOS
184libscilab_la_LIBADD += $(top_builddir)/modules/scicos_blocks/libsciscicos_blocks.la
185endif
186
187## Libs
188libscilab_la_LIBADD += \
189$(top_builddir)/libs/hashtable/libscihashtable.la \
190$(top_builddir)/libs/MALLOC/libscimalloc.la \
191$(top_builddir)/libs/doublylinkedlist/libscidoublylinkedlist.la \
192$(top_builddir)/libs/libst/libscilibst.la
193
194if USE_EMBEDDED_BLAS
195# Use the blas provided into the Scilab tarball
196libscilab_la_LIBADD += $(top_builddir)/libs/blas/libsciblas.la
197endif
198
199if USE_EMBEDDED_LAPACK
200# Use the lapack provided into the Scilab tarball
201libscilab_la_LIBADD += $(top_builddir)/libs/lapack/libscilapack.la
202endif