5c1289fce318f8950e2c6b6b6b39765084427e7f
[scilab.git] / scilab / modules / signal_processing / 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 SIGNAL_PROCESSING_C_SOURCES = \
7     src/c/corrtable.c
8
9 SIGNAL_PROCESSING_FORTRAN_SOURCES = \
10     src/fortran/degree.f \
11     src/fortran/parcha.f \
12     src/fortran/ouch.f \
13     src/fortran/dfftbi.f \
14     src/fortran/dsqrtc.f \
15     src/fortran/tranze.f \
16     src/fortran/chebc.f \
17     src/fortran/tscccf.f \
18     src/fortran/dsn2.f \
19     src/fortran/hammin.f \
20     src/fortran/bounn.f \
21     src/fortran/nstabl.f \
22     src/fortran/ino.f \
23     src/fortran/desia.f \
24     src/fortran/desi11.f \
25     src/fortran/cmpse3.f \
26     src/fortran/cheby.f \
27     src/fortran/trbize.f \
28     src/fortran/r2tx.f \
29     src/fortran/deli2.f \
30     src/fortran/gee.f \
31     src/fortran/r4tx.f \
32     src/fortran/transn.f \
33     src/fortran/r8tx.f \
34     src/fortran/kaiser.f \
35     src/fortran/deli11.f \
36     src/fortran/compel.f \
37     src/fortran/filbut.f \
38     src/fortran/desi01.f \
39     src/fortran/desi22.f \
40     src/fortran/amell.f \
41     src/fortran/desi24.f \
42     src/fortran/dellk.f \
43     src/fortran/syredi.f \
44     src/fortran/dpspln.f \
45     src/fortran/coeft.f \
46     src/fortran/tranpo.f \
47     src/fortran/blnumz.f \
48     src/fortran/sn.f \
49     src/fortran/bldenz.f \
50     src/fortran/dspln.f \
51     src/fortran/belan.f \
52     src/fortran/desib.f \
53     src/fortran/freque.f \
54     src/fortran/desi12.f \
55     src/fortran/cmpse2.f \
56     src/fortran/desi14.f \
57     src/fortran/delip.f \
58     src/fortran/deli1.f \
59     src/fortran/trbipo.f \
60     src/fortran/rpem.f \
61     src/fortran/dfft2.f \
62     src/fortran/dgee01.f \
63     src/fortran/romeg.f \
64     src/fortran/snell.f \
65     src/fortran/fft842.f \
66     src/fortran/tg02ad.f \
67     src/fortran/remez.f \
68     src/fortran/poles.f \
69     src/fortran/desi00.f \
70     src/fortran/desi21.f \
71     src/fortran/dfftmx.f
72
73 GATEWAY_CPP_SOURCES = \
74     sci_gateway/cpp/signal_gw.cpp \
75     sci_gateway/cpp/sci_rpem.cpp \
76     sci_gateway/cpp/sci_corr.cpp \
77     sci_gateway/cpp/sci_delip.cpp \
78     sci_gateway/cpp/sci_fft.cpp \
79     sci_gateway/cpp/sci_syredi.cpp
80
81 GATEWAY_C_SOURCES = \
82     sci_gateway/c/sci_remez.c \
83     sci_gateway/c/sci_amell.c
84
85 GATEWAY_FORTRAN_SOURCES = \
86     sci_gateway/fortran/bgetx.f \
87     sci_gateway/fortran/bgety.f \
88     sci_gateway/fortran/Ex-corr.f
89
90 libscisignal_processing_la_CFLAGS= \
91     -I$(srcdir)/includes/ \
92     -I$(top_srcdir)/modules/output_stream/includes \
93     -I$(top_srcdir)/modules/dynamic_link/includes \
94     -I$(top_srcdir)/modules/api_scilab/includes \
95     -I$(top_srcdir)/modules/statistics/includes \
96     -I$(top_srcdir)/modules/operations/includes
97
98 libscisignal_processing_la_CPPFLAGS= \
99     -I$(srcdir)/includes/ \
100     -I$(top_srcdir)/modules/output_stream/includes \
101     -I$(top_srcdir)/modules/elementary_functions/includes \
102     -I$(top_srcdir)/modules/types/includes \
103     -I$(top_srcdir)/modules/ast/includes \
104     -I$(top_srcdir)/modules/functions_manager/includes \
105     -I$(top_srcdir)/modules/operations/includes \
106     -I$(top_srcdir)/modules/symbol/includes
107
108 pkglib_LTLIBRARIES = libscisignal_processing.la
109 noinst_LTLIBRARIES = libscisignal_processing-algo.la
110
111 libscisignal_processing_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
112
113 libscisignal_processing_algo_la_SOURCES = $(SIGNAL_PROCESSING_FORTRAN_SOURCES) $(SIGNAL_PROCESSING_C_SOURCES)
114 libscisignal_processing_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES) $(GATEWAY_CPP_SOURCES)
115 libscisignal_processing_algo_la_CFLAGS = $(libscisignal_processing_la_CFLAGS)
116
117 # For the code check (splint)
118 CHECK_SRC= $(SIGNAL_PROCESSING_C_SOURCES) $(GATEWAY_C_SOURCES)
119 INCLUDE_FLAGS = $(libscisignal_processing_la_CFLAGS)
120
121 libscisignal_processing_la_LIBADD = libscisignal_processing-algo.la $(top_builddir)/modules/elementary_functions/libscielementary_functions.la $(top_builddir)/modules/dynamic_link/libscidynamic_link.la $(top_builddir)/modules/arnoldi/libsciarnoldi.la $(top_builddir)/modules/output_stream/libscioutput_stream.la
122
123 #### Target ######
124 modulename=signal_processing
125
126
127 #### signal_processing : Conf files ####
128 libscisignal_processing_la_rootdir = $(mydatadir)
129 libscisignal_processing_la_root_DATA =  license.txt 
130
131
132 ####�signal_processing : init scripts ####
133 libscisignal_processing_la_etcdir = $(mydatadir)/etc
134 libscisignal_processing_la_etc_DATA = etc/signal_processing.quit etc/signal_processing.start
135
136 ####�signal_processing : gateway declaration ####
137 libscisignal_processing_la_sci_gatewaydir = $(mydatadir)/sci_gateway
138 libscisignal_processing_la_sci_gateway_DATA = sci_gateway/signal_processing_gateway.xml
139
140 ####�signal_processing : include files ####
141 libscisignal_processing_la_includedir=$(pkgincludedir)/signal_processing
142 libscisignal_processing_la_include_HEADERS = includes/gw_signal.h
143
144 include $(top_srcdir)/Makefile.incl.am