add function libraryinfo and librarieslist
[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_C_SOURCES = \
7     sci_gateway/c/gw_functions.c
8
9 GATEWAY_CPP_SOURCES =  \
10     sci_gateway/cpp/sci_exec.cpp \
11     sci_gateway/cpp/sci_functionlist.cpp \
12     sci_gateway/cpp/sci_whereis.cpp \
13     sci_gateway/cpp/sci_execstr.cpp \
14     sci_gateway/cpp/sci_getCurrentThreadId.cpp \
15     sci_gateway/cpp/sci_getThreads.cpp \
16     sci_gateway/cpp/sci_macrovar.cpp \
17     sci_gateway/cpp/sci_libraryinfo.cpp \
18     sci_gateway/cpp/sci_librarieslist.cpp
19
20 libscifunctions_la_CPPFLAGS = \
21     -I$(srcdir)/includes/ \
22     -I$(srcdir)/src/c/ \
23     -I$(top_srcdir)/modules/ast/includes/ast/ \
24     -I$(top_srcdir)/modules/ast/includes/exps/ \
25     -I$(top_srcdir)/modules/ast/includes/operations/ \
26     -I$(top_srcdir)/modules/ast/includes/parse/ \
27     -I$(top_srcdir)/modules/ast/includes/symbol/ \
28     -I$(top_srcdir)/modules/ast/includes/system_env/ \
29     -I$(top_srcdir)/modules/ast/includes/types/ \
30     -I$(top_srcdir)/modules/ast/includes/analysis/ \
31     -I$(top_srcdir)/modules/functions_manager/includes/ \
32     -I$(top_srcdir)/modules/api_scilab/includes/ \
33     -I$(top_srcdir)/modules/localization/includes/ \
34     -I$(top_srcdir)/modules/string/includes/ \
35     -I$(top_srcdir)/modules/fileio/includes \
36     -I$(top_srcdir)/modules/console/includes \
37     -I$(top_srcdir)/modules/output_stream/includes \
38     -I$(top_srcdir)/modules/threads/includes/ \
39     -I$(top_srcdir)/modules/elementary_functions/includes/ \
40     -I$(top_srcdir)/modules/dynamic_link/includes/ \
41     $(EIGEN_CPPFLAGS) \
42     $(AM_CPPFLAGS)
43
44 pkglib_LTLIBRARIES = libscifunctions.la
45
46 libscifunctions_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
47
48 # For the code check (splint)
49 CHECK_SRC= $(FUNCTIONS_SOURCES) $(GATEWAY_SOURCES)
50 INCLUDE_FLAGS = $(libscifunctions_la_CPPFLAGS)
51
52 #### Target ######
53 modulename=functions
54
55
56 #### functions : Conf files ####
57 libscifunctions_la_rootdir = $(mydatadir)
58 libscifunctions_la_root_DATA =  license.txt
59
60
61 #### functions : init scripts ####
62 libscifunctions_la_etcdir = $(mydatadir)/etc
63 libscifunctions_la_etc_DATA = \
64     etc/functions.quit \
65     etc/functions.start
66
67 #### functions : gateway declaration ####
68 libscifunctions_la_sci_gatewaydir = $(mydatadir)/sci_gateway
69 libscifunctions_la_sci_gateway_DATA = sci_gateway/functions_gateway.xml
70
71 include $(top_srcdir)/Makefile.incl.am