Better management of the dependencies
[scilab.git] / scilab / modules / atoms / Makefile.in
1 # Makefile.in generated by automake 1.10.2 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
18 # Copyright (C) 2009 - DIGITEO
19 #
20 # This file must be used under the terms of the CeCILL.
21 # This source file is licensed as described in the file COPYING, which
22 # you should have received as part of this distribution.  The terms
23 # are also available at
24 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
25
26 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
27 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
28 # Copyright (C) 2008      - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
29 #
30 # This file must be used under the terms of the CeCILL.
31 # This source file is licensed as described in the file COPYING, which
32 # you should have received as part of this distribution.  The terms
33 # are also available at
34 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
35 #
36
37 ##########
38 ### Makefile included stuff
39 ### Target, variable, suffixes which are supposed to be usefull in every makefile.am
40 ##########
41
42 VPATH = @srcdir@
43 pkgdatadir = $(datadir)/@PACKAGE@
44 pkglibdir = $(libdir)/@PACKAGE@
45 pkgincludedir = $(includedir)/@PACKAGE@
46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
47 install_sh_DATA = $(install_sh) -c -m 644
48 install_sh_PROGRAM = $(install_sh) -c
49 install_sh_SCRIPT = $(install_sh) -c
50 INSTALL_HEADER = $(INSTALL_DATA)
51 transform = $(program_transform_name)
52 NORMAL_INSTALL = :
53 PRE_INSTALL = :
54 POST_INSTALL = :
55 NORMAL_UNINSTALL = :
56 PRE_UNINSTALL = :
57 POST_UNINSTALL = :
58 build_triplet = @build@
59 host_triplet = @host@
60 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
61         $(top_srcdir)/Makefile.incl.am
62 @NEED_JAVA_TRUE@am__append_1 = java
63 subdir = modules/atoms
64 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
65 am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \
66         $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
67         $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
68         $(top_srcdir)/m4/intel_compiler.m4 $(top_srcdir)/m4/java.m4 \
69         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/libs_by_debian.m4 \
70         $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
71         $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ocaml.m4 \
72         $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
73         $(top_srcdir)/m4/pvm.m4 $(top_srcdir)/m4/relocatable.m4 \
74         $(top_srcdir)/m4/swig.m4 $(top_srcdir)/m4/symlinks.m4 \
75         $(top_srcdir)/m4/tcltk.m4 $(top_srcdir)/m4/umfpack.m4 \
76         $(top_srcdir)/configure.ac
77 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
78         $(ACLOCAL_M4)
79 mkinstalldirs = $(install_sh) -d
80 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
81 CONFIG_CLEAN_FILES =
82 SOURCES =
83 DIST_SOURCES =
84 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
85 am__vpath_adj = case $$p in \
86     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
87     *) f=$$p;; \
88   esac;
89 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
90 am__installdirs = "$(DESTDIR)$(libsciatoms_la_etcdir)" \
91         "$(DESTDIR)$(libsciatoms_la_rootdir)"
92 libsciatoms_la_etcDATA_INSTALL = $(INSTALL_DATA)
93 libsciatoms_la_rootDATA_INSTALL = $(INSTALL_DATA)
94 DATA = $(libsciatoms_la_etc_DATA) $(libsciatoms_la_root_DATA)
95 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
96 ACLOCAL = @ACLOCAL@
97 ALL_LINGUAS = @ALL_LINGUAS@
98 AMTAR = @AMTAR@
99 ANT = @ANT@
100 AR = @AR@
101 AUTOCONF = @AUTOCONF@
102 AUTOHEADER = @AUTOHEADER@
103 AUTOMAKE = @AUTOMAKE@
104 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
105 AWK = @AWK@
106 BATIK = @BATIK@
107 BLAS_LIBS = @BLAS_LIBS@
108 CC = @CC@
109 CCDEPMODE = @CCDEPMODE@
110 CFLAGS = @CFLAGS@
111 COMMONS_IO = @COMMONS_IO@
112 COMMONS_LOGGING = @COMMONS_LOGGING@
113 CPP = @CPP@
114 CPPFLAGS = @CPPFLAGS@
115 CXX = @CXX@
116 CXXCPP = @CXXCPP@
117 CXXDEPMODE = @CXXDEPMODE@
118 CXXFLAGS = @CXXFLAGS@
119 CYGPATH_W = @CYGPATH_W@
120 DEFS = @DEFS@
121 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
122 DEPDIR = @DEPDIR@
123 DOCBOOK_ROOT = @DOCBOOK_ROOT@
124 DSYMUTIL = @DSYMUTIL@
125 ECHO = @ECHO@
126 ECHO_C = @ECHO_C@
127 ECHO_N = @ECHO_N@
128 ECHO_T = @ECHO_T@
129 EGREP = @EGREP@
130 EXEEXT = @EXEEXT@
131 F77 = @F77@
132 FFLAGS = @FFLAGS@
133 FFTW3_LIB = @FFTW3_LIB@
134 FFTW_ENABLE = @FFTW_ENABLE@
135 FLEXDOCK = @FLEXDOCK@
136 FLIBS = @FLIBS@
137 FOP = @FOP@
138 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
139 GIWS_BIN = @GIWS_BIN@
140 GLUEGEN_RT = @GLUEGEN_RT@
141 GMSGFMT = @GMSGFMT@
142 GMSGFMT_015 = @GMSGFMT_015@
143 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
144 GREP = @GREP@
145 GUI_ENABLE = @GUI_ENABLE@
146 HDF5_CFLAGS = @HDF5_CFLAGS@
147 HDF5_ENABLE = @HDF5_ENABLE@
148 HDF5_LIBS = @HDF5_LIBS@
149 HELP_ENABLE = @HELP_ENABLE@
150 INSTALL = @INSTALL@
151 INSTALL_DATA = @INSTALL_DATA@
152 INSTALL_PROGRAM = @INSTALL_PROGRAM@
153 INSTALL_SCRIPT = @INSTALL_SCRIPT@
154 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
155 INTLLIBS = @INTLLIBS@
156 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
157 JAR = @JAR@
158 JAVA = @JAVA@
159 JAVAC = @JAVAC@
160 JAVAH = @JAVAH@
161 JAVASCI_ENABLE = @JAVASCI_ENABLE@
162 JAVA_DEBUG_OPTIONS = @JAVA_DEBUG_OPTIONS@
163 JAVA_ENABLE = @JAVA_ENABLE@
164 JAVA_G = @JAVA_G@
165 JAVA_HOME = @JAVA_HOME@
166 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
167 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
168 JDB = @JDB@
169 JEUCLID_CORE = @JEUCLID_CORE@
170 JHALL = @JHALL@
171 JOGL = @JOGL@
172 JROSETTA_API = @JROSETTA_API@
173 JROSETTA_ENGINE = @JROSETTA_ENGINE@
174 LAPACK_LIBS = @LAPACK_LIBS@
175 LDFLAGS = @LDFLAGS@
176 LIBICONV = @LIBICONV@
177 LIBINTL = @LIBINTL@
178 LIBOBJS = @LIBOBJS@
179 LIBS = @LIBS@
180 LIBTOOL = @LIBTOOL@
181 LN_S = @LN_S@
182 LOOKS = @LOOKS@
183 LTLIBICONV = @LTLIBICONV@
184 LTLIBINTL = @LTLIBINTL@
185 LTLIBOBJS = @LTLIBOBJS@
186 MAINT = @MAINT@
187 MAKEINFO = @MAKEINFO@
188 MATIO_CFLAGS = @MATIO_CFLAGS@
189 MATIO_ENABLE = @MATIO_ENABLE@
190 MATIO_LIBS = @MATIO_LIBS@
191 MKDIR_P = @MKDIR_P@
192 MSGCAT = @MSGCAT@
193 MSGFMT = @MSGFMT@
194 MSGFMT_015 = @MSGFMT_015@
195 MSGMERGE = @MSGMERGE@
196 NM = @NM@
197 NMEDIT = @NMEDIT@
198 OBJEXT = @OBJEXT@
199 OCAMLC = @OCAMLC@
200 OCAMLDEP = @OCAMLDEP@
201 OCAMLLEX = @OCAMLLEX@
202 OCAMLOPT = @OCAMLOPT@
203 OCAMLYACC = @OCAMLYACC@
204 PACKAGE = @PACKAGE@
205 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
206 PACKAGE_NAME = @PACKAGE_NAME@
207 PACKAGE_STRING = @PACKAGE_STRING@
208 PACKAGE_TARNAME = @PACKAGE_TARNAME@
209 PACKAGE_VERSION = @PACKAGE_VERSION@
210 PATH_SEPARATOR = @PATH_SEPARATOR@
211 PCRE_CFLAGS = @PCRE_CFLAGS@
212 PCRE_CONFIG = @PCRE_CONFIG@
213 PCRE_LIBS = @PCRE_LIBS@
214 PCRE_VERSION = @PCRE_VERSION@
215 PKG_CONFIG = @PKG_CONFIG@
216 POSUB = @POSUB@
217 POW_LIB = @POW_LIB@
218 PVMGETARCH = @PVMGETARCH@
219 PVM_ARCH = @PVM_ARCH@
220 PVM_ENABLE = @PVM_ENABLE@
221 PVM_INCLUDE = @PVM_INCLUDE@
222 PVM_LIB = @PVM_LIB@
223 PYTHON = @PYTHON@
224 RANLIB = @RANLIB@
225 RELOCATABLE = @RELOCATABLE@
226 RT_LIB = @RT_LIB@
227 SAXON = @SAXON@
228 SCICOS_ENABLE = @SCICOS_ENABLE@
229 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
230 SCIPAD_ENABLE = @SCIPAD_ENABLE@
231 SED = @SED@
232 SET_MAKE = @SET_MAKE@
233 SET_RELOCATABLE = @SET_RELOCATABLE@
234 SHELL = @SHELL@
235 SKINLF = @SKINLF@
236 STRIP = @STRIP@
237 SWIG_BIN = @SWIG_BIN@
238 SWIG_JAVA = @SWIG_JAVA@
239 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
240 TCLTK_LIBS = @TCLTK_LIBS@
241 TCL_INC_PATH = @TCL_INC_PATH@
242 TK_INC_PATH = @TK_INC_PATH@
243 UMFPACK_ENABLE = @UMFPACK_ENABLE@
244 UMFPACK_LIB = @UMFPACK_LIB@
245 USE_NLS = @USE_NLS@
246 VERSION = @VERSION@
247 WITH_OCAML = @WITH_OCAML@
248 WITH_TKSCI = @WITH_TKSCI@
249 XGETTEXT = @XGETTEXT@
250 XGETTEXT_015 = @XGETTEXT_015@
251 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
252 XMKMF = @XMKMF@
253 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
254 XML_APIS_EXT = @XML_APIS_EXT@
255 XML_CONFIG = @XML_CONFIG@
256 XML_FLAGS = @XML_FLAGS@
257 XML_LIBS = @XML_LIBS@
258 XML_VERSION = @XML_VERSION@
259 X_CFLAGS = @X_CFLAGS@
260 X_EXTRA_LIBS = @X_EXTRA_LIBS@
261 X_LIBS = @X_LIBS@
262 X_PRE_LIBS = @X_PRE_LIBS@
263 abs_builddir = @abs_builddir@
264 abs_srcdir = @abs_srcdir@
265 abs_top_builddir = @abs_top_builddir@
266 abs_top_srcdir = @abs_top_srcdir@
267 ac_ct_CC = @ac_ct_CC@
268 ac_ct_CXX = @ac_ct_CXX@
269 ac_ct_F77 = @ac_ct_F77@
270 am__include = @am__include@
271 am__leading_dot = @am__leading_dot@
272 am__quote = @am__quote@
273 am__tar = @am__tar@
274 am__untar = @am__untar@
275 bindir = @bindir@
276 build = @build@
277 build_alias = @build_alias@
278 build_cpu = @build_cpu@
279 build_os = @build_os@
280 build_vendor = @build_vendor@
281 builddir = @builddir@
282 cxx_present = @cxx_present@
283 datadir = @datadir@
284 datarootdir = @datarootdir@
285 docdir = @docdir@
286 dvidir = @dvidir@
287 exec_prefix = @exec_prefix@
288 host = @host@
289 host_alias = @host_alias@
290 host_cpu = @host_cpu@
291 host_os = @host_os@
292 host_vendor = @host_vendor@
293 htmldir = @htmldir@
294 includedir = @includedir@
295 infodir = @infodir@
296 install_sh = @install_sh@
297 libdir = @libdir@
298 libexecdir = @libexecdir@
299 localedir = @localedir@
300 localstatedir = @localstatedir@
301 mandir = @mandir@
302 mkdir_p = @mkdir_p@
303 oldincludedir = @oldincludedir@
304 pdfdir = @pdfdir@
305 prefix = @prefix@
306 program_transform_name = @program_transform_name@
307 psdir = @psdir@
308 sbindir = @sbindir@
309 sharedstatedir = @sharedstatedir@
310 srcdir = @srcdir@
311 sysconfdir = @sysconfdir@
312 target_alias = @target_alias@
313 top_build_prefix = @top_build_prefix@
314 top_builddir = @top_builddir@
315 top_srcdir = @top_srcdir@
316 modulename = atoms
317
318 #### atoms : Conf files ####
319 libsciatoms_la_rootdir = $(mydatadir)
320 libsciatoms_la_root_DATA = changelog.txt license.txt readme.txt version.xml
321
322 #### atoms : init scripts ####
323 libsciatoms_la_etcdir = $(mydatadir)/etc
324 libsciatoms_la_etc_DATA = etc/atoms.quit etc/atoms.start etc/repositories
325
326 #### atoms : internal functions ####
327 MACROSDIRSEXT = macros/atoms_internals
328
329 # Where all the Scilab stuff is installed (macros, help, ...)
330 mydatadir = $(pkgdatadir)/modules/$(modulename)
331
332 # splint options
333 SPLINT_OPTIONS = -weak -booltype BOOL
334
335 ########################### JAVA ######################################
336 #### We are delegating java compilation to ant... Thanks to that
337 #### the procedure will be the same with Microsoft Windows (C)
338 #### and Linux/Unix
339 #######################################################################
340 TARGETS_ALL = $(am__append_1)
341
342 ################ MACROS ######################
343 # Rule to build a macro
344 # NOT USED  AT THE MOMENT
345 SUFFIXES = .sci 
346
347 ########### INSTALL DOCUMENTATION ###################
348
349 # Install documentation files into the right target
350 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
351 # automake needs the html files to be present which is not the case when
352 # we are building Scilab
353
354 # Where it should be installed
355 pkgdocdir = $(mydatadir)
356
357 # What is the mask of the help source
358 DOCMASKXML = *.xml
359
360 # What is the mask of the MathML sources
361 DOCMASKMML = *.mml
362
363 ########### INSTALL DATA ###################
364 # Install macros, help & demos
365 # Where it should be installed
366 pkgmacrosdir = $(mydatadir)
367 # Which directory we process
368 MACRODIRS = macros/
369 # Mask of the Scilab sources macros
370 MACROMASK = *.sci
371 # Mask of the Scilab executable sources macros
372 MACROBUILDMASK = *.sce
373 # Mask of the Scilab compiled macros
374 MACROBINMASK = *.bin
375 # List of the standard directory for tests
376 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests
377 # Where the demos should be installed
378 pkgdemosdir = $(mydatadir)
379 # List of the standard directory for demos
380 DEMOS_DIR = demos
381 # List of the standard directory for examples
382 EXAMPLES_DIR = examples
383 # Where to export JAVA archives (.jar)
384 JARDIR = jar/
385 # JAR files mask
386 JARMASK = *.jar
387 # Chapter file 
388 HELP_CHAPTERDIR = help/
389 HELP_CHAPTERFILE = addchapter.sce
390 HELP_CHAPTERLANG = en_US fr_FR pt_BR
391 all: all-am
392
393 .SUFFIXES:
394 .SUFFIXES: .sci .bin
395 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
396         @for dep in $?; do \
397           case '$(am__configure_deps)' in \
398             *$$dep*) \
399               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
400                 && { if test -f $@; then exit 0; else break; fi; }; \
401               exit 1;; \
402           esac; \
403         done; \
404         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  modules/atoms/Makefile'; \
405         cd $(top_srcdir) && \
406           $(AUTOMAKE) --foreign  modules/atoms/Makefile
407 .PRECIOUS: Makefile
408 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
409         @case '$?' in \
410           *config.status*) \
411             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
412           *) \
413             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
414             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
415         esac;
416
417 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
418         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
419
420 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
421         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
422 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
423         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
424
425 mostlyclean-libtool:
426         -rm -f *.lo
427
428 clean-libtool:
429         -rm -rf .libs _libs
430 install-libsciatoms_la_etcDATA: $(libsciatoms_la_etc_DATA)
431         @$(NORMAL_INSTALL)
432         test -z "$(libsciatoms_la_etcdir)" || $(MKDIR_P) "$(DESTDIR)$(libsciatoms_la_etcdir)"
433         @list='$(libsciatoms_la_etc_DATA)'; for p in $$list; do \
434           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
435           f=$(am__strip_dir) \
436           echo " $(libsciatoms_la_etcDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libsciatoms_la_etcdir)/$$f'"; \
437           $(libsciatoms_la_etcDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libsciatoms_la_etcdir)/$$f"; \
438         done
439
440 uninstall-libsciatoms_la_etcDATA:
441         @$(NORMAL_UNINSTALL)
442         @list='$(libsciatoms_la_etc_DATA)'; for p in $$list; do \
443           f=$(am__strip_dir) \
444           echo " rm -f '$(DESTDIR)$(libsciatoms_la_etcdir)/$$f'"; \
445           rm -f "$(DESTDIR)$(libsciatoms_la_etcdir)/$$f"; \
446         done
447 install-libsciatoms_la_rootDATA: $(libsciatoms_la_root_DATA)
448         @$(NORMAL_INSTALL)
449         test -z "$(libsciatoms_la_rootdir)" || $(MKDIR_P) "$(DESTDIR)$(libsciatoms_la_rootdir)"
450         @list='$(libsciatoms_la_root_DATA)'; for p in $$list; do \
451           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
452           f=$(am__strip_dir) \
453           echo " $(libsciatoms_la_rootDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libsciatoms_la_rootdir)/$$f'"; \
454           $(libsciatoms_la_rootDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libsciatoms_la_rootdir)/$$f"; \
455         done
456
457 uninstall-libsciatoms_la_rootDATA:
458         @$(NORMAL_UNINSTALL)
459         @list='$(libsciatoms_la_root_DATA)'; for p in $$list; do \
460           f=$(am__strip_dir) \
461           echo " rm -f '$(DESTDIR)$(libsciatoms_la_rootdir)/$$f'"; \
462           rm -f "$(DESTDIR)$(libsciatoms_la_rootdir)/$$f"; \
463         done
464 tags: TAGS
465 TAGS:
466
467 ctags: CTAGS
468 CTAGS:
469
470
471 distdir: $(DISTFILES)
472         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
473         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
474         list='$(DISTFILES)'; \
475           dist_files=`for file in $$list; do echo $$file; done | \
476           sed -e "s|^$$srcdirstrip/||;t" \
477               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
478         case $$dist_files in \
479           */*) $(MKDIR_P) `echo "$$dist_files" | \
480                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
481                            sort -u` ;; \
482         esac; \
483         for file in $$dist_files; do \
484           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
485           if test -d $$d/$$file; then \
486             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
487             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
488               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
489             fi; \
490             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
491           else \
492             test -f $(distdir)/$$file \
493             || cp -p $$d/$$file $(distdir)/$$file \
494             || exit 1; \
495           fi; \
496         done
497 check-am: all-am
498         $(MAKE) $(AM_MAKEFLAGS) check-local
499 check: check-am
500 all-am: Makefile $(DATA) all-local
501 installdirs:
502         for dir in "$(DESTDIR)$(libsciatoms_la_etcdir)" "$(DESTDIR)$(libsciatoms_la_rootdir)"; do \
503           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
504         done
505 install: install-am
506 install-exec: install-exec-am
507 install-data: install-data-am
508 uninstall: uninstall-am
509
510 install-am: all-am
511         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
512
513 installcheck: installcheck-am
514 install-strip:
515         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
516           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
517           `test -z '$(STRIP)' || \
518             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
519 mostlyclean-generic:
520
521 clean-generic:
522
523 distclean-generic:
524         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
525
526 maintainer-clean-generic:
527         @echo "This command is intended for maintainers to use"
528         @echo "it deletes files that may require special tools to rebuild."
529 clean: clean-am
530
531 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
532
533 distclean: distclean-am
534         -rm -f Makefile
535 distclean-am: clean-am distclean-generic distclean-local
536
537 dvi: dvi-am
538
539 dvi-am:
540
541 html: html-am
542
543 info: info-am
544
545 info-am:
546
547 install-data-am: install-data-local install-libsciatoms_la_etcDATA \
548         install-libsciatoms_la_rootDATA
549
550 install-dvi: install-dvi-am
551
552 install-exec-am:
553
554 install-html: install-html-am
555
556 install-html-am: install-html-local
557
558 install-info: install-info-am
559
560 install-man:
561
562 install-pdf: install-pdf-am
563
564 install-ps: install-ps-am
565
566 installcheck-am:
567
568 maintainer-clean: maintainer-clean-am
569         -rm -f Makefile
570 maintainer-clean-am: distclean-am maintainer-clean-generic
571
572 mostlyclean: mostlyclean-am
573
574 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
575
576 pdf: pdf-am
577
578 pdf-am:
579
580 ps: ps-am
581
582 ps-am:
583
584 uninstall-am: uninstall-libsciatoms_la_etcDATA \
585         uninstall-libsciatoms_la_rootDATA
586
587 .MAKE: install-am install-strip
588
589 .PHONY: all all-am all-local check check-am check-local clean \
590         clean-generic clean-libtool clean-local distclean \
591         distclean-generic distclean-libtool distclean-local distdir \
592         dvi dvi-am html html-am info info-am install install-am \
593         install-data install-data-am install-data-local install-dvi \
594         install-dvi-am install-exec install-exec-am install-html \
595         install-html-am install-html-local install-info \
596         install-info-am install-libsciatoms_la_etcDATA \
597         install-libsciatoms_la_rootDATA install-man install-pdf \
598         install-pdf-am install-ps install-ps-am install-strip \
599         installcheck installcheck-am installdirs maintainer-clean \
600         maintainer-clean-generic mostlyclean mostlyclean-generic \
601         mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
602         uninstall-libsciatoms_la_etcDATA \
603         uninstall-libsciatoms_la_rootDATA
604
605
606 # This target enables tests for Scilab
607 check-local: $(top_builddir)/scilab-bin
608         @COMMAND="test_run('$(modulename)');quit";\
609         export LANG=C;\
610         $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"
611 check-code:
612         @if test -f build.xml; then \
613                 $(ANT) checkstyle; \
614         fi;\
615         splint $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC)
616 @NEED_JAVA_TRUE@java:
617 # Some configurations needs to export JAVA_HOME in the current env
618 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
619 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
620 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
621 @NEED_JAVA_TRUE@                $(ANT); \
622 @NEED_JAVA_TRUE@        fi
623
624 @NEED_JAVA_TRUE@clean-java:
625 # Some configurations needs to export JAVA_HOME in the current env
626 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
627 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
628 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
629 @NEED_JAVA_TRUE@                $(ANT) clean; \
630 @NEED_JAVA_TRUE@        fi;
631
632 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
633 # We call the target swig-build on the variable SWIG_WRAPPERS
634
635 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
636 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
637 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
638 @SWIG_TRUE@     if test ! -z "$(SWIG_WRAPPERS)"; then \
639 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
640 @SWIG_TRUE@                     echo "Swig process of $$file ..."; \
641 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
642 @SWIG_TRUE@             done; \
643 @SWIG_TRUE@     fi
644
645 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
646 # We call the target swig-build on the variable SWIG_WRAPPERS
647
648 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
649 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
650 @GIWS_TRUE@     if test ! -z "$(GIWS_WRAPPERS)"; then \
651 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
652 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
653 @GIWS_TRUE@                     $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
654 @GIWS_TRUE@             done; \
655 @GIWS_TRUE@     fi
656
657 macros:
658         -@( if test ! -x $(top_builddir)/scilab-bin; then \
659                 echo "Error : Cannot build $< : Scilab has not been built"; \
660         else \
661                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
662         fi)
663
664 # Removes the macros
665 clean-macros:
666 # Removes macros (*.bin generated from .sci)
667         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
668                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
669                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
670         done
671
672 all-local: $(TARGETS_ALL)
673
674 .sci.bin:
675         -@( if test ! -x $(top_builddir)/scilab-bin; then \
676         echo "Error : Cannot build $< : Scilab has not been build"; \
677         else \
678         echo "Creating $@"; \
679         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
680         fi )
681
682 install-html-local:
683 # If the user wants the help sources to be installed
684 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
685 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
686 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
687 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
688 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
689 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
690 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
691 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
692 @INSTALL_HELP_XML_TRUE@           done ; \
693 @INSTALL_HELP_XML_TRUE@         fi; \
694 @INSTALL_HELP_XML_TRUE@  fi; \
695 @INSTALL_HELP_XML_TRUE@ done; \
696 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
697 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
698 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
699 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
700 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
701 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
702 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
703 @INSTALL_HELP_XML_TRUE@           done ; \
704 @INSTALL_HELP_XML_TRUE@         fi; \
705 @INSTALL_HELP_XML_TRUE@ fi
706 install-data-local:
707 # Install the tests
708         @echo "-------- Install tests (if any) --------"; \
709         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
710           if test -d $(srcdir)/$$dir/; then \
711             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
712                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
713                     if test -d "$(srcdir)/$$dir/$$file"; then \
714                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
715                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
716                     else \
717                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
718                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
719                     fi \
720                   done; \
721           fi; \
722         done
723 # Install the help chapter
724         @echo "-------- Install the help chapter (if any) --------"; \
725         for lang in $(HELP_CHAPTERLANG); do \
726                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
727                 if test -f $$HELPFILE; then \
728                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
729                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
730                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
731                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
732                 fi; \
733         done
734 # Install the demos & examples
735         @echo "-------- Install demos & examples (if any) --------"; \
736         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
737           if test -d $(srcdir)/$$dir/; then \
738             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
739                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
740                     if test -d "$(srcdir)/$$dir/$$file"; then \
741                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
742                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
743                     else \
744                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
745                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
746                     fi \
747                   done; \
748           fi; \
749         done
750 # Install the macros
751         @echo "-------- Install macros (if any) --------"; \
752         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
753           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
754                 if test -d $(srcdir)/$$dir/; then \
755                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
756                         for specialExt in $(MACROSSPECIALEXT); do \
757                                 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
758                         done; \
759                         FILELIST="$$FILELIST $$specialExtDir"; \
760                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
761                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
762                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
763                   done; \
764                 fi; \
765         done
766 # Install java files (.jar)
767         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
768         echo "-------- Install jar files --------"; \
769     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
770           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
771                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
772                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
773           done ; \
774         fi
775
776 ########### CLEAN ###################
777 # Clean macros and help (generated automatically by Scilab)
778 @NEED_JAVA_TRUE@clean-local: clean-java clean-macros
779 @NEED_JAVA_FALSE@clean-local: clean-macros
780
781 distclean-local:
782         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
783
784 .PHONY: macros java swig giws
785 # Tell versions [3.59,3.63) of GNU make to not export all variables.
786 # Otherwise a system limit (for SysV at least) may be exceeded.
787 .NOEXPORT: