summaryrefslogtreecommitdiff
path: root/modules/arnoldi/Makefile.am
blob: f62230bc8326e53a9e15ac83c6453e1de5004daa (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
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2006 - INRIA - Sylvestre LEDRU
# Copyright (C) 2012 - Scilab Enterprises- Cedric Delamarre
#
# This file is distributed under the same license as the Scilab package.

ARNOLDI_C_SOURCES = \
    src/c/eigs.c \
    src/c/eigs_dependencies.c

GATEWAY_C_SOURCES = \
    sci_gateway/c/sci_zneupd \
    sci_gateway/c/sci_dseupd.c \
    sci_gateway/c/sci_zneupd.c \
    sci_gateway/c/gw_arnoldi.c \
    sci_gateway/c/sci_dnaupd.c \
    sci_gateway/c/sci_dneupd.c \
    sci_gateway/c/sci_dsaupd.c \
    sci_gateway/c/sci_znaupd.c \
    sci_gateway/c/sci_eigs.c

libsciarnoldi_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/ \
    -I$(top_srcdir)/modules/core/includes/ \
    $(AM_CPPFLAGS)

pkglib_LTLIBRARIES = libsciarnoldi.la

libsciarnoldi_la_LDFLAGS = $(AM_LDFLAGS)
libsciarnoldi_la_LIBADD = $(BLAS_LIBS) $(LAPACK_LIBS) $(ARPACK_LIBS)

libsciarnoldi_la_SOURCES = $(ARNOLDI_C_SOURCES) $(GATEWAY_C_SOURCES)

# For the code check (splint)
CHECK_SRC= $(ARNOLDI_C_SOURCES) $(GATEWAY_C_SOURCES)
INCLUDE_FLAGS = $(libsciarnoldi_la_CPPFLAGS)

#### Target ######
modulename=arnoldi


#### arnoldi : Conf files ####
libsciarnoldi_la_rootdir = $(mydatadir)
libsciarnoldi_la_root_DATA =  license.txt


#### arnoldi : init scripts ####
libsciarnoldi_la_etcdir = $(mydatadir)/etc
libsciarnoldi_la_etc_DATA = etc/arnoldi.quit etc/arnoldi.start

#### arnoldi : gateway declaration ####
libsciarnoldi_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libsciarnoldi_la_sci_gateway_DATA = sci_gateway/arnoldi_gateway.xml

include $(top_srcdir)/Makefile.incl.am