a5fca9a0eceef1d396aa5b4393801fbcf97d85d4
[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
8 SPECIAL_FUNCTIONS_C_SOURCES = src/c/zbeshv.c
9
10 # List of the cpp files
11 SPECIAL_FUNCTIONS_CPP_SOURCES =
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/zbesig.f \
19 src/fortran/zbesjg.f \
20 src/fortran/zbeskg.f \
21 src/fortran/zbesyg.f
22
23 GATEWAY_C_SOURCES = sci_gateway/c/sci_dlgamma.c \
24 sci_gateway/c/sci_bessely.c \
25 sci_gateway/c/sci_beta.c \
26 sci_gateway/c/sci_gamma.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 sci_gateway/c/sci_calerf.c \
33 sci_gateway/c/gw_special_functions.c \
34 sci_gateway/c/sci_lgamma.c
35
36 GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/sci_f_dlgamma.f \
37 sci_gateway/fortran/sci_f_lgamma.f \
38 sci_gateway/fortran/sci_f_gamma.f \
39 sci_gateway/fortran/sci_f_calerf.f
40
41 # Includes need for the compilation
42 libscispecial_functions_la_FFLAGS= -I$(srcdir)/includes/
43
44 # Includes need for the compilation
45 libscispecial_functions_la_CPPFLAGS = -I$(srcdir)/includes/ \
46 -I$(srcdir)/src/c/ \
47 -I$(top_srcdir)/libs/MALLOC/includes/ \
48 -I$(top_srcdir)/modules/api_scilab/includes \
49 -I$(top_srcdir)/modules/output_stream/includes
50
51 # Includes need for the compilation
52 libscispecial_functions_la_CFLAGS=      -I$(srcdir)/includes/ \
53 -I$(top_srcdir)/libs/MALLOC/includes/ \
54 -I$(srcdir)/src/c/ \
55 -I$(top_srcdir)/modules/core/src/c/ \
56 -I$(top_srcdir)/modules/elementary_functions/includes \
57 -I$(top_srcdir)/modules/api_scilab/includes \
58 -I$(top_srcdir)/modules/output_stream/includes
59
60 if MAINTAINER_MODE
61 pkglib_LTLIBRARIES = libscispecial_functions.la
62 noinst_LTLIBRARIES = libscispecial_functions-algo.la
63 else
64 noinst_LTLIBRARIES = libscispecial_functions-algo.la libscispecial_functions.la
65 endif
66
67
68 libscispecial_functions_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
69
70 libscispecial_functions_algo_la_SOURCES = $(SPECIAL_FUNCTIONS_C_SOURCES) $(SPECIAL_FUNCTIONS_FORTRAN_SOURCES) $(SPECIAL_FUNCTIONS_CPP_SOURCES)
71 libscispecial_functions_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES) 
72 libscispecial_functions_algo_la_CFLAGS = $(libscispecial_functions_la_CFLAGS)
73
74 # For the code check (splint)
75 CHECK_SRC= $(SPECIAL_FUNCTIONS_C_SOURCES) $(GATEWAY_C_SOURCES)
76 INCLUDE_FLAGS = $(libscispecial_functions_la_CFLAGS)
77
78 libscispecial_functions_la_LIBADD = libscispecial_functions-algo.la
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