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