Localization: also localize demos and tests
[scilab.git] / scilab / modules / parallel / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2010 - DIGITEO - Allan CORNET
3 #
4 # Copyright (C) 2012 - 2016 - Scilab Enterprises
5 #
6 # This file is hereby licensed under the terms of the GNU GPL v2.0,
7 # pursuant to article 5.3.4 of the CeCILL v.2.1.
8 # This file was originally licensed under the terms of the CeCILL v2.1,
9 # and continues to be available under such terms.
10 # For more information, see the COPYING file which you should have received
11 # along with this program.
12
13 #PARALLEL_CPP_SOURCES =
14
15 #GATEWAY_CPP_SOURCES =
16 #sci_gateway/cpp/sci_parallel_run.cpp
17
18 #PARALLEL_C_SOURCES =
19
20 libsciparallel_la_CPPFLAGS= \
21     $(OPENMP_CXXFLAGS) \
22     -I$(srcdir)/includes/ \
23     -I$(srcdir)/src/cpp/ \
24     -I$(top_srcdir)/modules/ast/includes/ast/ \
25     -I$(top_srcdir)/modules/ast/includes/exps/ \
26     -I$(top_srcdir)/modules/ast/includes/operations/ \
27     -I$(top_srcdir)/modules/ast/includes/parse/ \
28     -I$(top_srcdir)/modules/ast/includes/symbol/ \
29     -I$(top_srcdir)/modules/ast/includes/system_env/ \
30     -I$(top_srcdir)/modules/ast/includes/types/ \
31     -I$(top_srcdir)/modules/ast/includes/analysis/ \
32     -I$(top_srcdir)/modules/core/includes \
33     -I$(top_srcdir)/modules/api_scilab/includes \
34     -I$(top_srcdir)/modules/localization/includes \
35     -I$(top_srcdir)/modules/output_stream/includes \
36     -I$(top_srcdir)/modules/parameters/includes \
37     -I$(top_srcdir)/modules/dynamic_link/includes
38
39 pkglib_LTLIBRARIES = libsciparallel.la
40
41 libsciparallel_la_LDFLAGS = $(OPENMP_LIBS) -version-number $(SCILAB_LIBRARY_VERSION)
42
43
44 if OPENMP
45
46 libsciparallel_la_SOURCES = $(GATEWAY_CPP_SOURCES)
47
48 else
49 libsciparallel_la_SOURCES = src/noparallel/noparallel.h \
50 src/noparallel/noparallel.c
51 endif
52
53 # For the code check (splint)
54 CHECK_SRC= $(PARALLEL_C_SOURCES)
55 INCLUDE_FLAGS = $(libsciparallel_la_CFLAGS)
56
57 #### Target ######
58 modulename=parallel
59
60 #### parallel : Conf files ####
61 libsciparallel_la_rootdir = $(mydatadir)
62 libsciparallel_la_root_DATA = license.txt
63
64
65 #### parallel : init scripts ####
66 libsciparallel_la_etcdir = $(mydatadir)/etc
67 libsciparallel_la_etc_DATA = \
68     etc/parallel.quit \
69     etc/parallel.start
70
71 #### parallel : gateway declaration ####
72 libsciparallel_la_sci_gatewaydir = $(mydatadir)/sci_gateway
73 libsciparallel_la_sci_gateway_DATA = sci_gateway/parallel_gateway.xml
74
75 #### parallel : include files ####
76 libsciparallel_la_includedir=$(pkgincludedir)
77 libsciparallel_la_include_HEADERS =
78
79 include $(top_srcdir)/Makefile.incl.am
80