46144068fe7421f6e1cd8f08538b2eff21d6e5de
[scilab.git] / scilab / modules / functions_manager / Makefile.am
1 ##
2 ##  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 ##  Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
4 ##
5 ##  This file must be used under the terms of the CeCILL.
6 ##  This source file is licensed as described in the file COPYING, which
7 ##  you should have received as part of this distribution.  The terms
8 ##  are also available at
9 ##  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10 ##
11 ##
12
13 FUNCTION_MANAGER_CPP_SOURCES    = src/cpp/funcmanager.cpp
14
15 pkglib_LTLIBRARIES      = libscifunctions_manager.la
16
17 libscifunctions_manager_la_SOURCES      = $(FUNCTION_MANAGER_CPP_SOURCES)
18
19 libscifunctions_manager_la_CXXFLAGS     =       -I$(top_builddir)/modules/types/includes/ \
20                                                 -I$(top_builddir)/modules/core/includes/ \
21                                                 -I$(top_builddir)/modules/string/includes/ \
22                                                 -I$(top_builddir)/modules/symbol/includes/ \
23                                                 -I$(top_builddir)/modules/elementary_functions/includes/ \
24                                                 -I$(top_builddir)/modules/operations/includes/ \
25                                                 -I$(top_builddir)/modules/system_env/includes/ \
26                                                 -I$(top_builddir)/modules/api_scilab/includes/ \
27                                                 -I$(top_builddir)/modules/fileio/includes/ \
28                                                 -I$(top_builddir)/modules/ast/includes/ \
29                                                 -I$(top_builddir)/modules/parse/includes/ \
30                                                 -I$(top_builddir)/modules/output_stream/includes/ \
31                                                 -I$(top_builddir)/modules/threads/includes/ \
32                                                 -I$(top_builddir)/modules/console/includes/ \
33                                                 -Iincludes/ \
34                                                 $(XML_FLAGS)
35
36 libscifunctions_manager_la_LIBADD = $(top_builddir)/modules/elementary_functions/libscielementary_functions.la \
37                                         $(top_builddir)/modules/matio/libscimatio.la
38
39 libscifunctions_manager_la_includedir=$(pkgincludedir)/Types
40
41 libscifunctions_manager_la_include_HEADERS =
42
43 ####################
44 ## Automated test ##
45 ####################
46 check_INCLUDES          =       -I$(top_builddir)/modules/types/includes/ \
47                                 -Iincludes/ \
48                                 -Isrc/cpp
49
50 check_PROGRAMS          = testFunctionManager
51
52 TESTS                   = testFunctionManager
53
54 testFunctionManager_SOURCES     =       src/cpp/test-function.cpp \
55                                         src/cpp/foo.cpp \
56                                         src/cpp/cosinus.cpp
57 testFunctionManager_CXXFLAGS    = $(check_INCLUDES)
58 testFunctionManager_LDADD       =       $(top_builddir)/modules/types/libsciTypes.la \
59                                         $(top_builddir)/modules/functions_manager/libscifunctions_manager.la