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