All headers are now installed at the same place
[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_CXXFLAGS = \
26         -Iincludes \
27         -Isrc/cpp \
28     -I$(top_srcdir)/modules/symbol/includes \
29         -I$(top_srcdir)/modules/types/includes \
30         -I$(top_srcdir)/modules/functions_manager/includes \
31         -I$(top_srcdir)/modules/elementary_functions/includes \
32         -I$(top_srcdir)/modules/operations/includes \
33         -I$(top_srcdir)/modules/output_stream/includes \
34         -I$(top_srcdir)/modules/system_env/includes \
35         -I$(top_srcdir)/modules/api_scilab/includes \
36         -I$(top_srcdir)/modules/string/includes \
37         -I$(top_srcdir)/modules/threads/includes \
38     -I$(top_srcdir)/libs/dynamiclibrary/includes \
39     $(EIGEN_CPPFLAGS)
40
41
42 libsciast_la_includedir=$(pkgincludedir)
43 libsciast_la_include_HEADERS =
44
45 ####################
46 ## Automated test ##
47 ####################
48 check_INCLUDES = \
49     -I$(top_srcdir)/modules/symbol/includes \
50         -Iincludes/ \
51         -Isrc/cpp
52
53 check_LDADD     = \
54     $(top_builddir)/modules/symbol/libsciSymbol.la \
55         $(top_builddir)/modules/ast/libsciast.la \
56         $(top_builddir)/modules/types/libsciTypes.la
57
58 check_PROGRAMS = \
59     testConstExp \
60         testVarExp \
61                                                                                         testControlExp
62
63 TESTS = \
64     testConstExp \
65         testVarExp \
66         testControlExp
67
68 testConstExp_SOURCES    = src/cpp/testConstExp.cpp
69 testConstExp_CXXFLAGS   = $(check_INCLUDES)
70 testConstExp_LDADD      = $(check_LDADD)
71
72 testVarExp_SOURCES      = src/cpp/testVarExp.cpp
73 testVarExp_CXXFLAGS     = $(check_INCLUDES)
74 testVarExp_LDADD        = $(check_LDADD)
75
76 testControlExp_SOURCES  = src/cpp/testControlExp.cpp
77 testControlExp_CXXFLAGS = $(check_INCLUDES)
78 testControlExp_LDADD    = $(check_LDADD)
79
80 include $(top_srcdir)/Makefile.incl.am
81