We no longer need jhdf5. deleting all dependencies. Closes bug #11556 and remove...
[scilab.git] / scilab / libs / hashtable / Makefile.in
1 # Makefile.in generated by automake 1.11.6 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, 2009, 2010, 2011 Free Software
6 # Foundation, Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
19 # Copyright (C) 2006 - INRIA - Sylvestre LEDRU
20 #
21 # This file is distributed under the same license as the Scilab package.
22
23 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
24 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
25 # Copyright (C) 2008      - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
26 #
27 # This file must be used under the terms of the CeCILL.
28 # This source file is licensed as described in the file COPYING, which
29 # you should have received as part of this distribution.  The terms
30 # are also available at
31 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
32 #
33
34 ##########
35 ### Makefile included stuff
36 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
37 ##########
38
39
40 VPATH = @srcdir@
41 am__make_dryrun = \
42   { \
43     am__dry=no; \
44     case $$MAKEFLAGS in \
45       *\\[\ \   ]*) \
46         echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
47           | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
48       *) \
49         for am__flg in $$MAKEFLAGS; do \
50           case $$am__flg in \
51             *=*|--*) ;; \
52             *n*) am__dry=yes; break;; \
53           esac; \
54         done;; \
55     esac; \
56     test $$am__dry = yes; \
57   }
58 pkgdatadir = $(datadir)/@PACKAGE@
59 pkgincludedir = $(includedir)/@PACKAGE@
60 pkglibdir = $(libdir)/@PACKAGE@
61 pkglibexecdir = $(libexecdir)/@PACKAGE@
62 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
63 install_sh_DATA = $(install_sh) -c -m 644
64 install_sh_PROGRAM = $(install_sh) -c
65 install_sh_SCRIPT = $(install_sh) -c
66 INSTALL_HEADER = $(INSTALL_DATA)
67 transform = $(program_transform_name)
68 NORMAL_INSTALL = :
69 PRE_INSTALL = :
70 POST_INSTALL = :
71 NORMAL_UNINSTALL = :
72 PRE_UNINSTALL = :
73 POST_UNINSTALL = :
74 build_triplet = @build@
75 host_triplet = @host@
76 DIST_COMMON = $(libscihashtable_la_include_HEADERS) \
77         $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
78         $(top_srcdir)/Makefile.incl.am
79 @NEED_JAVA_TRUE@am__append_1 = java
80 subdir = libs/hashtable
81 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
82 am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
83         $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/docbook.m4 \
84         $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
85         $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
86         $(top_srcdir)/m4/intel_compiler.m4 \
87         $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
88         $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
89         $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
90         $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
91         $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
92         $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
93         $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pcre.m4 \
94         $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/relocatable.m4 \
95         $(top_srcdir)/m4/swig.m4 $(top_srcdir)/m4/symlinks.m4 \
96         $(top_srcdir)/m4/tcltk.m4 $(top_srcdir)/m4/umfpack.m4 \
97         $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99         $(ACLOCAL_M4)
100 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
101 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
102 CONFIG_CLEAN_FILES =
103 CONFIG_CLEAN_VPATH_FILES =
104 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
105 am__vpath_adj = case $$p in \
106     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
107     *) f=$$p;; \
108   esac;
109 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
110 am__install_max = 40
111 am__nobase_strip_setup = \
112   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
113 am__nobase_strip = \
114   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
115 am__nobase_list = $(am__nobase_strip_setup); \
116   for p in $$list; do echo "$$p $$p"; done | \
117   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
118   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
119     if (++n[$$2] == $(am__install_max)) \
120       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
121     END { for (dir in files) print dir, files[dir] }'
122 am__base_list = \
123   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
124   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
125 am__uninstall_files_from_dir = { \
126   test -z "$$files" \
127     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
128     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
129          $(am__cd) "$$dir" && rm -f $$files; }; \
130   }
131 am__installdirs = "$(DESTDIR)$(pkglibdir)" \
132         "$(DESTDIR)$(libscihashtable_la_includedir)"
133 LTLIBRARIES = $(pkglib_LTLIBRARIES)
134 libscihashtable_la_DEPENDENCIES =
135 am__objects_1 = hashtable_utility.lo hashtable_itr.lo hashtable.lo
136 am_libscihashtable_la_OBJECTS = $(am__objects_1)
137 libscihashtable_la_OBJECTS = $(am_libscihashtable_la_OBJECTS)
138 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
139 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
140 am__depfiles_maybe = depfiles
141 am__mv = mv -f
142 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
143         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
144 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
145         --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
146         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
147 CCLD = $(CC)
148 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
149         --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
150         $(LDFLAGS) -o $@
151 SOURCES = $(libscihashtable_la_SOURCES)
152 DIST_SOURCES = $(libscihashtable_la_SOURCES)
153 am__can_run_installinfo = \
154   case $$AM_UPDATE_INFO_DIR in \
155     n|no|NO) false;; \
156     *) (install-info --version) >/dev/null 2>&1;; \
157   esac
158 HEADERS = $(libscihashtable_la_include_HEADERS)
159 ETAGS = etags
160 CTAGS = ctags
161 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
162 ACLOCAL = @ACLOCAL@
163 ALL_LINGUAS = @ALL_LINGUAS@
164 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
165 AMTAR = @AMTAR@
166 ANT = @ANT@
167 ANTLR = @ANTLR@
168 AR = @AR@
169 ARPACK_LIBS = @ARPACK_LIBS@
170 ASM3 = @ASM3@
171 AUTOCONF = @AUTOCONF@
172 AUTOHEADER = @AUTOHEADER@
173 AUTOMAKE = @AUTOMAKE@
174 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
175 AWK = @AWK@
176 BATIK = @BATIK@
177 BLAS_LIBS = @BLAS_LIBS@
178 CC = @CC@
179 CCACHE = @CCACHE@
180 CCDEPMODE = @CCDEPMODE@
181 CFLAGS = @CFLAGS@
182 CHECKSTYLE = @CHECKSTYLE@
183 COBERTURA = @COBERTURA@
184 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
185 COMMONS_IO = @COMMONS_IO@
186 COMMONS_LOGGING = @COMMONS_LOGGING@
187 CPP = @CPP@
188 CPPFLAGS = @CPPFLAGS@
189 CXX = @CXX@
190 CXXCPP = @CXXCPP@
191 CXXDEPMODE = @CXXDEPMODE@
192 CXXFLAGS = @CXXFLAGS@
193 CYGPATH_W = @CYGPATH_W@
194 DEFS = @DEFS@
195 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
196 DEPDIR = @DEPDIR@
197 DOCBOOK_ROOT = @DOCBOOK_ROOT@
198 DSYMUTIL = @DSYMUTIL@
199 DUMPBIN = @DUMPBIN@
200 ECHO_C = @ECHO_C@
201 ECHO_N = @ECHO_N@
202 ECHO_T = @ECHO_T@
203 EGREP = @EGREP@
204 EXEEXT = @EXEEXT@
205 F77 = @F77@
206 FFLAGS = @FFLAGS@
207 FFTW3_LIB = @FFTW3_LIB@
208 FFTW_ENABLE = @FFTW_ENABLE@
209 FGREP = @FGREP@
210 FLEXDOCK = @FLEXDOCK@
211 FLIBS = @FLIBS@
212 FOP = @FOP@
213 GENHTML = @GENHTML@
214 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
215 GIWS_BIN = @GIWS_BIN@
216 GLUEGEN2_RT = @GLUEGEN2_RT@
217 GMSGFMT = @GMSGFMT@
218 GMSGFMT_015 = @GMSGFMT_015@
219 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
220 GREP = @GREP@
221 GUI_ENABLE = @GUI_ENABLE@
222 HDF5_CFLAGS = @HDF5_CFLAGS@
223 HDF5_LIBS = @HDF5_LIBS@
224 HELP_ENABLE = @HELP_ENABLE@
225 INSTALL = @INSTALL@
226 INSTALL_DATA = @INSTALL_DATA@
227 INSTALL_PROGRAM = @INSTALL_PROGRAM@
228 INSTALL_SCRIPT = @INSTALL_SCRIPT@
229 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
230 INTLLIBS = @INTLLIBS@
231 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
232 JAR = @JAR@
233 JAVA = @JAVA@
234 JAVAC = @JAVAC@
235 JAVAC_DEBUG = @JAVAC_DEBUG@
236 JAVADOC = @JAVADOC@
237 JAVAH = @JAVAH@
238 JAVASCI_ENABLE = @JAVASCI_ENABLE@
239 JAVA_ENABLE = @JAVA_ENABLE@
240 JAVA_G = @JAVA_G@
241 JAVA_HOME = @JAVA_HOME@
242 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
243 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
244 JDB = @JDB@
245 JEUCLID_CORE = @JEUCLID_CORE@
246 JGRAPHX = @JGRAPHX@
247 JHALL = @JHALL@
248 JLATEXMATH = @JLATEXMATH@
249 JLATEXMATH_FOP = @JLATEXMATH_FOP@
250 JOGL2 = @JOGL2@
251 JROSETTA_API = @JROSETTA_API@
252 JROSETTA_ENGINE = @JROSETTA_ENGINE@
253 JUNIT4 = @JUNIT4@
254 LAPACK_LIBS = @LAPACK_LIBS@
255 LCOV = @LCOV@
256 LD = @LD@
257 LDFLAGS = @LDFLAGS@
258 LIBICONV = @LIBICONV@
259 LIBINTL = @LIBINTL@
260 LIBM = @LIBM@
261 LIBOBJS = @LIBOBJS@
262 LIBS = @LIBS@
263 LIBTOOL = @LIBTOOL@
264 LIPO = @LIPO@
265 LN_S = @LN_S@
266 LOGGING_LEVEL = @LOGGING_LEVEL@
267 LOOKS = @LOOKS@
268 LTLIBICONV = @LTLIBICONV@
269 LTLIBINTL = @LTLIBINTL@
270 LTLIBOBJS = @LTLIBOBJS@
271 MAINT = @MAINT@
272 MAKEINFO = @MAKEINFO@
273 MATIO_CFLAGS = @MATIO_CFLAGS@
274 MATIO_ENABLE = @MATIO_ENABLE@
275 MATIO_LIBS = @MATIO_LIBS@
276 MKDIR_P = @MKDIR_P@
277 MSGCAT = @MSGCAT@
278 MSGFMT = @MSGFMT@
279 MSGFMT_015 = @MSGFMT_015@
280 MSGMERGE = @MSGMERGE@
281 NM = @NM@
282 NMEDIT = @NMEDIT@
283 OBJDUMP = @OBJDUMP@
284 OBJEXT = @OBJEXT@
285 OCAMLC = @OCAMLC@
286 OCAMLDEP = @OCAMLDEP@
287 OCAMLLEX = @OCAMLLEX@
288 OCAMLOPT = @OCAMLOPT@
289 OCAMLYACC = @OCAMLYACC@
290 OPENMP_CFLAGS = @OPENMP_CFLAGS@
291 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
292 OPENMP_ENABLE = @OPENMP_ENABLE@
293 OPENMP_LIBS = @OPENMP_LIBS@
294 OTOOL = @OTOOL@
295 OTOOL64 = @OTOOL64@
296 PACKAGE = @PACKAGE@
297 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
298 PACKAGE_NAME = @PACKAGE_NAME@
299 PACKAGE_STRING = @PACKAGE_STRING@
300 PACKAGE_TARNAME = @PACKAGE_TARNAME@
301 PACKAGE_URL = @PACKAGE_URL@
302 PACKAGE_VERSION = @PACKAGE_VERSION@
303 PATH_SEPARATOR = @PATH_SEPARATOR@
304 PCRE_CFLAGS = @PCRE_CFLAGS@
305 PCRE_CONFIG = @PCRE_CONFIG@
306 PCRE_LIBS = @PCRE_LIBS@
307 PCRE_VERSION = @PCRE_VERSION@
308 PKG_CONFIG = @PKG_CONFIG@
309 POSUB = @POSUB@
310 POW_LIB = @POW_LIB@
311 PYTHON = @PYTHON@
312 RANLIB = @RANLIB@
313 RELOCATABLE = @RELOCATABLE@
314 RT_LIB = @RT_LIB@
315 SAXON = @SAXON@
316 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
317 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
318 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
319 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
320 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
321 SCIRENDERER = @SCIRENDERER@
322 SCI_CFLAGS = @SCI_CFLAGS@
323 SCI_CXXFLAGS = @SCI_CXXFLAGS@
324 SCI_FFLAGS = @SCI_FFLAGS@
325 SCI_LDFLAGS = @SCI_LDFLAGS@
326 SED = @SED@
327 SET_MAKE = @SET_MAKE@
328 SET_RELOCATABLE = @SET_RELOCATABLE@
329 SHELL = @SHELL@
330 SKINLF = @SKINLF@
331 SPLINT = @SPLINT@
332 STRIP = @STRIP@
333 SWIG_BIN = @SWIG_BIN@
334 SWIG_JAVA = @SWIG_JAVA@
335 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
336 TCLTK_LIBS = @TCLTK_LIBS@
337 TCL_INC_PATH = @TCL_INC_PATH@
338 TK_INC_PATH = @TK_INC_PATH@
339 UMFPACK_ENABLE = @UMFPACK_ENABLE@
340 UMFPACK_LIB = @UMFPACK_LIB@
341 USE_NLS = @USE_NLS@
342 VERSION = @VERSION@
343 WITH_OCAML = @WITH_OCAML@
344 WITH_TKSCI = @WITH_TKSCI@
345 XCOS_ENABLE = @XCOS_ENABLE@
346 XGETTEXT = @XGETTEXT@
347 XGETTEXT_015 = @XGETTEXT_015@
348 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
349 XMKMF = @XMKMF@
350 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
351 XML_APIS_EXT = @XML_APIS_EXT@
352 XML_CONFIG = @XML_CONFIG@
353 XML_FLAGS = @XML_FLAGS@
354 XML_LIBS = @XML_LIBS@
355 XML_VERSION = @XML_VERSION@
356 X_CFLAGS = @X_CFLAGS@
357 X_EXTRA_LIBS = @X_EXTRA_LIBS@
358 X_LIBS = @X_LIBS@
359 X_PRE_LIBS = @X_PRE_LIBS@
360 abs_builddir = @abs_builddir@
361 abs_srcdir = @abs_srcdir@
362 abs_top_builddir = @abs_top_builddir@
363 abs_top_srcdir = @abs_top_srcdir@
364 ac_ct_CC = @ac_ct_CC@
365 ac_ct_CXX = @ac_ct_CXX@
366 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
367 ac_ct_F77 = @ac_ct_F77@
368 am__include = @am__include@
369 am__leading_dot = @am__leading_dot@
370 am__quote = @am__quote@
371 am__tar = @am__tar@
372 am__untar = @am__untar@
373 bindir = @bindir@
374 build = @build@
375 build_alias = @build_alias@
376 build_cpu = @build_cpu@
377 build_os = @build_os@
378 build_vendor = @build_vendor@
379 builddir = @builddir@
380 cxx_present = @cxx_present@
381 datadir = @datadir@
382 datarootdir = @datarootdir@
383 docdir = @docdir@
384 dvidir = @dvidir@
385 exec_prefix = @exec_prefix@
386 host = @host@
387 host_alias = @host_alias@
388 host_cpu = @host_cpu@
389 host_os = @host_os@
390 host_vendor = @host_vendor@
391 htmldir = @htmldir@
392 includedir = @includedir@
393 infodir = @infodir@
394 install_sh = @install_sh@
395 libdir = @libdir@
396 libexecdir = @libexecdir@
397 localedir = @localedir@
398 localstatedir = @localstatedir@
399 mandir = @mandir@
400 mkdir_p = @mkdir_p@
401 oldincludedir = @oldincludedir@
402 pdfdir = @pdfdir@
403 prefix = @prefix@
404 program_transform_name = @program_transform_name@
405 psdir = @psdir@
406 sbindir = @sbindir@
407 sharedstatedir = @sharedstatedir@
408 srcdir = @srcdir@
409 sysconfdir = @sysconfdir@
410 target_alias = @target_alias@
411 top_build_prefix = @top_build_prefix@
412 top_builddir = @top_builddir@
413 top_srcdir = @top_srcdir@
414 HASHTABLE_C_SOURCES = hashtable_utility.c \
415 hashtable_itr.c \
416 hashtable.c
417
418 libscihashtable_la_includedir = $(pkgincludedir)
419 libscihashtable_la_include_HEADERS = ./hashtable_itr.h \
420 ./hashtable.h \
421 ./hashtable_utility.h
422
423 pkglib_LTLIBRARIES = libscihashtable.la
424 libscihashtable_la_SOURCES = $(HASHTABLE_C_SOURCES)
425
426 # For the code check (splint)
427 CHECK_SRC = $(HASHTABLE_C_SOURCES)
428 libscihashtable_la_LIBADD = 
429
430 #### Target ######
431 modulename = hashtable
432
433 # Where all the Scilab stuff is installed (macros, help, ...)
434 mydatadir = $(pkgdatadir)/modules/$(modulename)
435
436 # Set AM_* SCI detected settings
437 AM_CPPFLAGS = $(SCI_CPPFLAGS)
438 AM_CFLAGS = $(SCI_CFLAGS)
439 AM_CXXFLAGS = $(SCI_CXXFLAGS)
440 # append includes to AM_FFLAGS to manage fortran includes
441 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
442
443 # Tag shared libraries with the Scilab version
444 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
445
446 # splint options
447 SPLINT_OPTIONS = -weak -booltype BOOL
448
449 ########################### JAVA ######################################
450 #### We are delegating java compilation to ant... Thanks to that
451 #### the procedure will be the same with Microsoft Windows (C)
452 #### and Linux/Unix
453 #######################################################################
454 TARGETS_ALL = $(am__append_1)
455
456 ################ MACROS ######################
457 # Rule to build a macro
458 # NOT USED  AT THE MOMENT
459 SUFFIXES = .sci 
460
461 ########### INSTALL DOCUMENTATION ###################
462
463 # Install documentation files into the right target
464 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
465 # automake needs the html files to be present which is not the case when
466 # we are building Scilab
467
468 # Where it should be installed
469 pkgdocdir = $(mydatadir)
470
471 # What is the mask of the help source
472 DOCMASKXML = *.xml
473
474 # What is the mask of the MathML sources
475 DOCMASKMML = *.mml
476
477 ########### INSTALL DATA ###################
478 # Install macros, help & demos
479 # Where it should be installed
480 pkgmacrosdir = $(mydatadir)
481 # Which directory we process
482 MACRODIRS = macros/
483 # Mask of the Scilab sources macros
484 MACROMASK = *.sci
485 # Mask of the Scilab executable sources macros
486 MACROBUILDMASK = *.sce
487 # Mask of the Scilab compiled macros
488 MACROBINMASK = *.bin
489 # List of the standard directory for tests
490 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
491 # Where the demos should be installed
492 pkgdemosdir = $(mydatadir)
493 # List of the standard directory for demos
494 DEMOS_DIR = demos
495 # List of the standard directory for examples
496 EXAMPLES_DIR = examples
497 # Where to export JAVA archives (.jar)
498 JARDIR = jar/
499 # JAR files mask
500 JARMASK = *.jar
501 # Chapter file 
502 HELP_CHAPTERDIR = help/
503 HELP_CHAPTERFILE = addchapter.sce
504 HELP_CHAPTERLANG = en_US fr_FR pt_BR
505 all: all-am
506
507 .SUFFIXES:
508 .SUFFIXES: .sci .bin .c .lo .o .obj
509 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
510         @for dep in $?; do \
511           case '$(am__configure_deps)' in \
512             *$$dep*) \
513               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
514                 && { if test -f $@; then exit 0; else break; fi; }; \
515               exit 1;; \
516           esac; \
517         done; \
518         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libs/hashtable/Makefile'; \
519         $(am__cd) $(top_srcdir) && \
520           $(AUTOMAKE) --foreign libs/hashtable/Makefile
521 .PRECIOUS: Makefile
522 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
523         @case '$?' in \
524           *config.status*) \
525             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
526           *) \
527             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
528             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
529         esac;
530 $(top_srcdir)/Makefile.incl.am:
531
532 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
533         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
534
535 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
536         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
537 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
538         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
539 $(am__aclocal_m4_deps):
540 install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
541         @$(NORMAL_INSTALL)
542         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
543         list2=; for p in $$list; do \
544           if test -f $$p; then \
545             list2="$$list2 $$p"; \
546           else :; fi; \
547         done; \
548         test -z "$$list2" || { \
549           echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
550           $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
551           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
552           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
553         }
554
555 uninstall-pkglibLTLIBRARIES:
556         @$(NORMAL_UNINSTALL)
557         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
558         for p in $$list; do \
559           $(am__strip_dir) \
560           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
561           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
562         done
563
564 clean-pkglibLTLIBRARIES:
565         -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
566         @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
567           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
568           test "$$dir" != "$$p" || dir=.; \
569           echo "rm -f \"$${dir}/so_locations\""; \
570           rm -f "$${dir}/so_locations"; \
571         done
572 libscihashtable.la: $(libscihashtable_la_OBJECTS) $(libscihashtable_la_DEPENDENCIES) $(EXTRA_libscihashtable_la_DEPENDENCIES) 
573         $(LINK) -rpath $(pkglibdir) $(libscihashtable_la_OBJECTS) $(libscihashtable_la_LIBADD) $(LIBS)
574
575 mostlyclean-compile:
576         -rm -f *.$(OBJEXT)
577
578 distclean-compile:
579         -rm -f *.tab.c
580
581 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hashtable.Plo@am__quote@
582 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hashtable_itr.Plo@am__quote@
583 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hashtable_utility.Plo@am__quote@
584
585 .c.o:
586 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
587 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
588 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
589 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
590 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
591
592 .c.obj:
593 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
594 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
595 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
596 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
597 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
598
599 .c.lo:
600 @am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
601 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
602 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
603 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
604 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
605
606 mostlyclean-libtool:
607         -rm -f *.lo
608
609 clean-libtool:
610         -rm -rf .libs _libs
611 install-libscihashtable_la_includeHEADERS: $(libscihashtable_la_include_HEADERS)
612         @$(NORMAL_INSTALL)
613         @list='$(libscihashtable_la_include_HEADERS)'; test -n "$(libscihashtable_la_includedir)" || list=; \
614         if test -n "$$list"; then \
615           echo " $(MKDIR_P) '$(DESTDIR)$(libscihashtable_la_includedir)'"; \
616           $(MKDIR_P) "$(DESTDIR)$(libscihashtable_la_includedir)" || exit 1; \
617         fi; \
618         for p in $$list; do \
619           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
620           echo "$$d$$p"; \
621         done | $(am__base_list) | \
622         while read files; do \
623           echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscihashtable_la_includedir)'"; \
624           $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscihashtable_la_includedir)" || exit $$?; \
625         done
626
627 uninstall-libscihashtable_la_includeHEADERS:
628         @$(NORMAL_UNINSTALL)
629         @list='$(libscihashtable_la_include_HEADERS)'; test -n "$(libscihashtable_la_includedir)" || list=; \
630         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
631         dir='$(DESTDIR)$(libscihashtable_la_includedir)'; $(am__uninstall_files_from_dir)
632
633 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
634         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
635         unique=`for i in $$list; do \
636             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
637           done | \
638           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
639               END { if (nonempty) { for (i in files) print i; }; }'`; \
640         mkid -fID $$unique
641 tags: TAGS
642
643 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
644                 $(TAGS_FILES) $(LISP)
645         set x; \
646         here=`pwd`; \
647         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
648         unique=`for i in $$list; do \
649             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
650           done | \
651           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
652               END { if (nonempty) { for (i in files) print i; }; }'`; \
653         shift; \
654         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
655           test -n "$$unique" || unique=$$empty_fix; \
656           if test $$# -gt 0; then \
657             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
658               "$$@" $$unique; \
659           else \
660             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
661               $$unique; \
662           fi; \
663         fi
664 ctags: CTAGS
665 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
666                 $(TAGS_FILES) $(LISP)
667         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
668         unique=`for i in $$list; do \
669             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
670           done | \
671           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
672               END { if (nonempty) { for (i in files) print i; }; }'`; \
673         test -z "$(CTAGS_ARGS)$$unique" \
674           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
675              $$unique
676
677 GTAGS:
678         here=`$(am__cd) $(top_builddir) && pwd` \
679           && $(am__cd) $(top_srcdir) \
680           && gtags -i $(GTAGS_ARGS) "$$here"
681
682 distclean-tags:
683         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
684
685 distdir: $(DISTFILES)
686         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
687         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
688         list='$(DISTFILES)'; \
689           dist_files=`for file in $$list; do echo $$file; done | \
690           sed -e "s|^$$srcdirstrip/||;t" \
691               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
692         case $$dist_files in \
693           */*) $(MKDIR_P) `echo "$$dist_files" | \
694                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
695                            sort -u` ;; \
696         esac; \
697         for file in $$dist_files; do \
698           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
699           if test -d $$d/$$file; then \
700             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
701             if test -d "$(distdir)/$$file"; then \
702               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
703             fi; \
704             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
705               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
706               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
707             fi; \
708             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
709           else \
710             test -f "$(distdir)/$$file" \
711             || cp -p $$d/$$file "$(distdir)/$$file" \
712             || exit 1; \
713           fi; \
714         done
715 check-am: all-am
716         $(MAKE) $(AM_MAKEFLAGS) check-local
717 check: check-am
718 all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
719 installdirs:
720         for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscihashtable_la_includedir)"; do \
721           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
722         done
723 install: install-am
724 install-exec: install-exec-am
725 install-data: install-data-am
726 uninstall: uninstall-am
727
728 install-am: all-am
729         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
730
731 installcheck: installcheck-am
732 install-strip:
733         if test -z '$(STRIP)'; then \
734           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
735             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
736               install; \
737         else \
738           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
739             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
740             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
741         fi
742 mostlyclean-generic:
743
744 clean-generic:
745
746 distclean-generic:
747         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
748         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
749
750 maintainer-clean-generic:
751         @echo "This command is intended for maintainers to use"
752         @echo "it deletes files that may require special tools to rebuild."
753 clean: clean-am
754
755 clean-am: clean-generic clean-libtool clean-local \
756         clean-pkglibLTLIBRARIES mostlyclean-am
757
758 distclean: distclean-am
759         -rm -rf ./$(DEPDIR)
760         -rm -f Makefile
761 distclean-am: clean-am distclean-compile distclean-generic \
762         distclean-local distclean-tags
763
764 dvi: dvi-am
765
766 dvi-am:
767
768 html: html-am
769
770 html-am:
771
772 info: info-am
773
774 info-am:
775
776 install-data-am: install-data-local \
777         install-libscihashtable_la_includeHEADERS
778
779 install-dvi: install-dvi-am
780
781 install-dvi-am:
782
783 install-exec-am: install-pkglibLTLIBRARIES
784
785 install-html: install-html-am
786
787 install-html-am: install-html-local
788
789 install-info: install-info-am
790
791 install-info-am:
792
793 install-man:
794
795 install-pdf: install-pdf-am
796
797 install-pdf-am:
798
799 install-ps: install-ps-am
800
801 install-ps-am:
802
803 installcheck-am:
804
805 maintainer-clean: maintainer-clean-am
806         -rm -rf ./$(DEPDIR)
807         -rm -f Makefile
808 maintainer-clean-am: distclean-am maintainer-clean-generic
809
810 mostlyclean: mostlyclean-am
811
812 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
813         mostlyclean-libtool
814
815 pdf: pdf-am
816
817 pdf-am:
818
819 ps: ps-am
820
821 ps-am:
822
823 uninstall-am: uninstall-libscihashtable_la_includeHEADERS \
824         uninstall-pkglibLTLIBRARIES
825
826 .MAKE: check-am install-am install-strip
827
828 .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
829         clean clean-generic clean-libtool clean-local \
830         clean-pkglibLTLIBRARIES ctags distclean distclean-compile \
831         distclean-generic distclean-libtool distclean-local \
832         distclean-tags distdir dvi dvi-am html html-am info info-am \
833         install install-am install-data install-data-am \
834         install-data-local install-dvi install-dvi-am install-exec \
835         install-exec-am install-html install-html-am \
836         install-html-local install-info install-info-am \
837         install-libscihashtable_la_includeHEADERS install-man \
838         install-pdf install-pdf-am install-pkglibLTLIBRARIES \
839         install-ps install-ps-am install-strip installcheck \
840         installcheck-am installdirs maintainer-clean \
841         maintainer-clean-generic mostlyclean mostlyclean-compile \
842         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
843         tags uninstall uninstall-am \
844         uninstall-libscihashtable_la_includeHEADERS \
845         uninstall-pkglibLTLIBRARIES
846
847
848 # This target enables tests for Scilab
849 check-local: $(top_builddir)/scilab-bin test
850         if test -d $(mydatadir)/tests; then \
851           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
852         fi
853 check-code:
854         if test -f build.xml; then \
855                 $(ANT) checkstyle; \
856         fi
857         if test -x "$(SPLINT)"; then \
858                 $(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); \
859         fi
860 @NEED_JAVA_TRUE@java:
861 # Some configurations needs to export JAVA_HOME in the current env
862 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
863 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
864 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
865 @NEED_JAVA_TRUE@                $(ANT); \
866 @NEED_JAVA_TRUE@        fi
867
868 @NEED_JAVA_TRUE@clean-java:
869 # Some configurations needs to export JAVA_HOME in the current env
870 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
871 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
872 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
873 @NEED_JAVA_TRUE@                $(ANT) clean; \
874 @NEED_JAVA_TRUE@        fi;
875
876 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
877 # We call the target swig-build on the variable SWIG_WRAPPERS
878
879 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
880 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
881 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
882 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
883 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
884 @SWIG_TRUE@                     echo "Swig process of $$file ..."; \
885 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
886 @SWIG_TRUE@             done; \
887 @SWIG_TRUE@     fi
888
889 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
890 # We call the target swig-build on the variable SWIG_WRAPPERS
891
892 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
893 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
894 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
895 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
896 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
897 @GIWS_TRUE@                     $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
898 @GIWS_TRUE@             done; \
899 @GIWS_TRUE@     fi
900
901 @GIWS_TRUE@giws-exception:
902 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
903 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
904 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
905
906 macros:
907         -@( if test ! -x $(top_builddir)/scilab-bin; then \
908                 echo "Error : Cannot build $< : Scilab has not been built"; \
909         else \
910                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
911         fi)
912
913 # Removes the macros
914 clean-macros:
915 # Removes macros (*.bin generated from .sci)
916         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
917                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
918                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
919         done
920
921 test:
922 # More tests could be added here
923         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
924         if test -f build.xml -a $$USEANT -eq 1; then \
925                 $(ANT) test; \
926         fi
927
928 all-local: $(TARGETS_ALL)
929
930 .sci.bin:
931         -@( if test ! -x $(top_builddir)/scilab-bin; then \
932         echo "Error : Cannot build $< : Scilab has not been build"; \
933         else \
934         echo "Creating $@"; \
935         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
936         fi )
937
938 install-html-local:
939
940 install-data-local-local:
941 # Mainly for javasci
942         @if test -d $(srcdir)/javadoc; then \
943                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
944         fi
945 # If the user wants the help sources to be installed
946 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
947 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
948 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
949 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
950 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
951 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
952 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
953 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
954 @INSTALL_HELP_XML_TRUE@           done ; \
955 @INSTALL_HELP_XML_TRUE@         fi; \
956 @INSTALL_HELP_XML_TRUE@  fi; \
957 @INSTALL_HELP_XML_TRUE@ done; \
958 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
959 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
960 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
961 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
962 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
963 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
964 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
965 @INSTALL_HELP_XML_TRUE@           done ; \
966 @INSTALL_HELP_XML_TRUE@         fi; \
967 @INSTALL_HELP_XML_TRUE@ fi
968 install-data-local:
969 # Install the tests
970         @echo "-------- Install tests (if any) --------"; \
971         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
972           if test -d $(srcdir)/$$dir/; then \
973             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
974                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
975                     if test -d "$(srcdir)/$$dir/$$file"; then \
976                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
977                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
978                     else \
979                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
980                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
981                     fi \
982                   done; \
983           fi; \
984         done
985 # Install the help chapter
986         @echo "-------- Install the help chapter (if any) --------"; \
987         for lang in $(HELP_CHAPTERLANG); do \
988                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
989                 if test -f $$HELPFILE; then \
990                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
991                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
992                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
993                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
994                 fi; \
995         done
996 # Install the demos & examples
997         @echo "-------- Install demos & examples (if any) --------"; \
998         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
999           if test -d $(srcdir)/$$dir/; then \
1000             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1001                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1002                     if test -d "$(srcdir)/$$dir/$$file"; then \
1003                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1004                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1005                     else \
1006                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1007                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1008                     fi \
1009                   done; \
1010           fi; \
1011         done
1012 # Install the macros
1013         @echo "-------- Install macros (if any) --------"; \
1014         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1015           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1016                 if test -d $(srcdir)/$$dir/; then \
1017                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1018                         if test -n "$(MACROSSPECIALEXT)"; then \
1019                                 specialExtDir=""; \
1020                                 for specialExt in $(MACROSSPECIALEXT); do \
1021                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1022                                 done; \
1023                                 FILELIST="$$FILELIST $$specialExtDir"; \
1024                         fi; \
1025                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1026                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1027                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1028                   done; \
1029                 fi; \
1030         done
1031 # Install java files (.jar)
1032         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1033         echo "-------- Install jar files --------"; \
1034     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1035           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1036                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1037                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1038           done ; \
1039         fi
1040
1041 ########### CLEAN ###################
1042 # Clean help (generated automatically by Scilab)
1043 # It used to clean the macro (clean-macros) but this was causing
1044 # make clean && make to fail Scilab startup
1045 @NEED_JAVA_TRUE@clean-local: clean-java
1046 @NEED_JAVA_FALSE@clean-local:
1047
1048 distclean-local:
1049         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1050
1051 .PHONY: macros java swig giws
1052
1053 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1054 # Otherwise a system limit (for SysV at least) may be exceeded.
1055 .NOEXPORT: