[interpolation] mesh2d gateway introduced
[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     src/fortran/mesh2b.f
15
16 INTERPOLATION_C_SOURCES = \
17     src/c/interpolation.c \
18     src/c/someinterp.c
19
20 GATEWAY_CPP_SOURCES = \
21     sci_gateway/cpp/sci_lsq_splin.cpp \
22     sci_gateway/cpp/sci_interp.cpp \
23     sci_gateway/cpp/sci_interp2d.cpp \
24     sci_gateway/cpp/sci_splin.cpp \
25     sci_gateway/cpp/sci_cshep2d.cpp \
26     sci_gateway/cpp/sci_interp3d.cpp \
27     sci_gateway/cpp/sci_linear_interpn.cpp \
28     sci_gateway/cpp/sci_splin2d.cpp \
29     sci_gateway/cpp/sci_splin3d.cpp \
30     sci_gateway/cpp/sci_bsplin3val.cpp \
31     sci_gateway/cpp/sci_eval_cshep2d.cpp \
32                 sci_gateway/cpp/sci_mesh2di.cpp
33
34 libsciinterpolation_la_CPPFLAGS= \
35     -I$(srcdir)/includes/ \
36     -I$(srcdir)/src/c/ \
37     -I$(top_srcdir)/modules/ast/includes/ast/ \
38     -I$(top_srcdir)/modules/ast/includes/exps/ \
39     -I$(top_srcdir)/modules/ast/includes/operations/ \
40     -I$(top_srcdir)/modules/ast/includes/parse/ \
41     -I$(top_srcdir)/modules/ast/includes/symbol/ \
42     -I$(top_srcdir)/modules/ast/includes/system_env/ \
43     -I$(top_srcdir)/modules/ast/includes/types/ \
44     -I$(top_srcdir)/modules/ast/includes/analysis/ \
45     -I$(top_srcdir)/modules/output_stream/includes \
46     -I$(top_srcdir)/modules/api_scilab/includes \
47     -I$(top_srcdir)/modules/localization/includes/ \
48     -I$(top_srcdir)/modules/dynamic_link/includes \
49     -I$(top_srcdir)/modules/threads/includes \
50     -I$(top_srcdir)/modules/dynamic_link/includes \
51     -I$(top_srcdir)/modules/string/includes \
52     -I$(top_srcdir)/modules/elementary_functions/includes
53
54 pkglib_LTLIBRARIES = libsciinterpolation.la
55 noinst_LTLIBRARIES = libsciinterpolation-algo.la
56
57 libsciinterpolation_algo_la_SOURCES = $(INTERPOLATION_C_SOURCES) $(INTERPOLATION_FORTRAN_SOURCES)
58
59 libsciinterpolation_la_SOURCES = $(GATEWAY_CPP_SOURCES)
60 libsciinterpolation_algo_la_CPPFLAGS = $(libsciinterpolation_la_CPPFLAGS)
61
62 # For the code check (splint)
63 CHECK_SRC= $(INTERPOLATION_C_SOURCES) $(GATEWAY_CPP_SOURCES)
64 INCLUDE_FLAGS = $(libsciinterpolation_la_CFLAGS)
65
66 libsciinterpolation_la_LIBADD = \
67         libsciinterpolation-algo.la \
68          $(FLIBS)
69
70 #### Target ######
71 modulename=interpolation
72
73
74 #### interpolation : Conf files ####
75 libsciinterpolation_la_rootdir = $(mydatadir)
76 libsciinterpolation_la_root_DATA =  license.txt
77
78
79 ####�interpolation : init scripts ####
80 libsciinterpolation_la_etcdir = $(mydatadir)/etc
81 libsciinterpolation_la_etc_DATA = etc/interpolation.quit etc/interpolation.start
82
83 ####�interpolation : gateway declaration ####
84 libsciinterpolation_la_sci_gatewaydir = $(mydatadir)/sci_gateway
85 libsciinterpolation_la_sci_gateway_DATA = sci_gateway/interpolation_gateway.xml
86
87 include $(top_srcdir)/Makefile.incl.am