647d7f15ddd8fd30071296bb55658859decd6217
[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
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     $(EIGEN_CPPFLAGS) \
40     $(AM_CPPFLAGS)
41
42 pkglib_LTLIBRARIES = libscifunctions.la
43
44 libscifunctions_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
45
46 # For the code check (splint)
47 CHECK_SRC= $(FUNCTIONS_SOURCES) $(GATEWAY_SOURCES)
48 INCLUDE_FLAGS = $(libscifunctions_la_CPPFLAGS)
49
50 #### Target ######
51 modulename=functions
52
53
54 #### functions : Conf files ####
55 libscifunctions_la_rootdir = $(mydatadir)
56 libscifunctions_la_root_DATA =  license.txt
57
58
59 #### functions : init scripts ####
60 libscifunctions_la_etcdir = $(mydatadir)/etc
61 libscifunctions_la_etc_DATA = \
62     etc/functions.quit \
63     etc/functions.start
64
65 #### functions : gateway declaration ####
66 libscifunctions_la_sci_gatewaydir = $(mydatadir)/sci_gateway
67 libscifunctions_la_sci_gateway_DATA = sci_gateway/functions_gateway.xml
68
69 include $(top_srcdir)/Makefile.incl.am