4708b2ecc8cccd1386dc824afdea11761765bc8d
[scilab.git] / scilab / modules / interpolation / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2006 - INRIA - Sylvestre LEDRU
3 #
4 # This file is distributed under the same license as the Scilab package.
5
6 # Localization of the module interpolation
7 # Please see in SCI/tools/localization for localization management
8 #
9
10 INTERPOLATION_FORTRAN_SOURCES = \
11     src/fortran/somespline.f \
12     src/fortran/dspfit.f \
13     src/fortran/cshep2d.f
14
15 INTERPOLATION_C_SOURCES = \
16     src/c/interpolation.c \
17     src/c/someinterp.c
18
19 GATEWAY_CPP_SOURCES = \
20     sci_gateway/cpp/sci_lsq_splin.cpp \
21     sci_gateway/cpp/sci_interp.cpp \
22     sci_gateway/cpp/sci_interp2d.cpp \
23     sci_gateway/cpp/sci_splin.cpp \
24     sci_gateway/cpp/sci_cshep2d.cpp \
25     sci_gateway/cpp/sci_interp3d.cpp \
26     sci_gateway/cpp/sci_linear_interpn.cpp \
27     sci_gateway/cpp/sci_splin2d.cpp \
28     sci_gateway/cpp/sci_splin3d.cpp \
29     sci_gateway/cpp/sci_bsplin3val.cpp \
30     sci_gateway/cpp/sci_eval_cshep2d.cpp
31
32 libsciinterpolation_la_CPPFLAGS= \
33     -I$(srcdir)/includes/ \
34     -I$(srcdir)/src/c/ \
35     -I$(top_srcdir)/modules/ast/includes/ast/ \
36     -I$(top_srcdir)/modules/ast/includes/exps/ \
37     -I$(top_srcdir)/modules/ast/includes/operations/ \
38     -I$(top_srcdir)/modules/ast/includes/parse/ \
39     -I$(top_srcdir)/modules/ast/includes/symbol/ \
40     -I$(top_srcdir)/modules/ast/includes/system_env/ \
41     -I$(top_srcdir)/modules/ast/includes/types/ \
42     -I$(top_srcdir)/modules/ast/includes/analysis/ \
43     -I$(top_srcdir)/modules/output_stream/includes \
44     -I$(top_srcdir)/modules/api_scilab/includes \
45     -I$(top_srcdir)/modules/localization/includes/ \
46     -I$(top_srcdir)/modules/dynamic_link/includes \
47     -I$(top_srcdir)/modules/threads/includes \
48     -I$(top_srcdir)/modules/dynamic_link/includes \
49     -I$(top_srcdir)/modules/string/includes \
50     -I$(top_srcdir)/modules/elementary_functions/includes
51
52 pkglib_LTLIBRARIES = libsciinterpolation.la
53 noinst_LTLIBRARIES = libsciinterpolation-algo.la
54
55 libsciinterpolation_algo_la_SOURCES = $(INTERPOLATION_C_SOURCES) $(INTERPOLATION_FORTRAN_SOURCES)
56
57 libsciinterpolation_la_SOURCES = $(GATEWAY_CPP_SOURCES)
58 libsciinterpolation_algo_la_CPPFLAGS = $(libsciinterpolation_la_CPPFLAGS)
59
60 # For the code check (splint)
61 CHECK_SRC= $(INTERPOLATION_C_SOURCES) $(GATEWAY_CPP_SOURCES)
62 INCLUDE_FLAGS = $(libsciinterpolation_la_CFLAGS)
63
64 libsciinterpolation_la_LIBADD = \
65         libsciinterpolation-algo.la \
66          $(FLIBS)
67
68 #### Target ######
69 modulename=interpolation
70
71
72 #### interpolation : Conf files ####
73 libsciinterpolation_la_rootdir = $(mydatadir)
74 libsciinterpolation_la_root_DATA =  license.txt
75
76
77 ####�interpolation : init scripts ####
78 libsciinterpolation_la_etcdir = $(mydatadir)/etc
79 libsciinterpolation_la_etc_DATA = etc/interpolation.quit etc/interpolation.start
80
81 ####�interpolation : gateway declaration ####
82 libsciinterpolation_la_sci_gatewaydir = $(mydatadir)/sci_gateway
83 libsciinterpolation_la_sci_gateway_DATA = sci_gateway/interpolation_gateway.xml
84
85 include $(top_srcdir)/Makefile.incl.am