summaryrefslogtreecommitdiff
path: root/modules/special_functions/Makefile.am
blob: 852ccacf291160cad377bd6ff798d6fc7670551e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2006 - INRIA - Sylvestre LEDRU
# Copyright (C) 2011 - DIGITEO - Allan CORNET
#
# This file is distributed under the same license as the Scilab package.


SPECIAL_FUNCTIONS_C_SOURCES = src/c/zbeshv.c

# List of the cpp files
SPECIAL_FUNCTIONS_CXX_SOURCES = \
src/cpp/faddeeva.cpp

SPECIAL_FUNCTIONS_FORTRAN_SOURCES = \
src/fortran/dbesig.f \
src/fortran/dbesjg.f \
src/fortran/dbeskg.f \
src/fortran/dbesyg.f \
src/fortran/psi.f \
src/fortran/zbesig.f \
src/fortran/zbesjg.f \
src/fortran/zbeskg.f \
src/fortran/zbesyg.f

GATEWAY_C_SOURCES = \
sci_gateway/c/sci_dlgamma.c \
sci_gateway/c/sci_bessely.c \
sci_gateway/c/sci_beta.c \
sci_gateway/c/sci_gamma.c \
sci_gateway/c/sci_legendre.c \
sci_gateway/c/sci_besselh.c \
sci_gateway/c/sci_besseli.c \
sci_gateway/c/sci_besselj.c \
sci_gateway/c/sci_besselk.c \
sci_gateway/c/gw_special_functions.c \
sci_gateway/c/sci_lgamma.c

GATEWAY_CXX_SOURCES = \
sci_gateway/cpp/sci_faddeeva.cpp

# Includes need for the compilation
libscispecial_functions_la_CPPFLAGS = -I$(srcdir)/includes/ \
-I$(srcdir)/src/c/ \
-I$(srcdir)/src/cpp/ \
-I$(srcdir)/sci_gateway/cpp/ \
-I$(top_srcdir)/modules/core/src/c/ \
-I$(top_srcdir)/modules/elementary_functions/includes/ \
-I$(top_srcdir)/modules/api_scilab/includes/ \
-I$(top_srcdir)/modules/output_stream/includes/ \
-I$(top_srcdir)/modules/localization/includes/ \
$(AM_CPPFLAGS)


pkglib_LTLIBRARIES = libscispecial_functions.la
noinst_LTLIBRARIES = libscispecial_functions-algo.la


libscispecial_functions_algo_la_SOURCES = $(SPECIAL_FUNCTIONS_C_SOURCES) $(SPECIAL_FUNCTIONS_FORTRAN_SOURCES) $(SPECIAL_FUNCTIONS_CXX_SOURCES)
libscispecial_functions_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES)
libscispecial_functions_algo_la_CPPFLAGS = $(libscispecial_functions_la_CPPFLAGS)

# For the code check (splint)
CHECK_SRC= $(SPECIAL_FUNCTIONS_C_SOURCES) $(GATEWAY_C_SOURCES)
INCLUDE_FLAGS = $(libscispecial_functions_la_CPPFLAGS)

libscispecial_functions_la_LIBADD = libscispecial_functions-algo.la

#### Target ######
modulename=special_functions


#### special_functions : Conf files ####
libscispecial_functions_la_rootdir = $(mydatadir)
libscispecial_functions_la_root_DATA =  license.txt



#### special_functions : init scripts ####
libscispecial_functions_la_etcdir = $(mydatadir)/etc
libscispecial_functions_la_etc_DATA = etc/special_functions.quit etc/special_functions.start

#### special_functions : gateway declaration ####
libscispecial_functions_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libscispecial_functions_la_sci_gateway_DATA = sci_gateway/special_functions_gateway.xml


include $(top_srcdir)/Makefile.incl.am