1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
|
#
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) INRIA - 2006-2008 - Sylvestre Ledru
# Copyright (C) DIGITEO - 2009 - Sylvestre Ledru
#
# This file must be used under the terms of the CeCILL.
# This source file is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# The order DOES matter !!!
# core is the main module of Scilab. All the compilation deps has been removed
# since it already linked almost the whole world
SUBDIRS = core
SUBDIRS += \
output_stream \
action_binding \
arnoldi \
elementary_functions \
string \
api_scilab \
dynamic_link \
fileio \
history_manager \
spreadsheet \
tclsci \
localization \
renderer \
shell \
completion \
console \
graphic_export \
gui \
jvm \
graphics \
optimization \
symbolic \
randlib \
statistics \
special_functions \
interpolation \
linear_algebra \
integer \
data_structures \
mexlib \
differential_equations \
cacsd \
polynomials \
boolean \
double \
pvm \
io \
intersci \
signal_processing \
core \
call_scilab \
interpolation \
sound \
time \
randlib \
sparse \
windows_tools \
functions \
overloading \
maple2scilab \
m2sci \
texmacs \
development_tools \
compatibility_functions \
helptools \
fftw \
umfpack \
demo_tools \
genetic_algorithms \
simulated_annealing \
parameters \
matio \
atoms \
hdf5 \
xcos \
xpad
#umfpack
#if MPI
#SUBDIRS += mpi
#endif
if SCICOS
SUBDIRS += scicos_blocks
endif
SUBDIRS += scicos
SUBDIRS += .
# javasci should be compile at the end because it needs libscilab.la
# Don't forget that the order in subdirs does matter !!!
if JAVASCI
SUBDIRS += javasci
endif
#### Basic files ####
libscilab_la_rootdir = $(mydatadir)
# libscilab is the full library with the GUI
# libscilab-cli is for scilab-cli (without GUI)
pkglib_LTLIBRARIES = libscilab.la libscilab-cli.la
libscilab_la_SOURCES =
libscilab_cli_la_SOURCES =
libscilab_la_LDFLAGS = $(LAPACK_LIBS) $(BLAS_LIBS)
libscilab_cli_la_LDFLAGS = $(LAPACK_LIBS) $(BLAS_LIBS)
EXTERNAL_LIBS = $(top_builddir)/libs/hashtable/libscihashtable.la \
$(top_builddir)/libs/MALLOC/libscimalloc.la \
$(top_builddir)/libs/doublylinkedlist/libscidoublylinkedlist.la \
$(top_builddir)/libs/libst/libscilibst.la
GUI_LIBS = $(top_builddir)/modules/gui/libscigui.la \
$(top_builddir)/modules/renderer/libscirenderer.la \
$(top_builddir)/modules/graphics/libscigraphics.la \
$(top_builddir)/modules/graphic_export/libscigraphic_export.la \
$(top_builddir)/modules/console/libsciconsole.la \
$(top_builddir)/modules/jvm/libscijvm.la \
$(top_builddir)/modules/xcos/libscixcos.la \
$(top_builddir)/modules/xpad/libscixpad.la
if HDF5
GUI_LIBS += $(top_builddir)/modules/hdf5/libscihdf5-forceload.la
# HDF5 is here because it needs the JVM (see bug #5481)
endif
NO_GUI_LIBS = $(top_builddir)/modules/gui/libscigui-disable.la \
$(top_builddir)/modules/graphics/libscigraphics-disable.la \
$(top_builddir)/modules/graphic_export/libscigraphic_export-disable.la \
$(top_builddir)/modules/console/libsciconsole-disable.la \
$(top_builddir)/modules/jvm/libscijvm-disable.la \
$(top_builddir)/modules/xcos/libscixcos-disable.la \
$(top_builddir)/modules/xpad/libscixpad-disable.la
if HDF5
NO_GUI_LIBS += $(top_builddir)/modules/hdf5/libscihdf5-forceload-disable.la
# HDF5 is here because it needs the JVM (see bug #5481)
endif
ENGINE_LIBS = $(top_builddir)/modules/fileio/libscifileio.la \
$(top_builddir)/modules/mexlib/libmex.la \
$(top_builddir)/modules/boolean/libsciboolean.la \
$(top_builddir)/modules/cacsd/libscicacsd.la \
$(top_builddir)/modules/core/libscicore.la \
$(top_builddir)/modules/call_scilab/libscicall_scilab.la \
$(top_builddir)/modules/api_scilab/libsciapi_scilab.la \
$(top_builddir)/modules/data_structures/libscidata_structures.la \
$(top_builddir)/modules/differential_equations/libscidifferential_equations.la \
$(top_builddir)/modules/double/libscidouble.la \
$(top_builddir)/modules/elementary_functions/libscielementary_functions.la \
$(top_builddir)/modules/fileio/libscifileio.la \
$(top_builddir)/modules/integer/libsciinteger.la \
$(top_builddir)/modules/intersci/libsciintersci.la \
$(top_builddir)/modules/io/libsciio.la \
$(top_builddir)/modules/linear_algebra/libscilinear_algebra.la \
$(top_builddir)/modules/localization/libscilocalization.la \
$(top_builddir)/modules/polynomials/libscipolynomials.la \
$(top_builddir)/modules/special_functions/libscispecial_functions.la \
$(top_builddir)/modules/time/libscitime.la \
$(top_builddir)/modules/windows_tools/libsciwindows_tools.la \
$(top_builddir)/modules/tclsci/libscitclsci.la \
$(top_builddir)/modules/pvm/libscipvm.la \
$(top_builddir)/modules/sparse/libscisparse.la \
$(top_builddir)/modules/shell/libscishell.la \
$(top_builddir)/modules/completion/libscicompletion.la \
$(top_builddir)/modules/history_manager/libscihistory_manager.la \
$(top_builddir)/modules/action_binding/libsciaction_binding.la \
$(top_builddir)/modules/output_stream/libscioutput_stream.la \
$(top_builddir)/modules/string/libscistring.la \
$(top_builddir)/modules/fftw/libscifftw.la \
$(top_builddir)/modules/hdf5/libscihdf5.la \
$(top_builddir)/modules/functions/libscifunctions.la
# These libraries are loaded dynamically from Scilab.
ENGINE_LIBS_DYNAMIC_LOAD = \
$(top_builddir)/modules/optimization/libscioptimization.la \
$(top_builddir)/modules/signal_processing/libscisignal_processing.la \
$(top_builddir)/modules/interpolation/libsciinterpolation.la \
$(top_builddir)/modules/symbolic/libscisymbolic.la \
$(top_builddir)/modules/arnoldi/libsciarnoldi.la \
$(top_builddir)/modules/statistics/libscistatistics.la \
$(top_builddir)/modules/randlib/libscirandlib.la \
$(top_builddir)/modules/scicos_blocks/libsciscicos_blocks.la \
$(top_builddir)/modules/scicos/libsciscicos.la \
$(top_builddir)/modules/dynamic_link/libscidynamic_link.la \
$(top_builddir)/modules/sound/libscisound.la \
$(top_builddir)/modules/spreadsheet/libscispreadsheet.la \
$(top_builddir)/modules/umfpack/libsciumfpack.la \
$(top_builddir)/modules/matio/libscimatio.la \
$(top_builddir)/modules/helptools/libscihelptools.la
# Core modules
libscilab_la_LIBADD = $(ENGINE_LIBS) $(OTHER_LIBS) $(EXTERNAL_LIBS)
if GUI
libscilab_la_LIBADD += $(GUI_LIBS)
else
libscilab_la_LIBADD += $(NO_GUI_LIBS)
endif
# Core modules
libscilab_cli_la_LIBADD = $(ENGINE_LIBS) $(NO_GUI_LIBS) $(OTHER_LIBS) $(EXTERNAL_LIBS)
if ENABLE_STATIC
libscilab_la_LIBADD += $(ALL_LIBS)
endif
#if MPI
#libscilab_la_LIBADD += $(top_builddir)/modules/mpi/libscimpi.la
#endif
|