1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2010 - DIGITEO - Allan CORNET
#
# This file must be used under the terms of the CeCILL.
# This source file is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
PARALLEL_CPP_SOURCES =
GATEWAY_CPP_SOURCES = sci_gateway/cpp/sci_parallel_run.cpp
PARALLEL_C_SOURCES =
GATEWAY_C_SOURCES = sci_gateway/c/gw_parallel.c \
sci_gateway/c/sci_parallel_concurrency.c
libsciparallel_la_CFLAGS= $(OPENMP_CFLAGS) \
-I$(top_srcdir)/libs/MALLOC/includes/ \
-I$(srcdir)/includes/ \
-I$(top_srcdir)/modules/core/includes \
-I$(srcdir)/src/cpp/ \
-I$(top_srcdir)/modules/api_scilab/includes \
-I$(top_srcdir)/modules/string/includes
libsciparallel_la_CPPFLAGS= $(OPENMP_CXXFLAGS) \
-I$(top_srcdir)/libs/MALLOC/includes/ \
-I$(srcdir)/includes/ \
-I$(top_srcdir)/modules/core/includes \
-I$(srcdir)/src/cpp/ \
-I$(top_srcdir)/modules/api_scilab/includes \
-I$(top_srcdir)/modules/output_stream/includes \
-I$(top_srcdir)/modules/parameters/includes \
-I$(top_srcdir)/modules/dynamic_link/includes
pkglib_LTLIBRARIES = libsciparallel.la
libsciparallel_la_LDFLAGS = $(OPENMP_LIBS) -version-number $(SCILAB_LIBRARY_VERSION)
if OPENMP
libsciparallel_la_SOURCES = $(PARALLEL_C_SOURCES) $(PARALLEL_CPP_SOURCES) $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
else
libsciparallel_la_SOURCES = src/noparallel/noparallel.h \
src/noparallel/noparallel.c
endif
# For the code check (splint)
CHECK_SRC= $(PARALLEL_C_SOURCES) $(GATEWAY_C_SOURCES)
INCLUDE_FLAGS = $(libsciparallel_la_CFLAGS)
#### Target ######
modulename=parallel
#### parallel : Conf files ####
libsciparallel_la_rootdir = $(mydatadir)
libsciparallel_la_root_DATA = license.txt version.xml
#### parallel : init scripts ####
libsciparallel_la_etcdir = $(mydatadir)/etc
libsciparallel_la_etc_DATA = etc/parallel.quit etc/parallel.start
#### parallel : gateway declaration ####
libsciparallel_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libsciparallel_la_sci_gateway_DATA = sci_gateway/parallel_gateway.xml
#### parallel : include files ####
libsciparallel_la_includedir=$(pkgincludedir)
libsciparallel_la_include_HEADERS =
include $(top_srcdir)/Makefile.incl.am
|