Merge remote-tracking branch 'origin/6.1'
[scilab.git] / scilab / modules / functions / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2009 - DIGITEO - Allan CORNET
3 #
4 # This file is distributed under the same license as the Scilab package.
5
6 GATEWAY_CPP_SOURCES =  \
7     sci_gateway/cpp/sci_exec.cpp \
8     sci_gateway/cpp/sci_functionlist.cpp \
9     sci_gateway/cpp/sci_whereis.cpp \
10     sci_gateway/cpp/sci_execstr.cpp \
11     sci_gateway/cpp/sci_macrovar.cpp \
12     sci_gateway/cpp/sci_libraryinfo.cpp \
13     sci_gateway/cpp/sci_librarieslist.cpp \
14     sci_gateway/cpp/sci_testGVN.cpp \
15     sci_gateway/cpp/sci_testAnalysis.cpp
16
17
18 libscifunctions_la_CPPFLAGS = \
19     -I$(srcdir)/includes/ \
20     -I$(srcdir)/src/c/ \
21     -I$(top_srcdir)/modules/ast/includes/ast/ \
22     -I$(top_srcdir)/modules/ast/includes/exps/ \
23     -I$(top_srcdir)/modules/ast/includes/operations/ \
24     -I$(top_srcdir)/modules/ast/includes/parse/ \
25     -I$(top_srcdir)/modules/ast/includes/symbol/ \
26     -I$(top_srcdir)/modules/ast/includes/system_env/ \
27     -I$(top_srcdir)/modules/ast/includes/types/ \
28     -I$(top_srcdir)/modules/ast/includes/analysis/ \
29     -I$(top_srcdir)/modules/functions_manager/includes/ \
30     -I$(top_srcdir)/modules/api_scilab/includes/ \
31     -I$(top_srcdir)/modules/localization/includes/ \
32     -I$(top_srcdir)/modules/string/includes/ \
33     -I$(top_srcdir)/modules/fileio/includes \
34     -I$(top_srcdir)/modules/console/includes \
35     -I$(top_srcdir)/modules/output_stream/includes \
36     -I$(top_srcdir)/modules/threads/includes/ \
37     -I$(top_srcdir)/modules/elementary_functions/includes/ \
38     -I$(top_srcdir)/modules/dynamic_link/includes/ \
39     $(AM_CPPFLAGS)
40
41 pkglib_LTLIBRARIES = libscifunctions.la
42
43 libscifunctions_la_SOURCES = $(GATEWAY_CPP_SOURCES)
44
45 # For the code check (splint)
46 CHECK_SRC= $(FUNCTIONS_SOURCES) $(GATEWAY_SOURCES)
47 INCLUDE_FLAGS = $(libscifunctions_la_CPPFLAGS)
48
49 #### Target ######
50 modulename=functions
51
52
53 #### functions : Conf files ####
54 libscifunctions_la_rootdir = $(mydatadir)
55 libscifunctions_la_root_DATA =  license.txt
56
57
58 #### functions : init scripts ####
59 libscifunctions_la_etcdir = $(mydatadir)/etc
60 libscifunctions_la_etc_DATA = \
61     etc/functions.quit \
62     etc/functions.start
63
64 #### functions : gateway declaration ####
65 libscifunctions_la_sci_gatewaydir = $(mydatadir)/sci_gateway
66 libscifunctions_la_sci_gateway_DATA = sci_gateway/functions_gateway.xml
67
68 include $(top_srcdir)/Makefile.incl.am