Fix the library linking declaration
[scilab.git] / scilab / modules / arnoldi / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2006 - INRIA - Sylvestre LEDRU
3 # Copyright (C) 2012 - Scilab Enterprises- Cedric Delamarre
4 #
5 # This file is distributed under the same license as the Scilab package.
6
7 ARNOLDI_C_SOURCES = \
8     src/c/eigs.c \
9     src/c/eigs_dependencies.c
10
11 GATEWAY_C_SOURCES = \
12     sci_gateway/c/sci_zneupd \
13     sci_gateway/c/sci_dseupd.c \
14     sci_gateway/c/sci_zneupd.c \
15     sci_gateway/c/gw_arnoldi.c \
16     sci_gateway/c/sci_dnaupd.c \
17     sci_gateway/c/sci_dneupd.c \
18     sci_gateway/c/sci_dsaupd.c \
19     sci_gateway/c/sci_znaupd.c \
20     sci_gateway/c/sci_eigs.c
21
22 libsciarnoldi_la_CPPFLAGS = \
23     -I$(srcdir)/includes/ \
24     -I$(top_srcdir)/modules/api_scilab/includes/ \
25     -I$(top_srcdir)/modules/localization/includes/ \
26     -I$(top_srcdir)/modules/output_stream/includes/ \
27     -I$(top_srcdir)/modules/core/includes/ \
28     $(AM_CPPFLAGS)
29
30 pkglib_LTLIBRARIES = libsciarnoldi.la
31
32 libsciarnoldi_la_LDFLAGS = $(AM_LDFLAGS)
33 libsciarnoldi_la_LIBADD = $(BLAS_LIBS) $(LAPACK_LIBS) $(ARPACK_LIBS)
34
35 libsciarnoldi_la_SOURCES = $(ARNOLDI_C_SOURCES) $(GATEWAY_C_SOURCES)
36
37 # For the code check (splint)
38 CHECK_SRC= $(ARNOLDI_C_SOURCES) $(GATEWAY_C_SOURCES)
39 INCLUDE_FLAGS = $(libsciarnoldi_la_CPPFLAGS)
40
41 #### Target ######
42 modulename=arnoldi
43
44
45 #### arnoldi : Conf files ####
46 libsciarnoldi_la_rootdir = $(mydatadir)
47 libsciarnoldi_la_root_DATA =  license.txt
48
49
50 #### arnoldi : init scripts ####
51 libsciarnoldi_la_etcdir = $(mydatadir)/etc
52 libsciarnoldi_la_etc_DATA = etc/arnoldi.quit etc/arnoldi.start
53
54 #### arnoldi : gateway declaration ####
55 libsciarnoldi_la_sci_gatewaydir = $(mydatadir)/sci_gateway
56 libsciarnoldi_la_sci_gateway_DATA = sci_gateway/arnoldi_gateway.xml
57
58 include $(top_srcdir)/Makefile.incl.am