Fix the library linking declaration
[scilab.git] / scilab / modules / cacsd / 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
7 SLICOT_FORTRAN_SOURCES= \
8 src/slicot/sb04pd.f \
9 src/slicot/ib01ad.f \
10 src/slicot/tb01wd.f \
11 src/slicot/ib01py.f \
12 src/slicot/mb01rx.f \
13 src/slicot/ib01md.f \
14 src/slicot/sb02ru.f \
15 src/slicot/sb04nw.f \
16 src/slicot/sb10dd.f \
17 src/slicot/mb04id.f \
18 src/slicot/sb04ny.f \
19 src/slicot/ib01qd.f \
20 src/slicot/sb04px.f \
21 src/slicot/sb04rw.f \
22 src/slicot/sb04ry.f \
23 src/slicot/mb01qd.f \
24 src/slicot/mb01ud.f \
25 src/slicot/sb02od.f \
26 src/slicot/mb02ud.f \
27 src/slicot/sb10pd.f \
28 src/slicot/sb03od.f \
29 src/slicot/mb03ud.f \
30 src/slicot/sb02sd.f \
31 src/slicot/ib01oy.f \
32 src/slicot/sb02ms.f \
33 src/slicot/ab13md.f \
34 src/slicot/sb03or.f \
35 src/slicot/mb03oy.f \
36 src/slicot/ma02fd.f \
37 src/slicot/sb03ot.f \
38 src/slicot/mb04oy.f \
39 src/slicot/sb04mu.f \
40 src/slicot/sb03mw.f \
41 src/slicot/sb02ov.f \
42 src/slicot/sb03ov.f \
43 src/slicot/sb04mw.f \
44 src/slicot/sb03my.f \
45 src/slicot/sb04my.f \
46 src/slicot/sb04qu.f \
47 src/slicot/ib01pd.f \
48 src/slicot/sb03qy.f \
49 src/slicot/sb03sx.f \
50 src/slicot/sb04qy.f \
51 src/slicot/mb01pd.f \
52 src/slicot/mb02pd.f \
53 src/slicot/mb01td.f \
54 src/slicot/sb02nd.f \
55 src/slicot/sb04nd.f \
56 src/slicot/sb02rd.f \
57 src/slicot/sb04rd.f \
58 src/slicot/ib01cd.f \
59 src/slicot/ib01px.f \
60 src/slicot/ma02ad.f \
61 src/slicot/ab01od.f \
62 src/slicot/mb01ru.f \
63 src/slicot/ma02ed.f \
64 src/slicot/mb04ny.f \
65 src/slicot/mb01ry.f \
66 src/slicot/sb04nv.f \
67 src/slicot/ib01od.f \
68 src/slicot/sb04nx.f \
69 src/slicot/sb10fd.f \
70 src/slicot/select.f \
71 src/slicot/sb04rv.f \
72 src/slicot/mb04kd.f \
73 src/slicot/sb04py.f \
74 src/slicot/sb04rx.f \
75 src/slicot/mb03od.f \
76 src/slicot/mb04od.f \
77 src/slicot/mb01sd.f \
78 src/slicot/sb03md.f \
79 src/slicot/sb04md.f \
80 src/slicot/sb02qd.f \
81 src/slicot/sb10rd.f \
82 src/slicot/sb04qd.f \
83 src/slicot/ib01my.f \
84 src/slicot/ib01bd.f \
85 src/slicot/mb04iy.f \
86 src/slicot/sb02mr.f \
87 src/slicot/ab01nd.f \
88 src/slicot/sb02mt.f \
89 src/slicot/sb04mr.f \
90 src/slicot/sb03mv.f \
91 src/slicot/sb02ou.f \
92 src/slicot/mb02qy.f \
93 src/slicot/sb03ou.f \
94 src/slicot/sb04qr.f \
95 src/slicot/sb03mx.f \
96 src/slicot/ib01nd.f \
97 src/slicot/sb02oy.f \
98 src/slicot/sb03oy.f \
99 src/slicot/sb03qx.f \
100 src/slicot/ib01rd.f \
101 src/slicot/sb03sy.f \
102 src/slicot/mb04nd.f \
103 src/slicot/mb01rd.f \
104 src/slicot/mb01vd.f \
105 src/slicot/sb10qd.f \
106 src/slicot/ereduc.f \
107 src/slicot/fstair.f \
108 src/slicot/inva.f \
109 src/slicot/polmc.f \
110 src/slicot/ssxmc.f \
111 src/slicot/ZB03OD.f \
112 src/slicot/riccpack.f \
113 src/slicot/Ex-schur.f
114
115 CACSD_FORTRAN_SOURCES = \
116 src/fortran/jacl2.f \
117 src/fortran/onface.f \
118 src/fortran/tild.f \
119 src/fortran/degl2.f \
120 src/fortran/qvalz.f \
121 src/fortran/dfrmg.f \
122 src/fortran/hessl2.f \
123 src/fortran/rtitr.f \
124 src/fortran/watfac.f \
125 src/fortran/sszer.f \
126 src/fortran/mzdivq.f \
127 src/fortran/expan.f \
128 src/fortran/optml2.f \
129 src/fortran/wdegre.f \
130 src/fortran/phi.f \
131 src/fortran/ricd.f \
132 src/fortran/shrslv.f \
133 src/fortran/qhesz.f \
134 src/fortran/rilac.f \
135 src/fortran/arl2.f \
136 src/fortran/wesidu.f \
137 src/fortran/dzdivq.f \
138 src/fortran/arl2a.f \
139 src/fortran/lq.f \
140 src/fortran/outl2.f \
141 src/fortran/dhetr.f \
142 src/fortran/domout.f \
143 src/fortran/rootgp.f \
144 src/fortran/feq.f \
145 src/fortran/fout.f \
146 src/fortran/deg1l2.f \
147 src/fortran/modul.f \
148 src/fortran/scapol.f \
149 src/fortran/giv.f \
150 src/fortran/storl2.f \
151 src/fortran/calsca.f \
152 src/fortran/qitz.f \
153 src/fortran/front.f
154
155 GATEWAY_C_SOURCES = \
156 sci_gateway/c/sci_arl2.c \
157 sci_gateway/c/sci_gspec.c \
158 sci_gateway/c/sci_rtitr.c \
159 sci_gateway/c/sci_ereduc.c \
160 sci_gateway/c/sci_ppol.c \
161 sci_gateway/c/sci_tzer.c \
162 sci_gateway/c/sci_contr.c \
163 sci_gateway/c/sci_fstair.c \
164 sci_gateway/c/sci_gschur.c \
165 sci_gateway/c/sci_residu.c \
166 sci_gateway/c/gw_slicot.c \
167 sci_gateway/c/gw_cacsd0.c \
168 sci_gateway/c/sci_freq.c \
169 sci_gateway/c/gw_cacsd1.c \
170 sci_gateway/c/sci_rankqr.c \
171 sci_gateway/c/sci_rrankqr.c \
172 sci_gateway/c/sci_zrankqr.c \
173 sci_gateway/c/sci_ltitr.c \
174 sci_gateway/c/sci_ldiv.c \
175 sci_gateway/c/gw_cacsd2.c \
176 sci_gateway/c/gw_cacsd3.c \
177 sci_gateway/c/sci_dhinf.c \
178 sci_gateway/c/sci_hinf.c \
179 sci_gateway/c/sci_linmeq.c \
180 sci_gateway/c/sci_mucomp.c \
181 sci_gateway/c/sci_ricc2.c
182
183
184
185 GATEWAY_FORTRAN_SOURCES = \
186 sci_gateway/fortran/sci_f_tzer.f \
187 sci_gateway/fortran/sci_f_residu.f \
188 sci_gateway/fortran/sci_f_sylv.f \
189 sci_gateway/fortran/sci_f_ppol.f \
190 sci_gateway/fortran/sci_f_freq.f \
191 sci_gateway/fortran/sci_f_ldiv.f \
192 sci_gateway/fortran/sci_f_sident.f \
193 sci_gateway/fortran/sci_f_lyap.f \
194 sci_gateway/fortran/sci_f_rtitr.f \
195 sci_gateway/fortran/sci_f_sorder.f \
196 sci_gateway/fortran/sci_f_ltitr.f \
197 sci_gateway/fortran/sci_f_arl2.f \
198 sci_gateway/fortran/sci_f_gschur.f \
199 sci_gateway/fortran/sci_f_ereduc.f \
200 sci_gateway/fortran/sci_f_findbd.f \
201 sci_gateway/fortran/sci_f_fstair.f \
202 sci_gateway/fortran/sci_f_gspec.f
203
204 libscicacsd_la_CPPFLAGS= -I$(srcdir)/includes/ \
205                         -I$(top_srcdir)/modules/api_scilab/includes/ \
206                         -I$(top_srcdir)/modules/localization/includes/ \
207                         -I$(top_srcdir)/modules/output_stream/includes/ \
208                         $(AM_CPPFLAGS)
209
210 if MAINTAINER_MODE
211 pkglib_LTLIBRARIES = libscicacsd.la
212 noinst_LTLIBRARIES = libscicacsd-algo.la
213 else
214 noinst_LTLIBRARIES = libscicacsd-algo.la libscicacsd.la
215 endif
216
217
218 libscicacsd_la_LDFLAGS = $(AM_LDFLAGS)
219
220 libscicacsd_algo_la_SOURCES = $(CACSD_FORTRAN_SOURCES) $(SLICOT_FORTRAN_SOURCES)
221 libscicacsd_la_SOURCES = $(GATEWAY_FORTRAN_SOURCES) $(GATEWAY_C_SOURCES)
222 libscicacsd_algo_la_CPPFLAGS = $(libscicacsd_la_CPPFLAGS)
223
224
225 # For the code check (splint)
226 CHECK_SRC= $(GATEWAY_C_SOURCES)
227 INCLUDE_FLAGS = $(libscicacsd_la_CPPFLAGS)
228
229
230 libscicacsd_la_LIBADD = libscicacsd-algo.la $(ATLAS_LIBS)
231
232
233 #### Target ######
234 modulename=cacsd
235
236
237 #### cacsd : Conf files ####
238 libscicacsd_la_rootdir = $(mydatadir)
239 libscicacsd_la_root_DATA =  license.txt
240
241 ####�cacsd : init scripts ####
242 libscicacsd_la_etcdir = $(mydatadir)/etc
243 libscicacsd_la_etc_DATA = etc/cacsd.quit etc/cacsd.start
244
245 ####�cacsd : gateway declaration ####
246 libscicacsd_la_sci_gatewaydir = $(mydatadir)/sci_gateway
247 libscicacsd_la_sci_gateway_DATA = sci_gateway/cacsd_gateway.xml
248
249 include $(top_srcdir)/Makefile.incl.am