summaryrefslogtreecommitdiff
path: root/modules/symbolic/Makefile.am
blob: f013a70c50d48667397f55aea4f71a3b6fecd8a3 (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
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2006 - INRIA - Sylvestre LEDRU
#
# This file must be used under the terms of the CeCILL.
# This source file is licensed as described in the file COPYING, which
# you should have received as part of this distribution.  The terms
# are also available at
# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt


GATEWAY_C_SOURCES = sci_gateway/c/gw_symbolic.c \
sci_gateway/c/sci_mulf.c \
sci_gateway/c/sci_ldivf.c \
sci_gateway/c/sci_addsubf.c \
sci_gateway/c/sci_rdivf.c

GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/sci_f_addsubf.f \
sci_gateway/fortran/sci_f_mulf.f \
sci_gateway/fortran/sci_f_ldivf.f \
sci_gateway/fortran/sci_f_rdivf.f

FORTRAN_SOURCES = src/fortran/atome.f \
src/fortran/iseye.f \
src/fortran/isnum.f \
src/fortran/termf.f

libscisymbolic_la_CPPFLAGS = -I$(srcdir)/includes/ \
				-I$(top_srcdir)/modules/api_scilab/includes/ \
				-I$(top_srcdir)/modules/localization/includes/ \
				-I$(top_srcdir)/modules/output_stream/includes/ \
				$(AM_CPPFLAGS)
#-Isrc/c/
pkglib_LTLIBRARIES = libscisymbolic.la
noinst_LTLIBRARIES = libscisymbolic-algo.la


libscisymbolic_algo_la_SOURCES = $(GATEWAY_FORTRAN_SOURCES) $(FORTRAN_SOURCES)
libscisymbolic_la_SOURCES = $(GATEWAY_C_SOURCES)
libscisymbolic_algo_la_CPPFLAGS = $(libscisymbolic_la_CPPFLAGS)
# For the code check (splint)
CHECK_SRC= $(GATEWAY_C_SOURCES)
INCLUDE_FLAGS = $(libscisymbolic_la_CPPFLAGS)

libscisymbolic_la_LIBADD = libscisymbolic-algo.la



#### Target ######
modulename=symbolic


#### symbolic : Conf files ####
libscisymbolic_la_rootdir = $(mydatadir)
libscisymbolic_la_root_DATA =  license.txt 


#### symbolic : init scripts ####
libscisymbolic_la_etcdir = $(mydatadir)/etc
libscisymbolic_la_etc_DATA = etc/symbolic.quit etc/symbolic.start

#### symbolic : gateway declaration ####
libscisymbolic_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libscisymbolic_la_sci_gateway_DATA = sci_gateway/symbolic_gateway.xml

include $(top_srcdir)/Makefile.incl.am