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