fix linux compilation
[scilab.git] / scilab / modules / ast / Makefile.am
1 ##
2 ##  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 ##  Copyright (C) 2007-2008 - DIGITEO - Bruno JOFRET
4 ##  Copyright (C) 2007-2008 - DIGITEO - Antoine ELIAS
5 ##
6 # Copyright (C) 2012 - 2016 - Scilab Enterprises
7 #
8 # This file is hereby licensed under the terms of the GNU GPL v2.0,
9 # pursuant to article 5.3.4 of the CeCILL v.2.1.
10 # This file was originally licensed under the terms of the CeCILL v2.1,
11 # and continues to be available under such terms.
12 # For more information, see the COPYING file which you should have received
13 # along with this program.
14 ##
15 ##
16
17 pkglib_LTLIBRARIES      = libsciast.la
18
19 libsciast_la_SOURCES = \
20 src/c/operations/doublecomplex.c \
21 src/c/operations/invert_matrix.c \
22 src/c/operations/matrix_addition.c \
23 src/c/operations/matrix_division.c \
24 src/c/operations/matrix_finite.c \
25 src/c/operations/matrix_kronecker.c \
26 src/c/operations/matrix_multiplication.c \
27 src/c/operations/matrix_power.c \
28 src/c/operations/matrix_transpose.c \
29 src/c/operations/operations_tools.c \
30 src/cpp/ast/expHistory.cpp \
31 src/cpp/ast/macrovarvisitor.cpp \
32 src/cpp/ast/printvisitor.cpp \
33 src/cpp/ast/runvisitor.cpp \
34 src/cpp/ast/shortcutvisitor.cpp \
35 src/cpp/ast/treevisitor.cpp \
36 src/cpp/ast/visitor_common.cpp \
37 src/cpp/ast/consoledebugger.cpp \
38 src/cpp/ast/debuggervisitor.cpp \
39 src/cpp/ast/debugmanager.cpp \
40 src/cpp/ast/prettyprintvisitor.cpp \
41 src/cpp/operations/interface_addition.cpp \
42 src/cpp/operations/operations.cpp \
43 src/cpp/operations/types_addition.cpp \
44 src/cpp/operations/types_and.cpp \
45 src/cpp/operations/types_comparison_eq.cpp \
46 src/cpp/operations/types_comparison_lt_le_gt_ge.cpp \
47 src/cpp/operations/types_comparison_ne.cpp \
48 src/cpp/operations/types_divide.cpp \
49 src/cpp/operations/types_dotdivide.cpp \
50 src/cpp/operations/types_dotmultiplication.cpp \
51 src/cpp/operations/types_finite.cpp \
52 src/cpp/operations/types_kronecker.cpp \
53 src/cpp/operations/types_ldivide.cpp \
54 src/cpp/operations/types_multiplication.cpp \
55 src/cpp/operations/types_opposite.cpp \
56 src/cpp/operations/types_or.cpp \
57 src/cpp/operations/types_power.cpp \
58 src/cpp/operations/types_subtraction.cpp \
59 src/cpp/parse/parser.cpp \
60 src/cpp/parse/parsescilab.cpp \
61 src/cpp/parse/printerror.cpp \
62 src/cpp/parse/scanscilab.cpp \
63 src/cpp/symbol/context.cpp \
64 src/cpp/symbol/libraries.cpp \
65 src/cpp/symbol/symbol.cpp \
66 src/cpp/symbol/variables.cpp \
67 src/cpp/system_env/configvariable.cpp \
68 src/cpp/system_env/configvariable_interface.cpp \
69 src/cpp/system_env/context_get.cpp \
70 src/cpp/system_env/dynamic_module.cpp \
71 src/cpp/system_env/home.cpp \
72 src/cpp/system_env/lasterror.cpp \
73 src/cpp/system_env/sci_home.cpp \
74 src/cpp/system_env/sci_path.cpp \
75 src/cpp/system_env/sci_tmpdir.cpp \
76 src/cpp/system_env/setenvvar.cpp \
77 src/cpp/system_env/threadmanagement.cpp \
78 src/cpp/system_env/numericconstants.cpp \
79 src/cpp/system_env/numericconstants_interface.cpp \
80 src/cpp/system_env/coverage_instance.cpp \
81 src/cpp/types/addfunction.cpp \
82 src/cpp/types/internal.cpp \
83 src/cpp/types/arrayof.cpp \
84 src/cpp/types/bool.cpp \
85 src/cpp/types/callable.cpp \
86 src/cpp/types/cell.cpp \
87 src/cpp/types/double.cpp \
88 src/cpp/types/file.cpp \
89 src/cpp/types/function.cpp \
90 src/cpp/types/graphichandle.cpp \
91 src/cpp/types/implicitlist.cpp \
92 src/cpp/types/int.cpp \
93 src/cpp/types/library.cpp \
94 src/cpp/types/list.cpp \
95 src/cpp/types/listdelete.cpp \
96 src/cpp/types/listinsert.cpp \
97 src/cpp/types/listoperation.cpp \
98 src/cpp/types/listundefined.cpp \
99 src/cpp/types/macro.cpp \
100 src/cpp/types/macrofile.cpp \
101 src/cpp/types/mlist.cpp \
102 src/cpp/types/overload.cpp \
103 src/cpp/types/polynom.cpp \
104 src/cpp/types/singlepoly.cpp \
105 src/cpp/types/singlestruct.cpp \
106 src/cpp/types/sparse.cpp \
107 src/cpp/types/string.cpp \
108 src/cpp/types/struct.cpp \
109 src/cpp/types/test-types.cpp \
110 src/cpp/types/threadId.cpp \
111 src/cpp/types/tlist.cpp \
112 src/cpp/types/tostring_common.cpp \
113 src/cpp/types/types.cpp \
114 src/cpp/types/types_tools.cpp \
115 src/cpp/types/void.cpp \
116 src/cpp/analysis/AnalysisVisitor.cpp \
117 src/cpp/analysis/ArgnAnalyzer.cpp \
118 src/cpp/analysis/Block.cpp \
119 src/cpp/analysis/Checkers.cpp \
120 src/cpp/analysis/CompleteMacroSignature.cpp \
121 src/cpp/analysis/ConstantValue.cpp \
122 src/cpp/analysis/ConstantVisitor.cpp \
123 src/cpp/analysis/ConstraintManager.cpp \
124 src/cpp/analysis/Data.cpp \
125 src/cpp/analysis/DataManager.cpp \
126 src/cpp/analysis/DiagAnalyzer.cpp \
127 src/cpp/analysis/FunctionBlock.cpp \
128 src/cpp/analysis/GlobalsCollector.cpp \
129 src/cpp/analysis/GVN.cpp \
130 src/cpp/analysis/IndexAnalyzer.cpp \
131 src/cpp/analysis/Info.cpp \
132 src/cpp/analysis/CeilAnalyzer.cpp \
133 src/cpp/analysis/InferenceConstraints.cpp \
134 src/cpp/analysis/LengthAnalyzer.cpp \
135 src/cpp/analysis/LoopBlock.cpp \
136 src/cpp/analysis/MacroDef.cpp \
137 src/cpp/analysis/MatrixAnalyzer.cpp \
138 src/cpp/analysis/MemInitAnalyzer.cpp \
139 src/cpp/analysis/MultivariateMonomial.cpp \
140 src/cpp/analysis/MultivariatePolynomial.cpp \
141 src/cpp/analysis/OperGVNValues.cpp \
142 src/cpp/analysis/OperSymbolicRange.cpp \
143 src/cpp/analysis/OpValue.cpp \
144 src/cpp/analysis/PolymorphicMacroCache.cpp \
145 src/cpp/analysis/SizeAnalyzer.cpp \
146 src/cpp/analysis/SymbolicList.cpp \
147 src/cpp/analysis/TIType.cpp \
148 src/cpp/analysis/DollarInfo.cpp \
149 src/cpp/analysis/IconvertAnalyzer.cpp \
150 src/cpp/analysis/InttypeAnalyzer.cpp \
151 src/cpp/analysis/IsrealAnalyzer.cpp \
152 src/cpp/analysis/IsscalarAnalyzer.cpp \
153 src/cpp/analysis/FindAnalyzer.cpp \
154 src/cpp/analysis/TemporaryManager.cpp \
155 src/cpp/analysis/TypeAnalyzer.cpp \
156 src/cpp/analysis/TypeofAnalyzer.cpp \
157 src/cpp/analysis/OperAnalyzer.cpp \
158 src/cpp/analysis/VarExp.cpp \
159 src/cpp/analysis/VisitListExp.cpp \
160 src/cpp/analysis/VisitMatrixExp.cpp \
161 src/cpp/analysis/VisitOpExp.cpp \
162 src/cpp/analysis/VisitSelectExp.cpp \
163 src/cpp/analysis/VisitAssignExp.cpp \
164 src/cpp/analysis/VisitIfExp.cpp \
165 src/cpp/analysis/VisitForExp.cpp \
166 src/cpp/analysis/VisitWhileExp.cpp \
167 src/cpp/analysis/VisitCallExp.cpp \
168 src/cpp/analysis/VisitSeqExp.cpp \
169 src/cpp/analysis/VisitTypeExps.cpp \
170 src/cpp/analysis/VisitSimpleVar.cpp \
171 src/cpp/analysis/VisitDollarVar.cpp \
172 src/cpp/analysis/VisitVarDec.cpp \
173 src/cpp/analysis/XBlock.cpp \
174 src/cpp/analysis/check_____dotpower____.cpp \
175 src/cpp/analysis/check_rand.cpp \
176 src/cpp/analysis/check_____ge____.cpp \
177 src/cpp/analysis/check_____or____.cpp \
178 src/cpp/analysis/check_____power____.cpp \
179 src/cpp/analysis/check_____not____.cpp \
180 src/cpp/analysis/check_isreal.cpp \
181 src/cpp/analysis/check_____transp____.cpp \
182 src/cpp/analysis/check_abs.cpp \
183 src/cpp/analysis/check_cosh.cpp \
184 src/cpp/analysis/check_typeof.cpp \
185 src/cpp/analysis/check_int16.cpp \
186 src/cpp/analysis/check_iconvert.cpp \
187 src/cpp/analysis/check_gettext.cpp \
188 src/cpp/analysis/check_____neq____.cpp \
189 src/cpp/analysis/check_____and____.cpp \
190 src/cpp/analysis/check_tan.cpp \
191 src/cpp/analysis/check_cumsum.cpp \
192 src/cpp/analysis/check_size.cpp \
193 src/cpp/analysis/check_____andand____.cpp \
194 src/cpp/analysis/check_asin.cpp \
195 src/cpp/analysis/check_____dottransp____.cpp \
196 src/cpp/analysis/check_or.cpp \
197 src/cpp/analysis/check_____eq____.cpp \
198 src/cpp/analysis/check_log.cpp \
199 src/cpp/analysis/check_floor.cpp \
200 src/cpp/analysis/check_int.cpp \
201 src/cpp/analysis/check_fix.cpp \
202 src/cpp/analysis/check_sqrt.cpp \
203 src/cpp/analysis/check_uint16.cpp \
204 src/cpp/analysis/check_____le____.cpp \
205 src/cpp/analysis/check_zeros.cpp \
206 src/cpp/analysis/check_ls.cpp \
207 src/cpp/analysis/check_max.cpp \
208 src/cpp/analysis/check_uint32.cpp \
209 src/cpp/analysis/check_int64.cpp \
210 src/cpp/analysis/check_prod.cpp \
211 src/cpp/analysis/check_type.cpp \
212 src/cpp/analysis/check_sin.cpp \
213 src/cpp/analysis/check_round.cpp \
214 src/cpp/analysis/check_____krontimes____.cpp \
215 src/cpp/analysis/check_int32.cpp \
216 src/cpp/analysis/check_____gt____.cpp \
217 src/cpp/analysis/check_inttype.cpp \
218 src/cpp/analysis/check_exp.cpp \
219 src/cpp/analysis/check_atan.cpp \
220 src/cpp/analysis/check_____dotrdiv____.cpp \
221 src/cpp/analysis/check_imag.cpp \
222 src/cpp/analysis/check_uint8.cpp \
223 src/cpp/analysis/check_ceil.cpp \
224 src/cpp/analysis/check_uint64.cpp \
225 src/cpp/analysis/check_____lt____.cpp \
226 src/cpp/analysis/check_sinm.cpp \
227 src/cpp/analysis/check_isinf.cpp \
228 src/cpp/analysis/check_____sub____.cpp \
229 src/cpp/analysis/check_sinh.cpp \
230 src/cpp/analysis/check_toc.cpp \
231 src/cpp/analysis/check_isscalar.cpp \
232 src/cpp/analysis/check_sign.cpp \
233 src/cpp/analysis/check_int8.cpp \
234 src/cpp/analysis/check_____rdivide____.cpp \
235 src/cpp/analysis/check_matrix.cpp \
236 src/cpp/analysis/check_____oror____.cpp \
237 src/cpp/analysis/check_cos.cpp \
238 src/cpp/analysis/check_and.cpp \
239 src/cpp/analysis/check_____unaryminus____.cpp \
240 src/cpp/analysis/check_tanh.cpp \
241 src/cpp/analysis/check_____add____.cpp \
242 src/cpp/analysis/check_isnan.cpp \
243 src/cpp/analysis/check_imult.cpp \
244 src/cpp/analysis/check_____times____.cpp \
245 src/cpp/analysis/check_argn.cpp \
246 src/cpp/analysis/check_cumprod.cpp \
247 src/cpp/analysis/check_erf.cpp \
248 src/cpp/analysis/check_ones.cpp \
249 src/cpp/analysis/check_erfc.cpp \
250 src/cpp/analysis/check_min.cpp \
251 src/cpp/analysis/check_sum.cpp \
252 src/cpp/analysis/check_____ldivide____.cpp \
253 src/cpp/analysis/check_acos.cpp \
254 src/cpp/analysis/check_____dottimes____.cpp
255
256 if ENABLE_DEBUG
257 libsciast_la_SOURCES += src/cpp/types/inspector.cpp
258 endif
259
260
261 libsciast_la_CPPFLAGS = \
262         -I$(srcdir)/includes/ast \
263         -I$(srcdir)/includes/exps \
264         -I$(srcdir)/includes/operations \
265         -I$(srcdir)/includes/parse \
266         -I$(srcdir)/includes/symbol \
267         -I$(srcdir)/includes/system_env \
268         -I$(srcdir)/includes/types \
269         -I$(srcdir)/includes/analysis \
270         -I$(srcdir)/src/cpp \
271         -I$(top_srcdir)/modules/dynamic_link/includes \
272         -I$(top_srcdir)/modules/functions_manager/includes \
273         -I$(top_srcdir)/modules/console/includes \
274         -I$(top_srcdir)/modules/elementary_functions/includes \
275         -I$(top_srcdir)/modules/output_stream/includes \
276         -I$(top_srcdir)/modules/api_scilab/includes \
277         -I$(top_srcdir)/modules/string/includes \
278         -I$(top_srcdir)/modules/threads/includes \
279         -I$(top_srcdir)/modules/localization/includes \
280         -I$(top_srcdir)/modules/io/includes \
281         -I$(top_srcdir)/modules/fileio/includes \
282         -I$(top_srcdir)/modules/fileio/src/c \
283         -I$(top_srcdir)/modules/coverage/includes \
284         $(EIGEN_CPPFLAGS) \
285         $(AM_CPPFLAGS)
286
287
288 libsciast_la_includedir=$(pkgincludedir)
289 libsciast_la_include_HEADERS =
290
291
292 #### Target ######
293 modulename=ast
294
295 ####io : init scripts ####
296 libsciast_la_etcdir = $(mydatadir)/etc
297 libsciast_la_etc_DATA = \
298     etc/ast.quit \
299     etc/ast.start
300
301
302 #### ast : include files ####
303 # find includes/ src/ -type f -name '*.h' -or -name '*.hxx' -or -name '*.hpp' | sort |xargs printf '%s \\\n'
304 libsciast_gvn_scilab_la_includedir=$(pkgincludedir)/gvn/
305 libsciast_gvn_scilab_la_include_HEADERS = \
306 includes/analysis/gvn/ConstraintManager.hxx \
307 includes/analysis/gvn/GVN.hxx \
308 includes/analysis/gvn/InferenceConstraint.hxx \
309 includes/analysis/gvn/MultivariateMonomial.hxx \
310 includes/analysis/gvn/MultivariatePolynomial.hxx \
311 includes/analysis/gvn/OpValue.hxx \
312 includes/analysis/gvn/SymbolicDimension.hxx \
313 includes/analysis/gvn/SymbolicRange.hxx \
314 includes/analysis/gvn/TestGVNVisitor.hxx \
315 includes/analysis/gvn/VarExp.hxx
316
317 libsciast_call_scilab_la_includedir=$(pkgincludedir)/call/
318 libsciast_call_scilab_la_include_HEADERS = \
319 includes/analysis/call/Call.hxx
320
321 libsciast_scilab_la_includedir=$(pkgincludedir)
322 libsciast_scilab_la_include_HEADERS = \
323 includes/analysis/AnalysisVisitor.hxx \
324 includes/analysis/checkers/Checkers.hxx \
325 includes/analysis/ConstantValue.hxx \
326 includes/analysis/Decorator.hxx \
327 includes/analysis/ForList.hxx \
328 includes/analysis/Result.hxx \
329 includes/analysis/TIType.hxx \
330 includes/analysis/tools.hxx \
331 includes/ast/deserializervisitor.hxx \
332 includes/ast/dummyvisitor.hxx \
333 includes/ast/dynlib_ast.h \
334 includes/ast/execvisitor.hxx \
335 includes/ast/expHistory.hxx \
336 includes/ast/macrovarvisitor.hxx \
337 includes/ast/printvisitor.hxx \
338 includes/ast/runvisitor.hxx \
339 includes/ast/scilabexception.hxx \
340 includes/ast/serializervisitor.hxx \
341 includes/ast/shortcutvisitor.hxx \
342 includes/ast/stepvisitor.hxx \
343 includes/ast/timedvisitor.hxx \
344 includes/ast/visitor_common.hxx \
345 includes/ast/visitor.hxx \
346 includes/ast/abstractdebugger.hxx \
347 includes/ast/breakpoint.hxx \
348 includes/ast/consoledebugger.hxx \
349 includes/ast/debuggervisitor.hxx \
350 includes/ast/debugmanager.hxx \
351 includes/ast/prettyprintvisitor.hxx \
352 includes/exps/alldec.hxx \
353 includes/exps/allexp.hxx \
354 includes/exps/all.hxx \
355 includes/exps/allvar.hxx \
356 includes/exps/arraylistexp.hxx \
357 includes/exps/arraylistvar.hxx \
358 includes/exps/assignexp.hxx \
359 includes/exps/assignlistexp.hxx \
360 includes/exps/ast.hxx \
361 includes/exps/boolexp.hxx \
362 includes/exps/breakexp.hxx \
363 includes/exps/callexp.hxx \
364 includes/exps/caseexp.hxx \
365 includes/exps/cellcallexp.hxx \
366 includes/exps/cellexp.hxx \
367 includes/exps/colonvar.hxx \
368 includes/exps/commentexp.hxx \
369 includes/exps/constexp.hxx \
370 includes/exps/continueexp.hxx \
371 includes/exps/controlexp.hxx \
372 includes/exps/daxpyexp.hxx \
373 includes/exps/dec.hxx \
374 includes/exps/decls.hxx \
375 includes/exps/dollarvar.hxx \
376 includes/exps/doubleexp.hxx \
377 includes/exps/exp.hxx \
378 includes/exps/fieldexp.hxx \
379 includes/exps/forexp.hxx \
380 includes/exps/functiondec.hxx \
381 includes/exps/ifexp.hxx \
382 includes/exps/listexp.hxx \
383 includes/exps/location.hxx \
384 includes/exps/logicalopexp.hxx \
385 includes/exps/mathexp.hxx \
386 includes/exps/matrixexp.hxx \
387 includes/exps/matrixlineexp.hxx \
388 includes/exps/nilexp.hxx \
389 includes/exps/notexp.hxx \
390 includes/exps/opexp.hxx \
391 includes/exps/optimizedexp.hxx \
392 includes/exps/returnexp.hxx \
393 includes/exps/selectexp.hxx \
394 includes/exps/seqexp.hxx \
395 includes/exps/simplevar.hxx \
396 includes/exps/stepvisitor.hxx \
397 includes/exps/stringexp.hxx \
398 includes/exps/token.hxx \
399 includes/exps/transposeexp.hxx \
400 includes/exps/trycatchexp.hxx \
401 includes/exps/vardec.hxx \
402 includes/exps/var.hxx \
403 includes/exps/whileexp.hxx \
404 includes/operations/doublecomplex.h \
405 includes/operations/generic_operations.hxx \
406 includes/operations/interface_addition.h \
407 includes/operations/invert_matrix.h \
408 includes/operations/matrix_addition.h \
409 includes/operations/matrix_division.h \
410 includes/operations/matrix_finite.h \
411 includes/operations/matrix_kronecker.h \
412 includes/operations/matrix_left_division.h \
413 includes/operations/matrix_multiplication.h \
414 includes/operations/matrix_power.h \
415 includes/operations/matrix_right_division.h \
416 includes/operations/matrix_transpose.h \
417 includes/operations/operation_f.h \
418 includes/operations/operations.hxx \
419 includes/operations/operations_tools.h \
420 includes/operations/types_addition.hxx \
421 includes/operations/types_and.hxx \
422 includes/operations/types_comparison_eq.hxx \
423 includes/operations/types_comparison_lt_le_gt_ge.hxx \
424 includes/operations/types_comparison_ne.hxx \
425 includes/operations/types_divide.hxx \
426 includes/operations/types_dotdivide.hxx \
427 includes/operations/types_dotmultiplication.hxx \
428 includes/operations/types_finite.hxx \
429 includes/operations/types_kronecker.hxx \
430 includes/operations/types_ldivide.hxx \
431 includes/operations/types_multiplication.hxx \
432 includes/operations/types_opposite.hxx \
433 includes/operations/types_or.hxx \
434 includes/operations/types_power.hxx \
435 includes/operations/types_subtraction.hxx \
436 includes/operations/types_transposition.hxx \
437 includes/parse/isatty.hxx \
438 includes/parse/parse.hxx \
439 includes/parse/parser.hxx \
440 includes/parse/parser_private.hxx \
441 includes/parse/parsescilab.hxx \
442 includes/symbol/context.hxx \
443 includes/symbol/libraries.hxx \
444 includes/symbol/symbol.hxx \
445 includes/symbol/variables.hxx \
446 includes/system_env/configvariable.hxx \
447 includes/system_env/configvariable_interface.h \
448 includes/system_env/context_get.h \
449 includes/system_env/dynamic_module.h \
450 includes/system_env/home.h \
451 includes/system_env/lasterror.h \
452 includes/system_env/sci_home.h \
453 includes/system_env/sci_path.h \
454 includes/system_env/sci_tmpdir.h \
455 includes/system_env/setenvvar.h \
456 includes/types/addfunction.h \
457 includes/types/alltypes.hxx \
458 includes/types/arrayof.hxx \
459 includes/types/bool.hxx \
460 includes/types/callable.hxx \
461 includes/types/cell.hxx \
462 includes/types/c_gateway_prototype.h \
463 includes/types/colon.hxx \
464 includes/types/container.hxx \
465 includes/types/cpp_gateway_prototype.hxx \
466 includes/types/double.hxx \
467 includes/types/file.hxx \
468 includes/types/function.hxx \
469 includes/types/gatewaystruct.hxx \
470 includes/types/graphichandle.hxx \
471 includes/types/implicitlist.hxx \
472 includes/types/inspector.hxx \
473 includes/types/internal.hxx \
474 includes/types/int.hxx \
475 includes/types/keepForSparse.hxx \
476 includes/types/library.hxx \
477 includes/types/listdelete.hxx \
478 includes/types/list.hxx \
479 includes/types/listinsert.hxx \
480 includes/types/listoperation.hxx \
481 includes/types/listundefined.hxx \
482 includes/types/macrofile.hxx \
483 includes/types/macro.hxx \
484 includes/types/matrixiterator.hxx \
485 includes/types/mlist.hxx \
486 includes/types/overload.hxx \
487 includes/types/pointer.hxx \
488 includes/types/polynom.hxx \
489 includes/types/singlepoly.hxx \
490 includes/types/singlestruct.hxx \
491 includes/types/sparse.hxx \
492 includes/types/sparseOp.hxx \
493 includes/types/string.hxx \
494 includes/types/struct.hxx \
495 includes/types/threadId.hxx \
496 includes/types/tlist.hxx \
497 includes/types/tostring_common.hxx \
498 includes/types/typesdecl.hxx \
499 includes/types/types.hxx \
500 includes/types/types_tools.hxx \
501 includes/types/type_traits.hxx \
502 includes/types/user.hxx \
503 includes/types/void.hxx \
504 src/cpp/ast/run_AssignExp.hpp \
505 src/cpp/ast/run_CallExp.hpp \
506 src/cpp/ast/run_MatrixExp.hpp \
507 src/cpp/ast/run_OpExp.hpp
508
509 if BUILD_PARSER
510
511 BUILT_SOURCES = $(FLEX_SCANSCILAB_CXX) $(BISON_PARSESCILAB_CXX)
512
513 LFLAGS = --noline --nounistd -o $(FLEX_SCANSCILAB_CXX)
514 FLEX_SCANSCILAB_LL      = src/cpp/parse/flex/scanscilab.ll
515 FLEX_SCANSCILAB_CXX     = src/cpp/parse/scanscilab.cpp
516
517 BISON_FLAGS = --no-lines -dvy -ra -Werror=conflicts-sr -Werror=conflicts-rr
518 BISON_PARSESCILAB_YY    = src/cpp/parse/bison/parsescilab.yy
519 BISON_PARSESCILAB_OUTPUT= src/cpp/parse/bison/parsescilab.output
520 BISON_PARSESCILAB_HXX   = includes/parse/parsescilab.hxx
521 BISON_PARSESCILAB_CXX = src/cpp/parse/parsescilab.cpp
522
523 $(FLEX_SCANSCILAB_CXX): $(FLEX_SCANSCILAB_LL)
524         $(LEX) $(AM_FLAGS) $(LFLAGS) $(FLEX_SCANSCILAB_LL)
525
526 $(BISON_PARSESCILAB_CXX): $(BISON_PARSESCILAB_YY)
527         $(YACC) $(AM_FLAGS) $(BISON_FLAGS) $(YFLAGS) $(BISON_PARSESCILAB_YY) \
528         && mv y.tab.c $(BISON_PARSESCILAB_CXX) \
529         && mv y.tab.h $(BISON_PARSESCILAB_HXX) \
530         && mv y.output $(BISON_PARSESCILAB_OUTPUT)
531 endif
532
533
534 include $(top_srcdir)/Makefile.incl.am