Atoms 0.2
[scilab.git] / scilab / modules / atoms / Makefile.in
1 # Makefile.in generated by automake 1.10.1 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/intel_compiler.m4 \
68         $(top_srcdir)/m4/java.m4 $(top_srcdir)/m4/lib-ld.m4 \
69         $(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 DEPDIR = @DEPDIR@
122 DOCBOOK_ROOT = @DOCBOOK_ROOT@
123 DSYMUTIL = @DSYMUTIL@
124 ECHO = @ECHO@
125 ECHO_C = @ECHO_C@
126 ECHO_N = @ECHO_N@
127 ECHO_T = @ECHO_T@
128 EGREP = @EGREP@
129 EXEEXT = @EXEEXT@
130 F77 = @F77@
131 FFLAGS = @FFLAGS@
132 FFTW3_LIB = @FFTW3_LIB@
133 FFTW_ENABLE = @FFTW_ENABLE@
134 FLEXDOCK = @FLEXDOCK@
135 FLIBS = @FLIBS@
136 FOP = @FOP@
137 GIWS_BIN = @GIWS_BIN@
138 GLUEGEN_RT = @GLUEGEN_RT@
139 GREP = @GREP@
140 INSTALL = @INSTALL@
141 INSTALL_DATA = @INSTALL_DATA@
142 INSTALL_PROGRAM = @INSTALL_PROGRAM@
143 INSTALL_SCRIPT = @INSTALL_SCRIPT@
144 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
145 JAR = @JAR@
146 JAVA = @JAVA@
147 JAVAC = @JAVAC@
148 JAVAH = @JAVAH@
149 JAVA_G = @JAVA_G@
150 JAVA_HOME = @JAVA_HOME@
151 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
152 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
153 JDB = @JDB@
154 JEUCLID_CORE = @JEUCLID_CORE@
155 JHALL = @JHALL@
156 JOGL = @JOGL@
157 JROSETTA_API = @JROSETTA_API@
158 JROSETTA_ENGINE = @JROSETTA_ENGINE@
159 LAPACK_LIBS = @LAPACK_LIBS@
160 LDFLAGS = @LDFLAGS@
161 LIBOBJS = @LIBOBJS@
162 LIBS = @LIBS@
163 LIBTOOL = @LIBTOOL@
164 LN_S = @LN_S@
165 LOOKS = @LOOKS@
166 LTLIBOBJS = @LTLIBOBJS@
167 MAINT = @MAINT@
168 MAKEINFO = @MAKEINFO@
169 MATIO_CFLAGS = @MATIO_CFLAGS@
170 MATIO_ENABLE = @MATIO_ENABLE@
171 MATIO_LIBS = @MATIO_LIBS@
172 MKDIR_P = @MKDIR_P@
173 MSGCAT = @MSGCAT@
174 MSGFMT = @MSGFMT@
175 NM = @NM@
176 NMEDIT = @NMEDIT@
177 OBJEXT = @OBJEXT@
178 OCAMLC = @OCAMLC@
179 OCAMLDEP = @OCAMLDEP@
180 OCAMLLEX = @OCAMLLEX@
181 OCAMLOPT = @OCAMLOPT@
182 OCAMLYACC = @OCAMLYACC@
183 PACKAGE = @PACKAGE@
184 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
185 PACKAGE_NAME = @PACKAGE_NAME@
186 PACKAGE_STRING = @PACKAGE_STRING@
187 PACKAGE_TARNAME = @PACKAGE_TARNAME@
188 PACKAGE_VERSION = @PACKAGE_VERSION@
189 PATH_SEPARATOR = @PATH_SEPARATOR@
190 PCRE_CFLAGS = @PCRE_CFLAGS@
191 PCRE_CONFIG = @PCRE_CONFIG@
192 PCRE_LIBS = @PCRE_LIBS@
193 PCRE_VERSION = @PCRE_VERSION@
194 PKG_CONFIG = @PKG_CONFIG@
195 POW_LIB = @POW_LIB@
196 PVMARCH = @PVMARCH@
197 PVMGETARCH = @PVMGETARCH@
198 PVM_ENABLE = @PVM_ENABLE@
199 PVM_INCLUDE = @PVM_INCLUDE@
200 PVM_LIB = @PVM_LIB@
201 PYTHON = @PYTHON@
202 RANLIB = @RANLIB@
203 RELOCATABLE = @RELOCATABLE@
204 RT_LIB = @RT_LIB@
205 SAXON = @SAXON@
206 SCICOS_ENABLE = @SCICOS_ENABLE@
207 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
208 SED = @SED@
209 SET_MAKE = @SET_MAKE@
210 SET_RELOCATABLE = @SET_RELOCATABLE@
211 SHELL = @SHELL@
212 SKINLF = @SKINLF@
213 STRIP = @STRIP@
214 SWIG_BIN = @SWIG_BIN@
215 SWIG_JAVA = @SWIG_JAVA@
216 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
217 TCLTK_LIBS = @TCLTK_LIBS@
218 TCL_INC_PATH = @TCL_INC_PATH@
219 TERMCAP_LIB = @TERMCAP_LIB@
220 TK_INC_PATH = @TK_INC_PATH@
221 UMFPACK_ENABLE = @UMFPACK_ENABLE@
222 UMFPACK_LIB = @UMFPACK_LIB@
223 VERSION = @VERSION@
224 WITH_OCAML = @WITH_OCAML@
225 WITH_TKSCI = @WITH_TKSCI@
226 XGETTEXT = @XGETTEXT@
227 XMKMF = @XMKMF@
228 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
229 XML_APIS_EXT = @XML_APIS_EXT@
230 XML_CONFIG = @XML_CONFIG@
231 XML_FLAGS = @XML_FLAGS@
232 XML_LIBS = @XML_LIBS@
233 XML_VERSION = @XML_VERSION@
234 X_CFLAGS = @X_CFLAGS@
235 X_EXTRA_LIBS = @X_EXTRA_LIBS@
236 X_LIBS = @X_LIBS@
237 X_PRE_LIBS = @X_PRE_LIBS@
238 abs_builddir = @abs_builddir@
239 abs_srcdir = @abs_srcdir@
240 abs_top_builddir = @abs_top_builddir@
241 abs_top_srcdir = @abs_top_srcdir@
242 ac_ct_CC = @ac_ct_CC@
243 ac_ct_CXX = @ac_ct_CXX@
244 ac_ct_F77 = @ac_ct_F77@
245 am__include = @am__include@
246 am__leading_dot = @am__leading_dot@
247 am__quote = @am__quote@
248 am__tar = @am__tar@
249 am__untar = @am__untar@
250 bindir = @bindir@
251 build = @build@
252 build_alias = @build_alias@
253 build_cpu = @build_cpu@
254 build_os = @build_os@
255 build_vendor = @build_vendor@
256 builddir = @builddir@
257 cxx_present = @cxx_present@
258 datadir = @datadir@
259 datarootdir = @datarootdir@
260 docdir = @docdir@
261 dvidir = @dvidir@
262 exec_prefix = @exec_prefix@
263 host = @host@
264 host_alias = @host_alias@
265 host_cpu = @host_cpu@
266 host_os = @host_os@
267 host_vendor = @host_vendor@
268 htmldir = @htmldir@
269 includedir = @includedir@
270 infodir = @infodir@
271 install_sh = @install_sh@
272 libdir = @libdir@
273 libexecdir = @libexecdir@
274 localedir = @localedir@
275 localstatedir = @localstatedir@
276 mandir = @mandir@
277 mkdir_p = @mkdir_p@
278 oldincludedir = @oldincludedir@
279 pdfdir = @pdfdir@
280 prefix = @prefix@
281 program_transform_name = @program_transform_name@
282 psdir = @psdir@
283 sbindir = @sbindir@
284 sharedstatedir = @sharedstatedir@
285 srcdir = @srcdir@
286 sysconfdir = @sysconfdir@
287 target_alias = @target_alias@
288 top_build_prefix = @top_build_prefix@
289 top_builddir = @top_builddir@
290 top_srcdir = @top_srcdir@
291 modulename = atoms
292
293 #### atoms : Conf files ####
294 libsciatoms_la_rootdir = $(mydatadir)
295 libsciatoms_la_root_DATA = changelog.txt license.txt readme.txt version.xml
296
297 #### atoms : init scripts ####
298 libsciatoms_la_etcdir = $(mydatadir)/etc
299 libsciatoms_la_etc_DATA = etc/atoms.quit etc/atoms.start
300
301 #### atoms : internal functions ####
302 MACROSDIRSEXT = macros/atoms_internals
303
304 # Where all the Scilab stuff is installed (macros, help, ...)
305 mydatadir = $(pkgdatadir)/modules/$(modulename)
306
307 # splint options
308 SPLINT_OPTIONS = -weak -booltype BOOL
309
310 ########################### JAVA ######################################
311 #### We are delegating java compilation to ant... Thanks to that
312 #### the procedure will be the same with Microsoft Windows (C)
313 #### and Linux/Unix
314 #######################################################################
315 TARGETS_ALL = $(am__append_1)
316
317 ################ MACROS ######################
318 # Rule to build a macro
319 # NOT USED  AT THE MOMENT
320 SUFFIXES = .sci 
321
322 ########### INSTALL DOCUMENTATION ###################
323
324 # Install documentation files into the right target
325 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
326 # automake needs the html files to be present which is not the case when
327 # we are building Scilab
328
329 # Where it should be installed
330 pkgdocdir = $(mydatadir)
331
332 # What is the mask of the help source
333 DOCMASKXML = *.xml
334
335 ########### INSTALL DATA ###################
336 # Install macros, help & demos
337 # Where it should be installed
338 pkgmacrosdir = $(mydatadir)
339 # Which directory we process
340 MACRODIRS = macros/
341 # Mask of the Scilab sources macros
342 MACROMASK = *.sci
343 # Mask of the Scilab executable sources macros
344 MACROBUILDMASK = *.sce
345 # Mask of the Scilab compiled macros
346 MACROBINMASK = *.bin
347 # List of the standard directory for tests
348 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests
349 # Where the demos should be installed
350 pkgdemosdir = $(mydatadir)
351 # List of the standard directory for demos
352 DEMOS_DIR = demos
353 # List of the standard directory for examples
354 EXAMPLES_DIR = examples
355 # Where to export JAVA archives (.jar)
356 JARDIR = jar/
357 # JAR files mask
358 JARMASK = *.jar
359 # Chapter file 
360 HELP_CHAPTERDIR = help/
361 HELP_CHAPTERFILE = addchapter.sce
362 all: all-am
363
364 .SUFFIXES:
365 .SUFFIXES: .sci .bin
366 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
367         @for dep in $?; do \
368           case '$(am__configure_deps)' in \
369             *$$dep*) \
370               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
371                 && exit 0; \
372               exit 1;; \
373           esac; \
374         done; \
375         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  modules/atoms/Makefile'; \
376         cd $(top_srcdir) && \
377           $(AUTOMAKE) --foreign  modules/atoms/Makefile
378 .PRECIOUS: Makefile
379 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
380         @case '$?' in \
381           *config.status*) \
382             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
383           *) \
384             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
385             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
386         esac;
387
388 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
389         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
390
391 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
392         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
393 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
394         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
395
396 mostlyclean-libtool:
397         -rm -f *.lo
398
399 clean-libtool:
400         -rm -rf .libs _libs
401 install-libsciatoms_la_etcDATA: $(libsciatoms_la_etc_DATA)
402         @$(NORMAL_INSTALL)
403         test -z "$(libsciatoms_la_etcdir)" || $(MKDIR_P) "$(DESTDIR)$(libsciatoms_la_etcdir)"
404         @list='$(libsciatoms_la_etc_DATA)'; for p in $$list; do \
405           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
406           f=$(am__strip_dir) \
407           echo " $(libsciatoms_la_etcDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libsciatoms_la_etcdir)/$$f'"; \
408           $(libsciatoms_la_etcDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libsciatoms_la_etcdir)/$$f"; \
409         done
410
411 uninstall-libsciatoms_la_etcDATA:
412         @$(NORMAL_UNINSTALL)
413         @list='$(libsciatoms_la_etc_DATA)'; for p in $$list; do \
414           f=$(am__strip_dir) \
415           echo " rm -f '$(DESTDIR)$(libsciatoms_la_etcdir)/$$f'"; \
416           rm -f "$(DESTDIR)$(libsciatoms_la_etcdir)/$$f"; \
417         done
418 install-libsciatoms_la_rootDATA: $(libsciatoms_la_root_DATA)
419         @$(NORMAL_INSTALL)
420         test -z "$(libsciatoms_la_rootdir)" || $(MKDIR_P) "$(DESTDIR)$(libsciatoms_la_rootdir)"
421         @list='$(libsciatoms_la_root_DATA)'; for p in $$list; do \
422           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
423           f=$(am__strip_dir) \
424           echo " $(libsciatoms_la_rootDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libsciatoms_la_rootdir)/$$f'"; \
425           $(libsciatoms_la_rootDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libsciatoms_la_rootdir)/$$f"; \
426         done
427
428 uninstall-libsciatoms_la_rootDATA:
429         @$(NORMAL_UNINSTALL)
430         @list='$(libsciatoms_la_root_DATA)'; for p in $$list; do \
431           f=$(am__strip_dir) \
432           echo " rm -f '$(DESTDIR)$(libsciatoms_la_rootdir)/$$f'"; \
433           rm -f "$(DESTDIR)$(libsciatoms_la_rootdir)/$$f"; \
434         done
435 tags: TAGS
436 TAGS:
437
438 ctags: CTAGS
439 CTAGS:
440
441
442 distdir: $(DISTFILES)
443         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
444         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
445         list='$(DISTFILES)'; \
446           dist_files=`for file in $$list; do echo $$file; done | \
447           sed -e "s|^$$srcdirstrip/||;t" \
448               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
449         case $$dist_files in \
450           */*) $(MKDIR_P) `echo "$$dist_files" | \
451                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
452                            sort -u` ;; \
453         esac; \
454         for file in $$dist_files; do \
455           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
456           if test -d $$d/$$file; then \
457             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
458             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
459               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
460             fi; \
461             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
462           else \
463             test -f $(distdir)/$$file \
464             || cp -p $$d/$$file $(distdir)/$$file \
465             || exit 1; \
466           fi; \
467         done
468 check-am: all-am
469         $(MAKE) $(AM_MAKEFLAGS) check-local
470 check: check-am
471 all-am: Makefile $(DATA) all-local
472 installdirs:
473         for dir in "$(DESTDIR)$(libsciatoms_la_etcdir)" "$(DESTDIR)$(libsciatoms_la_rootdir)"; do \
474           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
475         done
476 install: install-am
477 install-exec: install-exec-am
478 install-data: install-data-am
479 uninstall: uninstall-am
480
481 install-am: all-am
482         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
483
484 installcheck: installcheck-am
485 install-strip:
486         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
487           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
488           `test -z '$(STRIP)' || \
489             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
490 mostlyclean-generic:
491
492 clean-generic:
493
494 distclean-generic:
495         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
496
497 maintainer-clean-generic:
498         @echo "This command is intended for maintainers to use"
499         @echo "it deletes files that may require special tools to rebuild."
500 clean: clean-am
501
502 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
503
504 distclean: distclean-am
505         -rm -f Makefile
506 distclean-am: clean-am distclean-generic distclean-local
507
508 dvi: dvi-am
509
510 dvi-am:
511
512 html: html-am
513
514 info: info-am
515
516 info-am:
517
518 install-data-am: install-data-local install-libsciatoms_la_etcDATA \
519         install-libsciatoms_la_rootDATA
520
521 install-dvi: install-dvi-am
522
523 install-exec-am:
524
525 install-html: install-html-am
526
527 install-html-am: install-html-local
528
529 install-info: install-info-am
530
531 install-man:
532
533 install-pdf: install-pdf-am
534
535 install-ps: install-ps-am
536
537 installcheck-am:
538
539 maintainer-clean: maintainer-clean-am
540         -rm -f Makefile
541 maintainer-clean-am: distclean-am maintainer-clean-generic
542
543 mostlyclean: mostlyclean-am
544
545 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
546
547 pdf: pdf-am
548
549 pdf-am:
550
551 ps: ps-am
552
553 ps-am:
554
555 uninstall-am: uninstall-libsciatoms_la_etcDATA \
556         uninstall-libsciatoms_la_rootDATA
557
558 .MAKE: install-am install-strip
559
560 .PHONY: all all-am all-local check check-am check-local clean \
561         clean-generic clean-libtool clean-local distclean \
562         distclean-generic distclean-libtool distclean-local distdir \
563         dvi dvi-am html html-am info info-am install install-am \
564         install-data install-data-am install-data-local install-dvi \
565         install-dvi-am install-exec install-exec-am install-html \
566         install-html-am install-html-local install-info \
567         install-info-am install-libsciatoms_la_etcDATA \
568         install-libsciatoms_la_rootDATA install-man install-pdf \
569         install-pdf-am install-ps install-ps-am install-strip \
570         installcheck installcheck-am installdirs maintainer-clean \
571         maintainer-clean-generic mostlyclean mostlyclean-generic \
572         mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
573         uninstall-libsciatoms_la_etcDATA \
574         uninstall-libsciatoms_la_rootDATA
575
576
577 # This target enables tests for Scilab
578 check-local: $(top_builddir)/scilab-bin
579         @COMMAND="test_run('$(modulename)');quit";\
580         export LANG=C;\
581         $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"
582 check-code:
583         @if test -f build.xml; then \
584                 $(ANT) checkstyle; \
585         fi;\
586         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)
587 @NEED_JAVA_TRUE@java:
588 # Some configurations needs to export JAVA_HOME in the current env
589 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
590 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
591 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
592 @NEED_JAVA_TRUE@                $(ANT); \
593 @NEED_JAVA_TRUE@        fi
594
595 @NEED_JAVA_TRUE@clean-java:
596 # Some configurations needs to export JAVA_HOME in the current env
597 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
598 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
599 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
600 @NEED_JAVA_TRUE@                $(ANT) clean; \
601 @NEED_JAVA_TRUE@        fi;
602
603 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
604 # We call the target swig-build on the variable SWIG_WRAPPERS
605
606 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
607 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
608 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
609 @SWIG_TRUE@     if test ! -z "$(SWIG_WRAPPERS)"; then \
610 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
611 @SWIG_TRUE@                     echo "Swig process of $$file ..."; \
612 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
613 @SWIG_TRUE@             done; \
614 @SWIG_TRUE@     fi
615
616 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
617 # We call the target swig-build on the variable SWIG_WRAPPERS
618
619 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
620 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
621 @GIWS_TRUE@     if test ! -z "$(GIWS_WRAPPERS)"; then \
622 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
623 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
624 @GIWS_TRUE@                     $(GIWS_BIN) --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
625 @GIWS_TRUE@             done; \
626 @GIWS_TRUE@     fi
627
628 macros:
629         -@( if test ! -x $(top_builddir)/scilab-bin; then \
630                 echo "Error : Cannot build $< : Scilab has not been built"; \
631         else \
632                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
633         fi)
634
635 # Removes the macros
636 clean-macros:
637 # Removes macros (*.bin generated from .sci)
638         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
639                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
640                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
641         done
642
643 all-local: $(TARGETS_ALL)
644
645 .sci.bin:
646         -@( if test ! -x $(top_builddir)/scilab-bin; then \
647         echo "Error : Cannot build $< : Scilab has not been build"; \
648         else \
649         echo "Creating $@"; \
650         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
651         fi )
652
653 install-html-local:
654 # If the user wants the help sources to be installed
655 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
656 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
657 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
658 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
659 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
660 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
661 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
662 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
663 @INSTALL_HELP_XML_TRUE@           done ; \
664 @INSTALL_HELP_XML_TRUE@         fi; \
665 @INSTALL_HELP_XML_TRUE@  fi; \
666 @INSTALL_HELP_XML_TRUE@ done
667 install-data-local:
668 # Install the tests
669         @echo "-------- Install tests (if any) --------"; \
670         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
671           if test -d $(srcdir)/$$dir/; then \
672             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
673                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
674                     if test -d "$(srcdir)/$$dir/$$file"; then \
675                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
676                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
677                     else \
678                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
679                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
680                     fi \
681                   done; \
682           fi; \
683         done
684 # Install the help chapter
685         @echo "-------- Install the help chapter (if any) --------"; \
686         for lang in $(ALL_LINGUAS); do \
687                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
688                 if test -f $$HELPFILE; then \
689                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
690                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
691                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
692                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
693                 fi; \
694         done
695 # Install the demos & examples
696         @echo "-------- Install demos & examples (if any) --------"; \
697         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
698           if test -d $(srcdir)/$$dir/; then \
699             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
700                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
701                     if test -d "$(srcdir)/$$dir/$$file"; then \
702                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
703                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
704                     else \
705                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
706                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
707                     fi \
708                   done; \
709           fi; \
710         done
711 # Install the macros
712         @echo "-------- Install macros (if any) --------"; \
713         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
714           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
715                 if test -d $(srcdir)/$$dir/; then \
716                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
717                         for specialExt in $(MACROSSPECIALEXT); do \
718                                 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
719                         done; \
720                         FILELIST="$$FILELIST $$specialExtDir"; \
721                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
722                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
723                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
724                   done; \
725                 fi; \
726         done
727 # Install java files (.jar)
728         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
729         echo "-------- Install jar files --------"; \
730     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
731           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
732                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
733                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
734           done ; \
735         fi
736
737 ########### CLEAN ###################
738 # Clean macros and help (generated automatically by Scilab)
739 @NEED_JAVA_TRUE@clean-local: clean-java clean-macros
740 @NEED_JAVA_FALSE@clean-local: clean-macros
741
742 distclean-local:
743         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
744
745 .PHONY: macros java swig giws
746 # Tell versions [3.59,3.63) of GNU make to not export all variables.
747 # Otherwise a system limit (for SysV at least) may be exceeded.
748 .NOEXPORT: