Merge remote-tracking branch 'origin/6.1'
[scilab.git] / scilab / modules / special_functions / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2006 - INRIA - Sylvestre LEDRU
3 # Copyright (C) 2011 - DIGITEO - Allan CORNET
4 #
5 # This file is distributed under the same license as the Scilab package.
6
7 SPECIAL_FUNCTIONS_C_SOURCES = src/c/zbeshv.c
8
9 # List of the cpp files
10 SPECIAL_FUNCTIONS_CXX_SOURCES = \
11     src/cpp/faddeeva.cpp
12
13 SPECIAL_FUNCTIONS_FORTRAN_SOURCES = \
14     src/fortran/dbesig.f \
15     src/fortran/dbesjg.f \
16     src/fortran/dbeskg.f \
17     src/fortran/dbesyg.f \
18     src/fortran/psi.f \
19     src/fortran/zbesig.f \
20     src/fortran/zbesjg.f \
21     src/fortran/zbeskg.f \
22     src/fortran/zbesyg.f
23
24 GATEWAY_C_SOURCES = \
25     sci_gateway/c/sci_bessely.c \
26     sci_gateway/c/sci_beta.c \
27     sci_gateway/c/sci_legendre.c \
28     sci_gateway/c/sci_besselh.c \
29     sci_gateway/c/sci_besseli.c \
30     sci_gateway/c/sci_besselj.c \
31     sci_gateway/c/sci_besselk.c
32
33 GATEWAY_CXX_SOURCES = \
34     sci_gateway/cpp/sci_faddeeva.cpp \
35     sci_gateway/cpp/sci_gamma.cpp \
36     sci_gateway/cpp/sci_lgamma.cpp \
37     sci_gateway/cpp/sci_dlgamma.cpp
38
39 # Includes need for the compilation
40 libscispecial_functions_la_CPPFLAGS = \
41     -I$(srcdir)/includes/ \
42     -I$(srcdir)/src/c/ \
43     -I$(srcdir)/src/cpp/ \
44     -I$(srcdir)/sci_gateway/cpp/ \
45     -I$(top_srcdir)/modules/ast/includes/ast/ \
46     -I$(top_srcdir)/modules/ast/includes/exps/ \
47     -I$(top_srcdir)/modules/ast/includes/operations/ \
48     -I$(top_srcdir)/modules/ast/includes/parse/ \
49     -I$(top_srcdir)/modules/ast/includes/symbol/ \
50     -I$(top_srcdir)/modules/ast/includes/system_env/ \
51     -I$(top_srcdir)/modules/ast/includes/types/ \
52     -I$(top_srcdir)/modules/ast/includes/analysis/ \
53     -I$(top_srcdir)/modules/core/src/c/ \
54     -I$(top_srcdir)/modules/elementary_functions/includes/ \
55     -I$(top_srcdir)/modules/api_scilab/includes/ \
56     -I$(top_srcdir)/modules/output_stream/includes/ \
57     -I$(top_srcdir)/modules/localization/includes/ \
58     -I$(top_srcdir)/modules/dynamic_link/includes/ \
59     -I$(top_srcdir)/modules/string/includes/ \
60     -I$(top_srcdir)/modules/threads/includes/ \
61     -I$(top_srcdir)/modules/console/includes/ \
62     $(AM_CPPFLAGS)
63
64
65 pkglib_LTLIBRARIES = libscispecial_functions.la
66 noinst_LTLIBRARIES = libscispecial_functions-algo.la
67
68
69 libscispecial_functions_algo_la_SOURCES = $(SPECIAL_FUNCTIONS_C_SOURCES) $(SPECIAL_FUNCTIONS_FORTRAN_SOURCES) $(SPECIAL_FUNCTIONS_CXX_SOURCES)
70 libscispecial_functions_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES)
71
72 libscispecial_functions_algo_la_CPPFLAGS = $(libscispecial_functions_la_CPPFLAGS)
73
74 # For the code check (splint)
75 CHECK_SRC= $(SPECIAL_FUNCTIONS_C_SOURCES) $(GATEWAY_C_SOURCES)
76 INCLUDE_FLAGS = $(libscispecial_functions_la_CPPFLAGS)
77
78 libscispecial_functions_la_LIBADD = libscispecial_functions-algo.la $(FLIBS)
79
80 #### Target ######
81 modulename=special_functions
82
83
84 #### special_functions : Conf files ####
85 libscispecial_functions_la_rootdir = $(mydatadir)
86 libscispecial_functions_la_root_DATA =  license.txt
87
88
89
90 #### special_functions : init scripts ####
91 libscispecial_functions_la_etcdir = $(mydatadir)/etc
92 libscispecial_functions_la_etc_DATA = etc/special_functions.quit etc/special_functions.start
93
94 #### special_functions : gateway declaration ####
95 libscispecial_functions_la_sci_gatewaydir = $(mydatadir)/sci_gateway
96 libscispecial_functions_la_sci_gateway_DATA = sci_gateway/special_functions_gateway.xml
97
98
99 include $(top_srcdir)/Makefile.incl.am