summaryrefslogtreecommitdiffstats
path: root/scilab/modules/Makefile.am
blob: 911d680c68dc78794b08229862395efbf15a1c29 (plain)
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
##########
### Sylvestre Ledru <sylvestre.ledru@inria.fr>
### INRIA - Scilab 2006/2007
##########

# 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 \
dynamic_link \
history_manager \
fileio \
spreadsheet \
tclsci \
renderer \
shell \
completion \
localization \
console \
gui \
jvm \
graphics \
graphic_export \
optimization \
symbolic \
randlib \
statistics \
special_functions \
interpolation \
linear_algebra \
integer \
data_structures \
mexlib \
differential_equations \
cacsd \
polynomials \
boolean \
double \
pvm \
io \
intersci \
metanet \
signal_processing \
core \
interpolation \
sound \
time \
randlib \
sparse \
windows_tools \
functions \
overloading \
maple2scilab \
m2sci \
texmacs \
scipad \
scilab2fortran \
development_tools \
compatibility_functions \
helptools \
fftw \
umfpack \
demo_tools \
genetic_algorithms \
simulated_annealing \
parameters \
matio

#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)

#
pkglib_LTLIBRARIES = libscilab.la
libscilab_la_SOURCES =

libscilab_la_LDFLAGS =

if ! USE_EMBEDDED_LAPACK
libscilab_la_LDFLAGS += $(LAPACK_LIBS)
endif

if ! USE_EMBEDDED_BLAS
libscilab_la_LDFLAGS += $(BLAS_LIBS)
endif

ALL_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/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/graphics/libscigraphics.la \
	$(top_builddir)/modules/graphic_export/libscigraphic_export.la \
	$(top_builddir)/modules/renderer/libscirenderer.la \
	$(top_builddir)/modules/gui/libscigui.la \
	$(top_builddir)/modules/integer/libsciinteger.la \
	$(top_builddir)/modules/interpolation/libsciinterpolation.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/signal_processing/libscisignal_processing.la \
	$(top_builddir)/modules/special_functions/libscispecial_functions.la \
	$(top_builddir)/modules/statistics/libscistatistics.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/console/libsciconsole.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/dynamic_link/libscidynamic_link.la \
	$(top_builddir)/modules/output_stream/libscioutput_stream.la \
	$(top_builddir)/modules/sound/libscisound.la \
	$(top_builddir)/modules/helptools/libscihelptools.la

# These libs are loaded dynamical by Scilab
#	$(top_builddir)/modules/matio/libscimatio.la
#	$(top_builddir)/modules/randlib/libscirandlib.la 
#	$(top_builddir)/modules/optimization/libscioptimization.la 
#	$(top_builddir)/modules/arnoldi/libsciarnoldi.la
#	$(top_builddir)/modules/symbolic/libscisymbolic.la 
#	$(top_builddir)/modules/metanet/libscimetanet.la 
#	$(top_builddir)/modules/spreadsheet/libscispreadsheet.la 

# Dev in progress

# Core modules
libscilab_la_LIBADD = $(ALL_LIBS)

if ENABLE_STATIC
libscilab_la_LIBADD += $(ALL_LIBS)

endif
# Temp stuff
libscilab_la_LIBADD +=	$(top_builddir)/modules/string/libscistring.la

#if MPI
#libscilab_la_LIBADD += $(top_builddir)/modules/mpi/libscimpi.la
#endif

libscilab_la_LIBADD += $(top_builddir)/modules/fftw/libscifftw.la

libscilab_la_LIBADD += $(top_builddir)/modules/umfpack/libsciumfpack.la

libscilab_la_LIBADD += $(top_builddir)/modules/jvm/libscijvm.la

libscilab_la_LIBADD += $(top_builddir)/modules/scicos/libsciscicos.la
if SCICOS
libscilab_la_LIBADD += $(top_builddir)/modules/scicos_blocks/libsciscicos_blocks.la
endif

## Libs
libscilab_la_LIBADD += \
$(top_builddir)/libs/hashtable/libscihashtable.la \
$(top_builddir)/libs/MALLOC/libscimalloc.la  \
$(top_builddir)/libs/doublylinkedlist/libscidoublylinkedlist.la  \
$(top_builddir)/libs/libst/libscilibst.la

if USE_EMBEDDED_BLAS
libscilab_la_LIBADD += $(top_builddir)/libs/blas/libsciblas.la
endif

if USE_EMBEDDED_LAPACK
libscilab_la_LIBADD += \
$(top_builddir)/libs/lapack/libscilapack.la
endif