Can now specify GIWS options in Makefile
[scilab.git] / scilab / modules / prebuildjava / Makefile.in
1 # Makefile.in generated by automake 1.14 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 #
18 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
19 # Copyright (C) Scilab Enterprises - 2011 - Sylvestre Ledru
20 #
21 # This file must be used under the terms of the CeCILL.
22 # This source file is licensed as described in the file COPYING, which
23 # you should have received as part of this distribution.  The terms
24 # are also available at
25 # http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
26 #
27
28 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
29 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
30 # Copyright (C) 2008      - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
31 #
32 # This file must be used under the terms of the CeCILL.
33 # This source file is licensed as described in the file COPYING, which
34 # you should have received as part of this distribution.  The terms
35 # are also available at
36 # http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
37 #
38
39 ##########
40 ### Makefile included stuff
41 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
42 ##########
43 VPATH = @srcdir@
44 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
45 am__make_running_with_option = \
46   case $${target_option-} in \
47       ?) ;; \
48       *) echo "am__make_running_with_option: internal error: invalid" \
49               "target option '$${target_option-}' specified" >&2; \
50          exit 1;; \
51   esac; \
52   has_opt=no; \
53   sane_makeflags=$$MAKEFLAGS; \
54   if $(am__is_gnu_make); then \
55     sane_makeflags=$$MFLAGS; \
56   else \
57     case $$MAKEFLAGS in \
58       *\\[\ \   ]*) \
59         bs=\\; \
60         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
61           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
62     esac; \
63   fi; \
64   skip_next=no; \
65   strip_trailopt () \
66   { \
67     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
68   }; \
69   for flg in $$sane_makeflags; do \
70     test $$skip_next = yes && { skip_next=no; continue; }; \
71     case $$flg in \
72       *=*|--*) continue;; \
73         -*I) strip_trailopt 'I'; skip_next=yes;; \
74       -*I?*) strip_trailopt 'I';; \
75         -*O) strip_trailopt 'O'; skip_next=yes;; \
76       -*O?*) strip_trailopt 'O';; \
77         -*l) strip_trailopt 'l'; skip_next=yes;; \
78       -*l?*) strip_trailopt 'l';; \
79       -[dEDm]) skip_next=yes;; \
80       -[JT]) skip_next=yes;; \
81     esac; \
82     case $$flg in \
83       *$$target_option*) has_opt=yes; break;; \
84     esac; \
85   done; \
86   test $$has_opt = yes
87 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
88 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
89 pkgdatadir = $(datadir)/@PACKAGE@
90 pkgincludedir = $(includedir)/@PACKAGE@
91 pkglibdir = $(libdir)/@PACKAGE@
92 pkglibexecdir = $(libexecdir)/@PACKAGE@
93 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
94 install_sh_DATA = $(install_sh) -c -m 644
95 install_sh_PROGRAM = $(install_sh) -c
96 install_sh_SCRIPT = $(install_sh) -c
97 INSTALL_HEADER = $(INSTALL_DATA)
98 transform = $(program_transform_name)
99 NORMAL_INSTALL = :
100 PRE_INSTALL = :
101 POST_INSTALL = :
102 NORMAL_UNINSTALL = :
103 PRE_UNINSTALL = :
104 POST_UNINSTALL = :
105 build_triplet = @build@
106 host_triplet = @host@
107 DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \
108         $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs
109 @NEED_JAVA_TRUE@am__append_1 = java
110 subdir = modules/prebuildjava
111 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
112 am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
113         $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
114         $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
115         $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
116         $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
117         $(top_srcdir)/m4/intel_compiler.m4 \
118         $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
119         $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
120         $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
121         $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
122         $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
123         $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
124         $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
125         $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
126         $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
127         $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
128         $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
129 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
130         $(ACLOCAL_M4)
131 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
132 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
133 CONFIG_CLEAN_FILES =
134 CONFIG_CLEAN_VPATH_FILES =
135 AM_V_P = $(am__v_P_@AM_V@)
136 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
137 am__v_P_0 = false
138 am__v_P_1 = :
139 AM_V_GEN = $(am__v_GEN_@AM_V@)
140 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
141 am__v_GEN_0 = @echo "  GEN     " $@;
142 am__v_GEN_1 = 
143 AM_V_at = $(am__v_at_@AM_V@)
144 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
145 am__v_at_0 = @
146 am__v_at_1 = 
147 SOURCES =
148 DIST_SOURCES =
149 am__can_run_installinfo = \
150   case $$AM_UPDATE_INFO_DIR in \
151     n|no|NO) false;; \
152     *) (install-info --version) >/dev/null 2>&1;; \
153   esac
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
156 ACLOCAL = @ACLOCAL@
157 ALL_LINGUAS = @ALL_LINGUAS@
158 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
159 AMTAR = @AMTAR@
160 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
161 ANT = @ANT@
162 ANTLR = @ANTLR@
163 AR = @AR@
164 ARPACK_LIBS = @ARPACK_LIBS@
165 ASM3 = @ASM3@
166 AUTOCONF = @AUTOCONF@
167 AUTOHEADER = @AUTOHEADER@
168 AUTOMAKE = @AUTOMAKE@
169 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
170 AWK = @AWK@
171 BATIK = @BATIK@
172 BLAS_LIBS = @BLAS_LIBS@
173 CC = @CC@
174 CCACHE = @CCACHE@
175 CCDEPMODE = @CCDEPMODE@
176 CFLAGS = @CFLAGS@
177 CHECKSTYLE = @CHECKSTYLE@
178 COBERTURA = @COBERTURA@
179 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
180 COMMONS_IO = @COMMONS_IO@
181 COMMONS_LOGGING = @COMMONS_LOGGING@
182 CPP = @CPP@
183 CPPFLAGS = @CPPFLAGS@
184 CURL_CFLAGS = @CURL_CFLAGS@
185 CURL_CONFIG = @CURL_CONFIG@
186 CURL_LIBS = @CURL_LIBS@
187 CURL_VERSION = @CURL_VERSION@
188 CXX = @CXX@
189 CXXCPP = @CXXCPP@
190 CXXDEPMODE = @CXXDEPMODE@
191 CXXFLAGS = @CXXFLAGS@
192 CYGPATH_W = @CYGPATH_W@
193 DEFS = @DEFS@
194 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
195 DEPDIR = @DEPDIR@
196 DOCBOOK_ROOT = @DOCBOOK_ROOT@
197 DOXYGEN_BIN = @DOXYGEN_BIN@
198 DSYMUTIL = @DSYMUTIL@
199 DUMPBIN = @DUMPBIN@
200 ECHO_C = @ECHO_C@
201 ECHO_N = @ECHO_N@
202 ECHO_T = @ECHO_T@
203 ECJ = @ECJ@
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 MPI_ENABLE = @MPI_ENABLE@
279 MSGCAT = @MSGCAT@
280 MSGFMT = @MSGFMT@
281 MSGFMT_015 = @MSGFMT_015@
282 MSGMERGE = @MSGMERGE@
283 NM = @NM@
284 NMEDIT = @NMEDIT@
285 OBJDUMP = @OBJDUMP@
286 OBJEXT = @OBJEXT@
287 OCAMLC = @OCAMLC@
288 OCAMLDEP = @OCAMLDEP@
289 OCAMLLEX = @OCAMLLEX@
290 OCAMLOPT = @OCAMLOPT@
291 OCAMLYACC = @OCAMLYACC@
292 OPENMPI_CC = @OPENMPI_CC@
293 OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
294 OPENMPI_CXX = @OPENMPI_CXX@
295 OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
296 OPENMPI_LIBS = @OPENMPI_LIBS@
297 OPENMP_CFLAGS = @OPENMP_CFLAGS@
298 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
299 OPENMP_ENABLE = @OPENMP_ENABLE@
300 OPENMP_LIBS = @OPENMP_LIBS@
301 OTOOL = @OTOOL@
302 OTOOL64 = @OTOOL64@
303 PACKAGE = @PACKAGE@
304 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
305 PACKAGE_NAME = @PACKAGE_NAME@
306 PACKAGE_STRING = @PACKAGE_STRING@
307 PACKAGE_TARNAME = @PACKAGE_TARNAME@
308 PACKAGE_URL = @PACKAGE_URL@
309 PACKAGE_VERSION = @PACKAGE_VERSION@
310 PATH_SEPARATOR = @PATH_SEPARATOR@
311 PCRE_CFLAGS = @PCRE_CFLAGS@
312 PCRE_CONFIG = @PCRE_CONFIG@
313 PCRE_LIBS = @PCRE_LIBS@
314 PCRE_VERSION = @PCRE_VERSION@
315 PKG_CONFIG = @PKG_CONFIG@
316 POSUB = @POSUB@
317 POW_LIB = @POW_LIB@
318 PYTHON = @PYTHON@
319 RANLIB = @RANLIB@
320 RELOCATABLE = @RELOCATABLE@
321 RT_LIB = @RT_LIB@
322 SAXON = @SAXON@
323 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
324 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
325 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
326 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
327 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
328 SCIRENDERER = @SCIRENDERER@
329 SCIRENDERER_CP = @SCIRENDERER_CP@
330 SCI_CFLAGS = @SCI_CFLAGS@
331 SCI_CXXFLAGS = @SCI_CXXFLAGS@
332 SCI_FFLAGS = @SCI_FFLAGS@
333 SCI_LDFLAGS = @SCI_LDFLAGS@
334 SED = @SED@
335 SET_MAKE = @SET_MAKE@
336 SET_RELOCATABLE = @SET_RELOCATABLE@
337 SHELL = @SHELL@
338 SKINLF = @SKINLF@
339 SPLINT = @SPLINT@
340 STRIP = @STRIP@
341 SWIG_BIN = @SWIG_BIN@
342 SWIG_JAVA = @SWIG_JAVA@
343 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
344 SWIG_SCILAB = @SWIG_SCILAB@
345 TCLTK_LIBS = @TCLTK_LIBS@
346 TCL_INC_PATH = @TCL_INC_PATH@
347 TK_INC_PATH = @TK_INC_PATH@
348 UMFPACK_CFLAGS = @UMFPACK_CFLAGS@
349 UMFPACK_ENABLE = @UMFPACK_ENABLE@
350 UMFPACK_LIB = @UMFPACK_LIB@
351 USE_NLS = @USE_NLS@
352 VERSION = @VERSION@
353 WITH_OCAML = @WITH_OCAML@
354 WITH_TKSCI = @WITH_TKSCI@
355 XCOS_ENABLE = @XCOS_ENABLE@
356 XGETTEXT = @XGETTEXT@
357 XGETTEXT_015 = @XGETTEXT_015@
358 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
359 XMKMF = @XMKMF@
360 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
361 XML_APIS_EXT = @XML_APIS_EXT@
362 XML_CONFIG = @XML_CONFIG@
363 XML_FLAGS = @XML_FLAGS@
364 XML_LIBS = @XML_LIBS@
365 XML_VERSION = @XML_VERSION@
366 X_CFLAGS = @X_CFLAGS@
367 X_EXTRA_LIBS = @X_EXTRA_LIBS@
368 X_LIBS = @X_LIBS@
369 X_PRE_LIBS = @X_PRE_LIBS@
370 abs_builddir = @abs_builddir@
371 abs_srcdir = @abs_srcdir@
372 abs_top_builddir = @abs_top_builddir@
373 abs_top_srcdir = @abs_top_srcdir@
374 ac_ct_AR = @ac_ct_AR@
375 ac_ct_CC = @ac_ct_CC@
376 ac_ct_CXX = @ac_ct_CXX@
377 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
378 ac_ct_F77 = @ac_ct_F77@
379 am__include = @am__include@
380 am__leading_dot = @am__leading_dot@
381 am__quote = @am__quote@
382 am__tar = @am__tar@
383 am__untar = @am__untar@
384 bindir = @bindir@
385 build = @build@
386 build_alias = @build_alias@
387 build_cpu = @build_cpu@
388 build_os = @build_os@
389 build_vendor = @build_vendor@
390 builddir = @builddir@
391 cxx_present = @cxx_present@
392 datadir = @datadir@
393 datarootdir = @datarootdir@
394 docdir = @docdir@
395 dvidir = @dvidir@
396 exec_prefix = @exec_prefix@
397 host = @host@
398 host_alias = @host_alias@
399 host_cpu = @host_cpu@
400 host_os = @host_os@
401 host_vendor = @host_vendor@
402 htmldir = @htmldir@
403 includedir = @includedir@
404 infodir = @infodir@
405 install_sh = @install_sh@
406 libdir = @libdir@
407 libexecdir = @libexecdir@
408 localedir = @localedir@
409 localstatedir = @localstatedir@
410 mandir = @mandir@
411 mkdir_p = @mkdir_p@
412 oldincludedir = @oldincludedir@
413 pdfdir = @pdfdir@
414 prefix = @prefix@
415 program_transform_name = @program_transform_name@
416 psdir = @psdir@
417 sbindir = @sbindir@
418 sharedstatedir = @sharedstatedir@
419 srcdir = @srcdir@
420 sysconfdir = @sysconfdir@
421 target_alias = @target_alias@
422 top_build_prefix = @top_build_prefix@
423 top_builddir = @top_builddir@
424 top_srcdir = @top_srcdir@
425 @NEED_JAVA_TRUE@USEANT = 1
426
427 # Where all the Scilab stuff is installed (macros, help, ...)
428 mydatadir = $(pkgdatadir)/modules/$(modulename)
429
430 # Set AM_* SCI detected settings
431 AM_CPPFLAGS = $(SCI_CPPFLAGS)
432 AM_CFLAGS = $(SCI_CFLAGS)
433 AM_CXXFLAGS = $(SCI_CXXFLAGS)
434 # append includes to AM_FFLAGS to manage fortran includes
435 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
436
437 # Tag shared libraries with the Scilab version
438 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
439
440 # splint options
441 SPLINT_OPTIONS = -weak -booltype BOOL
442
443 ########################### JAVA ######################################
444 #### We are delegating java compilation to ant... Thanks to that
445 #### the procedure will be the same with Microsoft Windows (C)
446 #### and Linux/Unix
447 #######################################################################
448 TARGETS_ALL = $(am__append_1)
449
450 ################ MACROS ######################
451 # Rule to build a macro
452 # NOT USED  AT THE MOMENT
453 SUFFIXES = .sci 
454
455 ########### INSTALL DOCUMENTATION ###################
456
457 # Install documentation files into the right target
458 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
459 # automake needs the html files to be present which is not the case when
460 # we are building Scilab
461
462 # Where it should be installed
463 pkgdocdir = $(mydatadir)
464
465 # What is the mask of the help source
466 DOCMASKXML = *.xml
467
468 # What is the mask of the MathML sources
469 DOCMASKMML = *.mml
470
471 ########### INSTALL DATA ###################
472 # Install macros, help & demos
473 # Where it should be installed
474 pkgmacrosdir = $(mydatadir)
475 # Which directory we process
476 MACRODIRS = macros/
477 # Mask of the Scilab sources macros
478 MACROMASK = *.sci
479 # Mask of the Scilab executable sources macros
480 MACROBUILDMASK = *.sce
481 # Mask of the Scilab compiled macros
482 MACROBINMASK = *.bin
483 # List of the standard directory for tests
484 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
485 # Where the demos should be installed
486 pkgdemosdir = $(mydatadir)
487 # List of the standard directory for demos
488 DEMOS_DIR = demos
489 # List of the standard directory for examples
490 EXAMPLES_DIR = examples
491 # Where to export JAVA archives (.jar)
492 JARDIR = jar/
493 # JAR files mask
494 JARMASK = *.jar
495 # Chapter file 
496 HELP_CHAPTERDIR = help/
497 HELP_CHAPTERFILE = addchapter.sce
498 HELP_CHAPTERLANG = en_US fr_FR pt_BR
499 all: all-am
500
501 .SUFFIXES:
502 .SUFFIXES: .sci .bin
503 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
504         @for dep in $?; do \
505           case '$(am__configure_deps)' in \
506             *$$dep*) \
507               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
508                 && { if test -f $@; then exit 0; else break; fi; }; \
509               exit 1;; \
510           esac; \
511         done; \
512         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/prebuildjava/Makefile'; \
513         $(am__cd) $(top_srcdir) && \
514           $(AUTOMAKE) --foreign modules/prebuildjava/Makefile
515 .PRECIOUS: Makefile
516 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
517         @case '$?' in \
518           *config.status*) \
519             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
520           *) \
521             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
522             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
523         esac;
524 $(top_srcdir)/Makefile.incl.am:
525
526 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
527         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
528
529 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
530         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
531 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
532         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
533 $(am__aclocal_m4_deps):
534
535 mostlyclean-libtool:
536         -rm -f *.lo
537
538 clean-libtool:
539         -rm -rf .libs _libs
540 tags TAGS:
541
542 ctags CTAGS:
543
544 cscope cscopelist:
545
546
547 distdir: $(DISTFILES)
548         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
549         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
550         list='$(DISTFILES)'; \
551           dist_files=`for file in $$list; do echo $$file; done | \
552           sed -e "s|^$$srcdirstrip/||;t" \
553               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
554         case $$dist_files in \
555           */*) $(MKDIR_P) `echo "$$dist_files" | \
556                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
557                            sort -u` ;; \
558         esac; \
559         for file in $$dist_files; do \
560           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
561           if test -d $$d/$$file; then \
562             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
563             if test -d "$(distdir)/$$file"; then \
564               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
565             fi; \
566             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
567               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
568               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
569             fi; \
570             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
571           else \
572             test -f "$(distdir)/$$file" \
573             || cp -p $$d/$$file "$(distdir)/$$file" \
574             || exit 1; \
575           fi; \
576         done
577 check-am: all-am
578         $(MAKE) $(AM_MAKEFLAGS) check-local
579 check: check-am
580 all-am: Makefile all-local
581 installdirs:
582 install: install-am
583 install-exec: install-exec-am
584 install-data: install-data-am
585 uninstall: uninstall-am
586
587 install-am: all-am
588         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
589
590 installcheck: installcheck-am
591 install-strip:
592         if test -z '$(STRIP)'; then \
593           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
594             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
595               install; \
596         else \
597           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
598             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
599             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
600         fi
601 mostlyclean-generic:
602
603 clean-generic:
604
605 distclean-generic:
606         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
607         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
608
609 maintainer-clean-generic:
610         @echo "This command is intended for maintainers to use"
611         @echo "it deletes files that may require special tools to rebuild."
612 clean: clean-am
613
614 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
615
616 distclean: distclean-am
617         -rm -f Makefile
618 distclean-am: clean-am distclean-generic distclean-local
619
620 dvi: dvi-am
621
622 dvi-am:
623
624 html: html-am
625
626 html-am:
627
628 info: info-am
629
630 info-am:
631
632 install-data-am: install-data-local
633
634 install-dvi: install-dvi-am
635
636 install-dvi-am:
637
638 install-exec-am:
639
640 install-html: install-html-am
641
642 install-html-am: install-html-local
643
644 install-info: install-info-am
645
646 install-info-am:
647
648 install-man:
649
650 install-pdf: install-pdf-am
651
652 install-pdf-am:
653
654 install-ps: install-ps-am
655
656 install-ps-am:
657
658 installcheck-am:
659
660 maintainer-clean: maintainer-clean-am
661         -rm -f Makefile
662 maintainer-clean-am: distclean-am maintainer-clean-generic
663
664 mostlyclean: mostlyclean-am
665
666 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
667
668 pdf: pdf-am
669
670 pdf-am:
671
672 ps: ps-am
673
674 ps-am:
675
676 uninstall-am:
677
678 .MAKE: check-am install-am install-strip
679
680 .PHONY: all all-am all-local check check-am check-local clean \
681         clean-generic clean-libtool clean-local cscopelist-am ctags-am \
682         distclean distclean-generic distclean-libtool distclean-local \
683         distdir dvi dvi-am html html-am info info-am install \
684         install-am install-data install-data-am install-data-local \
685         install-dvi install-dvi-am install-exec install-exec-am \
686         install-html install-html-am install-html-local install-info \
687         install-info-am install-man install-pdf install-pdf-am \
688         install-ps install-ps-am install-strip installcheck \
689         installcheck-am installdirs maintainer-clean \
690         maintainer-clean-generic mostlyclean mostlyclean-generic \
691         mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
692         uninstall-am
693
694
695 @NEED_JAVA_TRUE@all: java
696
697 # This target enables tests for Scilab
698 check-local: $(top_builddir)/scilab-bin test
699         if test -d $(mydatadir)/tests; then \
700           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
701         fi
702 check-code:
703         if test -f build.xml; then \
704                 $(ANT) checkstyle; \
705         fi
706         if test -x "$(SPLINT)"; then \
707                 $(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); \
708         fi
709 @NEED_JAVA_TRUE@java:
710 # Some configurations needs to export JAVA_HOME in the current env
711 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
712 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
713 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
714 @NEED_JAVA_TRUE@                $(ANT); \
715 @NEED_JAVA_TRUE@        fi
716
717 @NEED_JAVA_TRUE@clean-java:
718 # Some configurations needs to export JAVA_HOME in the current env
719 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
720 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
721 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
722 @NEED_JAVA_TRUE@                $(ANT) clean; \
723 @NEED_JAVA_TRUE@        fi;
724
725 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
726 # We call the target swig-build on the variable SWIG_WRAPPERS
727
728 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
729 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
730 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
731 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
732 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
733 @SWIG_TRUE@                     echo "Swig process of $$file (Java) ..."; \
734 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
735 @SWIG_TRUE@             done; \
736 @SWIG_TRUE@     fi
737
738 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
739 @SWIG_TRUE@     @SWIG_OUTDIR=src/swig/; \
740 @SWIG_TRUE@     if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
741 @SWIG_TRUE@             for file in $(SWIG_SCILAB_WRAPPERS) ; do \
742 @SWIG_TRUE@                     echo "Swig process of $$file (Scilab) ..."; \
743 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_SCILAB)  -outdir $$SWIG_OUTDIR $$file; \
744 @SWIG_TRUE@             done; \
745 @SWIG_TRUE@     fi
746
747 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
748 # We call the target swig-build on the variable SWIG_WRAPPERS
749
750 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
751 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/; \
752 @GIWS_TRUE@     MANDATORY_OPTIONS=--throws-exception-on-error --description-file; \
753 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
754 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
755 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
756 @GIWS_TRUE@                     if test -z "$(GIWS_OPTIONS)"; then \
757 @GIWS_TRUE@                             $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
758 @GIWS_TRUE@                     else \
759 @GIWS_TRUE@                             echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
760 @GIWS_TRUE@                             $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
761 @GIWS_TRUE@                     fi \
762 @GIWS_TRUE@             done; \
763 @GIWS_TRUE@     fi
764
765 @GIWS_TRUE@giws-exception:
766 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
767 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
768 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
769
770 macros:
771         -@( if test ! -x $(top_builddir)/scilab-bin; then \
772                 echo "Error : Cannot build $< : Scilab has not been built"; \
773         else \
774                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
775         fi)
776
777 # Removes the macros
778 clean-macros:
779 # Removes macros (*.bin generated from .sci)
780         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
781                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
782                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
783         done
784
785 test:
786 # More tests could be added here
787         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
788         if test -f build.xml -a $$USEANT -eq 1; then \
789                 $(ANT) test; \
790         fi
791
792 all-local: $(TARGETS_ALL)
793
794 .sci.bin:
795         -@( if test ! -x $(top_builddir)/scilab-bin; then \
796         echo "Error : Cannot build $< : Scilab has not been build"; \
797         else \
798         echo "Creating $@"; \
799         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
800         fi )
801
802 install-html-local:
803
804 install-data-local-local:
805 # Mainly for javasci
806         @if test -d $(srcdir)/javadoc; then \
807                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
808         fi
809 # If the user wants the help sources to be installed
810 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
811 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
812 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
813 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
814 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
815 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
816 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
817 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
818 @INSTALL_HELP_XML_TRUE@           done ; \
819 @INSTALL_HELP_XML_TRUE@         fi; \
820 @INSTALL_HELP_XML_TRUE@  fi; \
821 @INSTALL_HELP_XML_TRUE@ done; \
822 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
823 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
824 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
825 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
826 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
827 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
828 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
829 @INSTALL_HELP_XML_TRUE@           done ; \
830 @INSTALL_HELP_XML_TRUE@         fi; \
831 @INSTALL_HELP_XML_TRUE@ fi
832 install-data-local:
833 # Install the tests
834         @echo "-------- Install tests (if any) --------"; \
835         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
836           if test -d $(srcdir)/$$dir/; then \
837             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
838                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
839                     if test -d "$(srcdir)/$$dir/$$file"; then \
840                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
841                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
842                     else \
843                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
844                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
845                     fi \
846                   done; \
847           fi; \
848         done
849 # Install the help chapter
850         @echo "-------- Install the help chapter (if any) --------"; \
851         for lang in $(HELP_CHAPTERLANG); do \
852                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
853                 if test -f $$HELPFILE; then \
854                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
855                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
856                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
857                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
858                 fi; \
859         done
860 # Install the demos & examples
861         @echo "-------- Install demos & examples (if any) --------"; \
862         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
863           if test -d $(srcdir)/$$dir/; then \
864             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
865                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
866                     if test -d "$(srcdir)/$$dir/$$file"; then \
867                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
868                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
869                     else \
870                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
871                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
872                     fi \
873                   done; \
874           fi; \
875         done
876 # Install the macros
877         @echo "-------- Install macros (if any) --------"; \
878         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
879           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
880                 if test -d $(srcdir)/$$dir/; then \
881                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
882                         if test -n "$(MACROSSPECIALEXT)"; then \
883                                 specialExtDir=""; \
884                                 for specialExt in $(MACROSSPECIALEXT); do \
885                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
886                                 done; \
887                                 FILELIST="$$FILELIST $$specialExtDir"; \
888                         fi; \
889                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
890                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
891                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
892                   done; \
893                 fi; \
894         done
895 # Install java files (.jar)
896         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
897         echo "-------- Install jar files --------"; \
898     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
899           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
900                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
901                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
902           done ; \
903         fi
904
905 ########### CLEAN ###################
906 # Clean help (generated automatically by Scilab)
907 # It used to clean the macro (clean-macros) but this was causing
908 # make clean && make to fail Scilab startup
909 @NEED_JAVA_TRUE@clean-local: clean-java
910 @NEED_JAVA_FALSE@clean-local:
911
912 distclean-local:
913         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
914
915 .PHONY: macros java swig giws
916
917 # Tell versions [3.59,3.63) of GNU make to not export all variables.
918 # Otherwise a system limit (for SysV at least) may be exceeded.
919 .NOEXPORT: