new types toString function to take care "lines" values (double, int, bool, string)
[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 ##  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 ##
12 ##
13
14 pkglib_LTLIBRARIES      = libsciast.la
15
16 libsciast_la_SOURCES = \
17         src/cpp/libAst.cpp \
18         src/cpp/visitor_common.cpp \
19         src/cpp/printvisitor.cpp \
20         src/cpp/debugvisitor.cpp \
21         src/cpp/mutevisitor.cpp \
22         src/cpp/shortcutvisitor.cpp \
23         src/cpp/scilabexception.cpp
24
25 libsciast_la_CPPFLAGS = \
26         -Iincludes \
27         -Isrc/cpp \
28     -I$(top_srcdir)/libs/dynamiclibrary/includes \
29     -I$(top_srcdir)/libs/MALLOC/includes \
30     -I$(top_srcdir)/modules/symbol/includes \
31         -I$(top_srcdir)/modules/types/includes \
32         -I$(top_srcdir)/modules/functions_manager/includes \
33         -I$(top_srcdir)/modules/console/includes \
34         -I$(top_srcdir)/modules/elementary_functions/includes \
35         -I$(top_srcdir)/modules/operations/includes \
36         -I$(top_srcdir)/modules/output_stream/includes \
37         -I$(top_srcdir)/modules/system_env/includes \
38         -I$(top_srcdir)/modules/api_scilab/includes \
39         -I$(top_srcdir)/modules/string/includes \
40         -I$(top_srcdir)/modules/threads/includes \
41         -I$(top_srcdir)/modules/localization/includes \
42     $(EIGEN_CPPFLAGS) \
43         $(AM_CPPFLAGS)
44
45
46 libsciast_la_includedir=$(pkgincludedir)
47 libsciast_la_include_HEADERS =
48
49 ####################
50 ## Automated test ##
51 ####################
52 check_INCLUDES = \
53     -I$(top_srcdir)/modules/symbol/includes \
54         -Iincludes/ \
55         -Isrc/cpp
56
57 check_LDADD     = \
58     $(top_builddir)/modules/symbol/libsciSymbol.la \
59         $(top_builddir)/modules/ast/libsciast.la \
60         $(top_builddir)/modules/types/libsciTypes.la
61
62 check_PROGRAMS = \
63     testConstExp \
64         testVarExp \
65                                                                                         testControlExp
66
67 TESTS = \
68     testConstExp \
69         testVarExp \
70         testControlExp
71
72 testConstExp_SOURCES    = src/cpp/testConstExp.cpp
73 testConstExp_CXXFLAGS   = $(check_INCLUDES)
74 testConstExp_LDADD      = $(check_LDADD)
75
76 testVarExp_SOURCES      = src/cpp/testVarExp.cpp
77 testVarExp_CXXFLAGS     = $(check_INCLUDES)
78 testVarExp_LDADD        = $(check_LDADD)
79
80 testControlExp_SOURCES  = src/cpp/testControlExp.cpp
81 testControlExp_CXXFLAGS = $(check_INCLUDES)
82 testControlExp_LDADD    = $(check_LDADD)
83
84 include $(top_srcdir)/Makefile.incl.am
85