1 # Makefile.in generated by automake 1.11.3 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
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.
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
18 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
19 # Copyright (C) 2011 - DIGITEO - Antoine ELIAS
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-en.txt
27 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
28 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
29 # Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
31 # This file must be used under the terms of the CeCILL.
32 # This source file is licensed as described in the file COPYING, which
33 # you should have received as part of this distribution. The terms
34 # are also available at
35 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
39 ### Makefile included stuff
40 ### Target, variable, suffixes which are supposed to be usefull in every makefile.am
45 pkgdatadir = $(datadir)/@PACKAGE@
46 pkgincludedir = $(includedir)/@PACKAGE@
47 pkglibdir = $(libdir)/@PACKAGE@
48 pkglibexecdir = $(libexecdir)/@PACKAGE@
49 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
50 install_sh_DATA = $(install_sh) -c -m 644
51 install_sh_PROGRAM = $(install_sh) -c
52 install_sh_SCRIPT = $(install_sh) -c
53 INSTALL_HEADER = $(INSTALL_DATA)
54 transform = $(program_transform_name)
61 build_triplet = @build@
63 DIST_COMMON = $(libscithreads_la_include_HEADERS) \
64 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
65 $(top_srcdir)/Makefile.incl.am
66 @NEED_JAVA_TRUE@am__append_1 = java
67 subdir = modules/threads
68 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
69 am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
70 $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/docbook.m4 \
71 $(top_srcdir)/m4/eigen.m4 $(top_srcdir)/m4/fftw.m4 \
72 $(top_srcdir)/m4/fortran.m4 $(top_srcdir)/m4/giws.m4 \
73 $(top_srcdir)/m4/hdf5.m4 $(top_srcdir)/m4/intel_compiler.m4 \
74 $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
75 $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
76 $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
77 $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
78 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
79 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
80 $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pcre.m4 \
81 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/relocatable.m4 \
82 $(top_srcdir)/m4/swig.m4 $(top_srcdir)/m4/symlinks.m4 \
83 $(top_srcdir)/m4/tcltk.m4 $(top_srcdir)/m4/umfpack.m4 \
84 $(top_srcdir)/configure.ac
85 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
87 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
88 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
90 CONFIG_CLEAN_VPATH_FILES =
91 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
92 am__vpath_adj = case $$p in \
93 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
96 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
98 am__nobase_strip_setup = \
99 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
101 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
102 am__nobase_list = $(am__nobase_strip_setup); \
103 for p in $$list; do echo "$$p $$p"; done | \
104 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
105 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
106 if (++n[$$2] == $(am__install_max)) \
107 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
108 END { for (dir in files) print dir, files[dir] }'
110 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
111 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
112 am__uninstall_files_from_dir = { \
114 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
115 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
116 $(am__cd) "$$dir" && rm -f $$files; }; \
118 am__installdirs = "$(DESTDIR)$(pkglibdir)" \
119 "$(DESTDIR)$(libscithreads_la_includedir)"
120 LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
121 libscithreads_la_LIBADD =
122 am__objects_1 = libscithreads_la-Thread_Wrapper.lo
123 am_libscithreads_la_OBJECTS = $(am__objects_1)
124 libscithreads_la_OBJECTS = $(am_libscithreads_la_OBJECTS)
125 libscithreads_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
126 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
127 $(CXXFLAGS) $(libscithreads_la_LDFLAGS) $(LDFLAGS) -o $@
128 @MAINTAINER_MODE_FALSE@am_libscithreads_la_rpath =
129 @MAINTAINER_MODE_TRUE@am_libscithreads_la_rpath = -rpath $(pkglibdir)
130 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
131 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
132 am__depfiles_maybe = depfiles
134 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
135 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
136 LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
137 --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
138 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
140 CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
141 --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
143 SOURCES = $(libscithreads_la_SOURCES)
144 DIST_SOURCES = $(libscithreads_la_SOURCES)
145 HEADERS = $(libscithreads_la_include_HEADERS)
148 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
150 ALL_LINGUAS = @ALL_LINGUAS@
151 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
156 ARPACK_LIBS = @ARPACK_LIBS@
158 AUTOCONF = @AUTOCONF@
159 AUTOHEADER = @AUTOHEADER@
160 AUTOMAKE = @AUTOMAKE@
161 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
164 BLAS_LIBS = @BLAS_LIBS@
167 CCDEPMODE = @CCDEPMODE@
169 CHECKSTYLE = @CHECKSTYLE@
170 COBERTURA = @COBERTURA@
171 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
172 COMMONS_IO = @COMMONS_IO@
173 COMMONS_LOGGING = @COMMONS_LOGGING@
175 CPPFLAGS = @CPPFLAGS@
178 CXXDEPMODE = @CXXDEPMODE@
179 CXXFLAGS = @CXXFLAGS@
180 CYGPATH_W = @CYGPATH_W@
182 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
184 DOCBOOK_ROOT = @DOCBOOK_ROOT@
185 DSYMUTIL = @DSYMUTIL@
191 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
195 FFTW3_LIB = @FFTW3_LIB@
196 FFTW_ENABLE = @FFTW_ENABLE@
198 FLEXDOCK = @FLEXDOCK@
202 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
203 GIWS_BIN = @GIWS_BIN@
204 GLUEGEN2_RT = @GLUEGEN2_RT@
206 GMSGFMT_015 = @GMSGFMT_015@
207 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
209 GUI_ENABLE = @GUI_ENABLE@
210 HDF5_CFLAGS = @HDF5_CFLAGS@
211 HDF5_LIBS = @HDF5_LIBS@
212 HELP_ENABLE = @HELP_ENABLE@
214 INSTALL_DATA = @INSTALL_DATA@
215 INSTALL_PROGRAM = @INSTALL_PROGRAM@
216 INSTALL_SCRIPT = @INSTALL_SCRIPT@
217 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
218 INTLLIBS = @INTLLIBS@
219 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
223 JAVAC_DEBUG = @JAVAC_DEBUG@
226 JAVASCI_ENABLE = @JAVASCI_ENABLE@
227 JAVA_ENABLE = @JAVA_ENABLE@
229 JAVA_HOME = @JAVA_HOME@
230 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
231 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
233 JEUCLID_CORE = @JEUCLID_CORE@
237 JLATEXMATH = @JLATEXMATH@
238 JLATEXMATH_FOP = @JLATEXMATH_FOP@
240 JROSETTA_API = @JROSETTA_API@
241 JROSETTA_ENGINE = @JROSETTA_ENGINE@
243 LAPACK_LIBS = @LAPACK_LIBS@
249 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
250 LIBICONV = @LIBICONV@
258 LOGGING_LEVEL = @LOGGING_LEVEL@
260 LTLIBICONV = @LTLIBICONV@
261 LTLIBINTL = @LTLIBINTL@
262 LTLIBOBJS = @LTLIBOBJS@
264 MAKEINFO = @MAKEINFO@
265 MATIO_CFLAGS = @MATIO_CFLAGS@
266 MATIO_ENABLE = @MATIO_ENABLE@
267 MATIO_LIBS = @MATIO_LIBS@
271 MSGFMT_015 = @MSGFMT_015@
272 MSGMERGE = @MSGMERGE@
278 OCAMLDEP = @OCAMLDEP@
279 OCAMLLEX = @OCAMLLEX@
280 OCAMLOPT = @OCAMLOPT@
281 OCAMLYACC = @OCAMLYACC@
282 OPENMP_CFLAGS = @OPENMP_CFLAGS@
283 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
284 OPENMP_ENABLE = @OPENMP_ENABLE@
285 OPENMP_LIBS = @OPENMP_LIBS@
289 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
290 PACKAGE_NAME = @PACKAGE_NAME@
291 PACKAGE_STRING = @PACKAGE_STRING@
292 PACKAGE_TARNAME = @PACKAGE_TARNAME@
293 PACKAGE_URL = @PACKAGE_URL@
294 PACKAGE_VERSION = @PACKAGE_VERSION@
295 PATH_SEPARATOR = @PATH_SEPARATOR@
296 PCRE_CFLAGS = @PCRE_CFLAGS@
297 PCRE_CONFIG = @PCRE_CONFIG@
298 PCRE_LIBS = @PCRE_LIBS@
299 PCRE_VERSION = @PCRE_VERSION@
300 PKG_CONFIG = @PKG_CONFIG@
305 RELOCATABLE = @RELOCATABLE@
308 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
309 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
310 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
311 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
312 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
313 SCIRENDERER = @SCIRENDERER@
314 SCI_CFLAGS = @SCI_CFLAGS@
315 SCI_CXXFLAGS = @SCI_CXXFLAGS@
316 SCI_FFLAGS = @SCI_FFLAGS@
317 SCI_LDFLAGS = @SCI_LDFLAGS@
319 SET_MAKE = @SET_MAKE@
320 SET_RELOCATABLE = @SET_RELOCATABLE@
325 SWIG_BIN = @SWIG_BIN@
326 SWIG_JAVA = @SWIG_JAVA@
327 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
328 TCLTK_LIBS = @TCLTK_LIBS@
329 TCL_INC_PATH = @TCL_INC_PATH@
330 TK_INC_PATH = @TK_INC_PATH@
331 UMFPACK_ENABLE = @UMFPACK_ENABLE@
332 UMFPACK_LIB = @UMFPACK_LIB@
335 WITH_OCAML = @WITH_OCAML@
336 WITH_TKSCI = @WITH_TKSCI@
337 XCOS_ENABLE = @XCOS_ENABLE@
338 XGETTEXT = @XGETTEXT@
339 XGETTEXT_015 = @XGETTEXT_015@
340 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
342 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
343 XML_APIS_EXT = @XML_APIS_EXT@
344 XML_CONFIG = @XML_CONFIG@
345 XML_FLAGS = @XML_FLAGS@
346 XML_LIBS = @XML_LIBS@
347 XML_VERSION = @XML_VERSION@
348 X_CFLAGS = @X_CFLAGS@
349 X_EXTRA_LIBS = @X_EXTRA_LIBS@
351 X_PRE_LIBS = @X_PRE_LIBS@
354 abs_builddir = @abs_builddir@
355 abs_srcdir = @abs_srcdir@
356 abs_top_builddir = @abs_top_builddir@
357 abs_top_srcdir = @abs_top_srcdir@
358 ac_ct_CC = @ac_ct_CC@
359 ac_ct_CXX = @ac_ct_CXX@
360 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
361 ac_ct_F77 = @ac_ct_F77@
362 am__include = @am__include@
363 am__leading_dot = @am__leading_dot@
364 am__quote = @am__quote@
366 am__untar = @am__untar@
369 build_alias = @build_alias@
370 build_cpu = @build_cpu@
371 build_os = @build_os@
372 build_vendor = @build_vendor@
373 builddir = @builddir@
374 cxx_present = @cxx_present@
376 datarootdir = @datarootdir@
379 exec_prefix = @exec_prefix@
381 host_alias = @host_alias@
382 host_cpu = @host_cpu@
384 host_vendor = @host_vendor@
386 includedir = @includedir@
388 install_sh = @install_sh@
390 libexecdir = @libexecdir@
391 localedir = @localedir@
392 localstatedir = @localstatedir@
395 oldincludedir = @oldincludedir@
398 program_transform_name = @program_transform_name@
401 sharedstatedir = @sharedstatedir@
403 sysconfdir = @sysconfdir@
404 target_alias = @target_alias@
405 top_build_prefix = @top_build_prefix@
406 top_builddir = @top_builddir@
407 top_srcdir = @top_srcdir@
408 yacc_present = @yacc_present@
409 THREADS_CPP_SOURCES = \
410 src/cpp/Thread_Wrapper.cpp
412 libscithreads_la_CPPFLAGS = \
413 -I$(srcdir)/includes/
415 @MAINTAINER_MODE_TRUE@pkglib_LTLIBRARIES = libscithreads.la
416 @MAINTAINER_MODE_FALSE@noinst_LTLIBRARIES = libscithreads.la
417 libscithreads_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) -lpthread
418 libscithreads_la_SOURCES = $(THREADS_CPP_SOURCES)
420 # For the code check (splint)
421 CHECK_SRC = $(THREADS_CPP_SOURCES)
422 INCLUDE_FLAGS = $(libscithreads_la_CPPFLAGS)
424 # Many stuff depends on this one ... commented
425 # libscithreads_la_LIBADD = libscithreads.la
430 #### threads : Conf files ####
431 libscithreads_la_rootdir = $(mydatadir)
433 #### threads : init scripts ####
434 # libscithreads_la_etcdir = $(mydatadir)/etc
435 # libscithreads_la_etc_DATA = etc/threads.quit etc/threads.start
437 #### threads : gateway declaration ####
438 # libscithreads_la_sci_gatewaydir = $(mydatadir)/sci_gateway
439 # libscithreads_la_sci_gateway_DATA = sci_gateway/threads_gateway.xml
441 #### threads : include files ####
442 libscithreads_la_includedir = $(pkgincludedir)
443 libscithreads_la_include_HEADERS = \
444 includes/Thread_Wrapper.h
447 # Where all the Scilab stuff is installed (macros, help, ...)
448 mydatadir = $(pkgdatadir)/modules/$(modulename)
450 # Set AM_* SCI detected settings
451 AM_CPPFLAGS = $(SCI_CPPFLAGS)
452 AM_CFLAGS = $(SCI_CFLAGS)
453 AM_CXXFLAGS = $(SCI_CXXFLAGS)
454 # append includes to AM_FFLAGS to manage fortran includes
455 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
457 # Tag shared libraries with the Scilab version
458 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
461 SPLINT_OPTIONS = -weak -booltype BOOL
463 ########################### JAVA ######################################
464 #### We are delegating java compilation to ant... Thanks to that
465 #### the procedure will be the same with Microsoft Windows (C)
467 #######################################################################
468 TARGETS_ALL = $(am__append_1)
470 ################ MACROS ######################
471 # Rule to build a macro
472 # NOT USED AT THE MOMENT
475 ########### INSTALL DOCUMENTATION ###################
477 # Install documentation files into the right target
478 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
479 # automake needs the html files to be present which is not the case when
480 # we are building Scilab
482 # Where it should be installed
483 pkgdocdir = $(mydatadir)
485 # What is the mask of the help source
488 # What is the mask of the MathML sources
491 ########### INSTALL DATA ###################
492 # Install macros, help & demos
493 # Where it should be installed
494 pkgmacrosdir = $(mydatadir)
495 # Which directory we process
497 # Mask of the Scilab sources macros
499 # Mask of the Scilab executable sources macros
500 MACROBUILDMASK = *.sce
501 # Mask of the Scilab compiled macros
503 # List of the standard directory for tests
504 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
505 # Where the demos should be installed
506 pkgdemosdir = $(mydatadir)
507 # List of the standard directory for demos
509 # List of the standard directory for examples
510 EXAMPLES_DIR = examples
511 # Where to export JAVA archives (.jar)
516 HELP_CHAPTERDIR = help/
517 HELP_CHAPTERFILE = addchapter.sce
518 HELP_CHAPTERLANG = en_US fr_FR pt_BR
522 .SUFFIXES: .sci .bin .cpp .lo .o .obj
523 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
525 case '$(am__configure_deps)' in \
527 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
528 && { if test -f $@; then exit 0; else break; fi; }; \
532 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/threads/Makefile'; \
533 $(am__cd) $(top_srcdir) && \
534 $(AUTOMAKE) --foreign modules/threads/Makefile
536 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
539 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
541 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
542 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
544 $(top_srcdir)/Makefile.incl.am:
546 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
547 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
549 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
550 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
551 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
552 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
553 $(am__aclocal_m4_deps):
555 clean-noinstLTLIBRARIES:
556 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
557 @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
558 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
559 test "$$dir" != "$$p" || dir=.; \
560 echo "rm -f \"$${dir}/so_locations\""; \
561 rm -f "$${dir}/so_locations"; \
563 install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
565 test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
566 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
567 list2=; for p in $$list; do \
568 if test -f $$p; then \
569 list2="$$list2 $$p"; \
572 test -z "$$list2" || { \
573 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
574 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
577 uninstall-pkglibLTLIBRARIES:
579 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
580 for p in $$list; do \
582 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
583 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
586 clean-pkglibLTLIBRARIES:
587 -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
588 @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
589 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
590 test "$$dir" != "$$p" || dir=.; \
591 echo "rm -f \"$${dir}/so_locations\""; \
592 rm -f "$${dir}/so_locations"; \
594 libscithreads.la: $(libscithreads_la_OBJECTS) $(libscithreads_la_DEPENDENCIES) $(EXTRA_libscithreads_la_DEPENDENCIES)
595 $(libscithreads_la_LINK) $(am_libscithreads_la_rpath) $(libscithreads_la_OBJECTS) $(libscithreads_la_LIBADD) $(LIBS)
603 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscithreads_la-Thread_Wrapper.Plo@am__quote@
606 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
607 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
608 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
609 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
610 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
613 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
614 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
615 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
616 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
617 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
620 @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
621 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
622 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
623 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
624 @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
626 libscithreads_la-Thread_Wrapper.lo: src/cpp/Thread_Wrapper.cpp
627 @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscithreads_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscithreads_la-Thread_Wrapper.lo -MD -MP -MF $(DEPDIR)/libscithreads_la-Thread_Wrapper.Tpo -c -o libscithreads_la-Thread_Wrapper.lo `test -f 'src/cpp/Thread_Wrapper.cpp' || echo '$(srcdir)/'`src/cpp/Thread_Wrapper.cpp
628 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libscithreads_la-Thread_Wrapper.Tpo $(DEPDIR)/libscithreads_la-Thread_Wrapper.Plo
629 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/cpp/Thread_Wrapper.cpp' object='libscithreads_la-Thread_Wrapper.lo' libtool=yes @AMDEPBACKSLASH@
630 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
631 @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscithreads_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscithreads_la-Thread_Wrapper.lo `test -f 'src/cpp/Thread_Wrapper.cpp' || echo '$(srcdir)/'`src/cpp/Thread_Wrapper.cpp
638 install-libscithreads_la_includeHEADERS: $(libscithreads_la_include_HEADERS)
640 test -z "$(libscithreads_la_includedir)" || $(MKDIR_P) "$(DESTDIR)$(libscithreads_la_includedir)"
641 @list='$(libscithreads_la_include_HEADERS)'; test -n "$(libscithreads_la_includedir)" || list=; \
642 for p in $$list; do \
643 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
645 done | $(am__base_list) | \
646 while read files; do \
647 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscithreads_la_includedir)'"; \
648 $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscithreads_la_includedir)" || exit $$?; \
651 uninstall-libscithreads_la_includeHEADERS:
653 @list='$(libscithreads_la_include_HEADERS)'; test -n "$(libscithreads_la_includedir)" || list=; \
654 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
655 dir='$(DESTDIR)$(libscithreads_la_includedir)'; $(am__uninstall_files_from_dir)
657 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
658 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
659 unique=`for i in $$list; do \
660 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
662 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
663 END { if (nonempty) { for (i in files) print i; }; }'`; \
667 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
668 $(TAGS_FILES) $(LISP)
671 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
672 unique=`for i in $$list; do \
673 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
675 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
676 END { if (nonempty) { for (i in files) print i; }; }'`; \
678 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
679 test -n "$$unique" || unique=$$empty_fix; \
680 if test $$# -gt 0; then \
681 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
684 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
689 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
690 $(TAGS_FILES) $(LISP)
691 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
692 unique=`for i in $$list; do \
693 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
695 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
696 END { if (nonempty) { for (i in files) print i; }; }'`; \
697 test -z "$(CTAGS_ARGS)$$unique" \
698 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
702 here=`$(am__cd) $(top_builddir) && pwd` \
703 && $(am__cd) $(top_srcdir) \
704 && gtags -i $(GTAGS_ARGS) "$$here"
707 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
709 distdir: $(DISTFILES)
710 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
711 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
712 list='$(DISTFILES)'; \
713 dist_files=`for file in $$list; do echo $$file; done | \
714 sed -e "s|^$$srcdirstrip/||;t" \
715 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
716 case $$dist_files in \
717 */*) $(MKDIR_P) `echo "$$dist_files" | \
718 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
721 for file in $$dist_files; do \
722 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
723 if test -d $$d/$$file; then \
724 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
725 if test -d "$(distdir)/$$file"; then \
726 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
728 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
729 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
730 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
732 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
734 test -f "$(distdir)/$$file" \
735 || cp -p $$d/$$file "$(distdir)/$$file" \
740 $(MAKE) $(AM_MAKEFLAGS) check-local
742 all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
744 for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscithreads_la_includedir)"; do \
745 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
748 install-exec: install-exec-am
749 install-data: install-data-am
750 uninstall: uninstall-am
753 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
755 installcheck: installcheck-am
757 if test -z '$(STRIP)'; then \
758 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
759 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
762 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
763 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
764 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
771 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
772 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
774 maintainer-clean-generic:
775 @echo "This command is intended for maintainers to use"
776 @echo "it deletes files that may require special tools to rebuild."
779 clean-am: clean-generic clean-libtool clean-local \
780 clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am
782 distclean: distclean-am
785 distclean-am: clean-am distclean-compile distclean-generic \
786 distclean-local distclean-tags
800 install-data-am: install-data-local \
801 install-libscithreads_la_includeHEADERS
803 install-dvi: install-dvi-am
807 install-exec-am: install-pkglibLTLIBRARIES
809 install-html: install-html-am
811 install-html-am: install-html-local
813 install-info: install-info-am
819 install-pdf: install-pdf-am
823 install-ps: install-ps-am
829 maintainer-clean: maintainer-clean-am
832 maintainer-clean-am: distclean-am maintainer-clean-generic
834 mostlyclean: mostlyclean-am
836 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
847 uninstall-am: uninstall-libscithreads_la_includeHEADERS \
848 uninstall-pkglibLTLIBRARIES
850 .MAKE: check-am install-am install-strip
852 .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
853 clean clean-generic clean-libtool clean-local \
854 clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES ctags \
855 distclean distclean-compile distclean-generic \
856 distclean-libtool distclean-local distclean-tags distdir dvi \
857 dvi-am html html-am info info-am install install-am \
858 install-data install-data-am install-data-local install-dvi \
859 install-dvi-am install-exec install-exec-am install-html \
860 install-html-am install-html-local install-info \
861 install-info-am install-libscithreads_la_includeHEADERS \
862 install-man install-pdf install-pdf-am \
863 install-pkglibLTLIBRARIES install-ps install-ps-am \
864 install-strip installcheck installcheck-am installdirs \
865 maintainer-clean maintainer-clean-generic mostlyclean \
866 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
867 pdf pdf-am ps ps-am tags uninstall uninstall-am \
868 uninstall-libscithreads_la_includeHEADERS \
869 uninstall-pkglibLTLIBRARIES
872 # This target enables tests for Scilab
873 check-local: $(top_builddir)/scilab-bin test
874 if test -d $(mydatadir)/tests; then \
875 @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
878 if test -f build.xml; then \
881 if test -x "$(SPLINT)"; then \
882 $(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); \
884 @NEED_JAVA_TRUE@java:
885 # Some configurations needs to export JAVA_HOME in the current env
886 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
887 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
888 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
889 @NEED_JAVA_TRUE@ $(ANT); \
892 @NEED_JAVA_TRUE@clean-java:
893 # Some configurations needs to export JAVA_HOME in the current env
894 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
895 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
896 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
897 @NEED_JAVA_TRUE@ $(ANT) clean; \
900 # If the user request for the SWIG generation of the wrappers Java => C/C++
901 # We call the target swig-build on the variable SWIG_WRAPPERS
903 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
904 @SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
905 @SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
906 @SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
907 @SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
908 @SWIG_TRUE@ echo "Swig process of $$file ..."; \
909 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
913 # If the user request for the SWIG generation of the wrappers Java => C/C++
914 # We call the target swig-build on the variable SWIG_WRAPPERS
916 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
917 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
918 @GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
919 @GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
920 @GIWS_TRUE@ echo "GIWS process of $$file ..."; \
921 @GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
925 @GIWS_TRUE@giws-exception:
926 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
927 @GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
928 @GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
931 -@( if test ! -x $(top_builddir)/scilab-bin; then \
932 echo "Error : Cannot build $< : Scilab has not been built"; \
934 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
939 # Removes macros (*.bin generated from .sci)
940 @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
941 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
942 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
946 # More tests could be added here
947 @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
948 if test -f build.xml -a $$USEANT -eq 1; then \
952 all-local: $(TARGETS_ALL)
955 -@( if test ! -x $(top_builddir)/scilab-bin; then \
956 echo "Error : Cannot build $< : Scilab has not been build"; \
958 echo "Creating $@"; \
959 $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
964 install-data-local-local:
966 @if test -d $(srcdir)/javadoc; then \
967 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
969 # If the user wants the help sources to be installed
970 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
971 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
972 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
973 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
974 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
975 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
976 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
977 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
978 @INSTALL_HELP_XML_TRUE@ done ; \
979 @INSTALL_HELP_XML_TRUE@ fi; \
980 @INSTALL_HELP_XML_TRUE@ fi; \
981 @INSTALL_HELP_XML_TRUE@ done; \
982 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
983 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
984 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
985 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
986 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
987 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
988 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
989 @INSTALL_HELP_XML_TRUE@ done ; \
990 @INSTALL_HELP_XML_TRUE@ fi; \
991 @INSTALL_HELP_XML_TRUE@ fi
994 @echo "-------- Install tests (if any) --------"; \
995 for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
996 if test -d $(srcdir)/$$dir/; then \
997 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
998 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
999 if test -d "$(srcdir)/$$dir/$$file"; then \
1000 echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
1001 $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
1003 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1004 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1009 # Install the help chapter
1010 @echo "-------- Install the help chapter (if any) --------"; \
1011 for lang in $(HELP_CHAPTERLANG); do \
1012 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
1013 if test -f $$HELPFILE; then \
1014 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1015 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1016 echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1017 $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1020 # Install the demos & examples
1021 @echo "-------- Install demos & examples (if any) --------"; \
1022 for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
1023 if test -d $(srcdir)/$$dir/; then \
1024 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1025 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1026 if test -d "$(srcdir)/$$dir/$$file"; then \
1027 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1028 $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1030 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1031 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1036 # Install the macros
1037 @echo "-------- Install macros (if any) --------"; \
1038 for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1039 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1040 if test -d $(srcdir)/$$dir/; then \
1041 FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1042 if test -n "$(MACROSSPECIALEXT)"; then \
1044 for specialExt in $(MACROSSPECIALEXT); do \
1045 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1047 FILELIST="$$FILELIST $$specialExtDir"; \
1049 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1050 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1051 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1055 # Install java files (.jar)
1056 @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1057 echo "-------- Install jar files --------"; \
1058 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1059 for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1060 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1061 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1065 ########### CLEAN ###################
1066 # Clean help (generated automatically by Scilab)
1067 # It used to clean the macro (clean-macros) but this was causing
1068 # make clean && make to fail Scilab startup
1069 @NEED_JAVA_TRUE@clean-local: clean-java
1070 @NEED_JAVA_FALSE@clean-local:
1073 rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1075 .PHONY: macros java swig giws
1077 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1078 # Otherwise a system limit (for SysV at least) may be exceeded.